PHP Coding School

                          

                   

Note: The archives category content is an automatically generated focus channel and does not neccessarily reflect the opinions of this blog. No responsibility is taken for the external links presented here, follow at your own discretion.
The archives content is never scraped from sites - but an abstract obtained from search engines.

Category: 'archives'

php code [2008-08-27 17:37:13]

Thursday, August 28th, 2008


HTTP State Management with Cookies


Cookies can tell you all sorts of interesting things about your visitors. This article explains what they are how they re structured why they re useful and how to implement them on your web site. Code samples are included.


PHP Help, PHP Code - RSS Feeds - http://www.codewalkers.com


65 Most Needed PHP Scripts


By admin(admin)

Simply include the script using a PHP include code (included) and you're on you way fast and easy. The script changes which advertisement will be viewed next making sure that all your adverts get equal viewing (does NOT show at random


Script Plazza - http://scriptplazza.blogspot.com/




.

php tutorial [2008-08-27 16:08:26]

Thursday, August 28th, 2008


new PHP Tutorial site - feedback welcomed!


By example@example.com (solarisedesign)

I've recently finished work on a PHP tutorial site, and I'm just looking for any feedback people might have, or constructive criticism, especially relating to usability and first impressions The Rough Guide to PHP Cheers!


DesignersTalk - http://www.designerstalk.com/forums




.

php code [2008-08-27 13:58:37]

Wednesday, August 27th, 2008


AWStats Totals Code Execution and Cross Ste Scripting

FrSIRT - Montpellier,France
function when processing the "sort" parameter, which could be exploited by attackers to execute arbitrary PHP code with the privileges of the web server.
See all stories on this topic




.

php code [2008-08-27 04:57:59]

Wednesday, August 27th, 2008


Javascript Validation of an Attribute Entry


By gdippold

Later this script will be set as a string value called myscript in PHP and evaluated. Javascript Validation Code. JavaScript Validation Code. PHP code in Workflow. PHP code in Workflow. 4. Next we set up our workflow and choose our


Netweaver Identity Manager Weblog - http://sgciam.wordpress.com




.

php code [2008-08-26 19:39:27]

Wednesday, August 27th, 2008


Add PHP Code To Wordpress Pages With The Exec-PHP Plugin


By soggy(Saints Sideline)

There will be times when you may want to include PHP code to exceute inside a Wordpress post or page and now it is very easy to do with the Exec-PHP plugin. Whether you are adding other affiliate program products or just want to execute


Build A Niche Store Blog - http://buildanichestoreblog.blogspot.com/




.

php code [2008-08-26 16:57:12]

Wednesday, August 27th, 2008


Connecting two mysql tables in PHP script in PHP


By neeno

I need a line of MySQl code wich will somehow bound the users who signed up to that specific event they clicked. I'm really a begginer, i wrote all this alone with a help of this book i bought and i kinda got stuck at this point.


New Posts at Dream.In.Code - http://www.dreamincode.net/forums


[MU][RS] [CLOCKUP team. LILAC] Try Stars [HCG]


By zero11187

Pass:. PHP Code:. I7zMV2. Pass:. PHP Code:. I7zMV2. File size : 48mb Total Images : 372 images JPG Link : Megaupload - Rapidshare Pass:. PHP Code:. I7zMV2.


HongFire Anime Network - http://www.hongfire.com/forum




.

php tutorial [2008-08-26 14:41:56]

Tuesday, August 26th, 2008


Free PHP and MySQL Tutorial Ebook


By M. faraz akhter(M. faraz akhter)

>From this ebook we will learn about basic PHP and MySQL programming language. It is a tutorial ebook. You can easly follow the lessons. Just click here to download the free PHP and MySQL tutorial ebook.


BEST FREE EBOOKS - http://excellentebooks.blogspot.com/


How to remove empty values from an array (PHP)


This short php tutorial shows you how to use a function that removes empty values from an array.


Digg / Technology / upcoming - http://digg.com/view/technology




.

php tutorial [2008-08-26 04:37:44]

Tuesday, August 26th, 2008

.

php code [2008-08-26 03:27:51]

Tuesday, August 26th, 2008


[PDF Files]


By JustinSmall

Alright, creating PDF files on the fly :) I ran into a little problem… PHP Code:. Fatal error: Class 'PDFlib' not found in /home/icandyde/public_html/pdftest.php. My code is:. PHP Code:. <?php $pdf = pdf_new();


Web Hosting Talk - Programming… - http://www.webhostingtalk.com




.

php code [2008-08-25 11:40:29]

Monday, August 25th, 2008


Re: Javascript libs compliance degrading?


By Chris Chabot

In other words, I'm having a bit of a rough time testing stuff while trying to code up a json-rpc interface in php.. if everything is 'red', it's a good bit harder to verify, and i simply don't have the time right now to write my own


shindig-dev@incubator.apache.org… - http://mail-archives.apache.org/mod_mbox/incubator-shindig-dev/


How to protect your php applications for free ?


By Gabi Solomon

If you did you might have thought: How will i protect my code ? Because the php code is visible and can be distributed really easy, once it has been downloaded once. Well there are solutions to do this, but most of them are not free,


GS Design - http://www.gsdesign.ro/blog




.

php tutorial [2008-08-25 10:32:09]

Monday, August 25th, 2008

The world's most popular open source database (MySQL site) PHP Tutorial (PHP Tutorials)


Webdetector Webmaster Forums… - http://www.webdetector.co.uk/forum


animatedgifedit


By animatedgifedit(animatedgifedit)

http://www.gwt-ext.com/wiki/index.php/Tutorial:Introduction_to_GWT-Ext_2.0 a href="http://www.eecho.info/redirect/?url= […] Pattern Modifiers RE PHP 2008-07-24 17:57:02 The current possible PCRE modifiers are listed below.


animatedgifedit - http://animatedgifedit.livejournal.com/


apachephp


By apachephp(apachephp)

http://www.gwt-ext.com/wiki/index.php/Tutorial:Introduction_to_GWT-Ext_2.0 a href="http://www.eecho.info/redirect/?url= […] XML Parser PHP 2008-07-26 04:35:07 XML (eXtensible Markup Language) is a data format for structured document


apachephp - http://apachephp.livejournal.com/




.

php code [2008-08-25 09:04:20]

Monday, August 25th, 2008


World of Warcraft Armory xml Grabber with cURL


By mortisimus

Ok, I ran across this a little while ago and since I spent a lot of time looking for this, I thought I would share this with all you guys here that want it. PHP Code:. class armory { const BROWSER="Mozilla/5.0 (X11; U; Linux i686;


TalkPHP - http://www.talkphp.com


About PHP


By platter007

PHP is an acronym of hypertext preprocessor. It is a server side language through which we can make a dynamic web page by embedding PHP code into HTML. To run PHP pages you need to have following installation on your system/machine.


DaniWeb IT Discussion Community - http://www.daniweb.com/forums




.

php code [2008-08-25 02:49:33]

Monday, August 25th, 2008


Fix: Sub Categories Total Count


By cmstheme

Description: A fix to get the correct total number of subcategories in each parent category. Pligg Version Affected: Beta 9.8.2, 9.9.0 and 9.9.5 Open /libs/dbtree.php, go to LINE 170 and find:. PHP Code:


Pligg Forum - http://forums.pligg.com




.

php code [2008-08-24 23:45:39]

Monday, August 25th, 2008


Atahualpa 2.2 WordPress Theme released


By admin

Cleaned up the code considerably. You should now be able to edit the CSS o your own. The PHP code got a bit more complicated because of the localization though. Localization not finished yet but should be in the next version.


Wordpress Themes - Free WP Bytes For All - http://wordpress.bytesforall.com


Simple model association did not work!


PHP Code. <?php class AuthorsController extends AppController { var $name = 'Authors'; function index() { $this->Author->recursive = 1; $authors = $this->Author->find('all'); $this->set('authors', $authors);


The UnOfficial CakePHP Forum - http://www.cakephpforum.net




.

php code [2008-08-24 14:02:23]

Sunday, August 24th, 2008


Building Template and Stuck… Help?


By oscargodson

To make it easy for people to add plugins to this application they can add some basic nodes to this xml sheet and the form will create a new checkbox option on the deploy_form.php file. Here is what code I have for the form:. PHP Code:


TalkPHP - http://www.talkphp.com


Totally useless PHP code written in beer


But this time when I awoke I sat down and wrote some PHP code that is total gibberish, does not produce any errors and seems to be written in beer language. &lt;?phpclass&nbsp;Foo{&nbsp;&nbsp;private&nbsp;$_stock&nbsp;=&nbsp;null;&nbsp


Hiveminds Magazine - for web… - http://www.hiveminds.co.uk




.

php code [2008-08-24 07:13:37]

Sunday, August 24th, 2008


Totally useless PHP code written in beer


By Hiveminds Magazine(Hiveminds Magazine)

But this time when I awoke I sat down and wrote some PHP code that is total gibberish, does not produce any errors and seems to be written in beer language. I have no idea what problem I was trying to solve while asleep but it might be


Hiveminds Magazine - for web… - http://www.hiveminds.co.uk


Custom PHP Code fails to get the context argument when logged out


By agrivas

My problem is that when I try to get the context argument from custom php code, I get nothing if the current user is the "anonymous user". I have checked the permissions "view all panes" and "access all panel-pages".


drupal.org - issues for Panels - http://drupal.org/project/issues




.

php code [2008-08-23 22:45:07]

Sunday, August 24th, 2008


Plugin system


By Hamed

Hello, I want to code plugin system. I want to code a class for this job and on where I want add hook. Eg:. PHP Code:. if($_GET['page'] == 'register' && $loginset == '0') My plugins are like. PHP Code:. <?php /** * @author Hamed


ProgrammingTalk - http://www.programmingtalk.com




.

php code [2008-08-23 20:09:34]

Sunday, August 24th, 2008


Can't Run Any PHP Code - drupal_eval Error


By toddchris

Recently any of my nodes with embedded PHP code won't run. I get an error no matter what the PHP is. This is the error. Parse error: syntax error, unexpected '>' in /home/mynlada/public_html/includes/common.inc(1355) : eval()'d code on


drupal.org - Post installation - http://drupal.org/taxonomy/term/22/0


Acer TravelMate 6460 wireless problem


By marensius

I've managed to install Slack and slackbuildgnome. and now my problem is. How to enable the wireless card(dont think I have installed it correctly) and connect to my wireless router. when i do a scan I get. PHP Code:


LinuxQuestions.org - http://www.linuxquestions.org/questions




.

php code [2008-08-23 17:50:55]

Sunday, August 24th, 2008


Delete unapproved posts


By Michael83

If you delete an unapproved post the thread and forum counters don't get updated properly. The number in brackets that shows the number of unapproved posts doesn't change. Fix: Open inc/class_moderation.php and search for:. PHP Code:


MyBB Community Forums - All Forums - http://community.mybboard.net/




.

php code [2008-08-23 02:45:00]

Saturday, August 23rd, 2008

RE: PHP code assist

Then, once you have it installed (using the eclipse find and install), go to the preferences: Window | Preferences | Aptana | Editors | PHP | Code Assist Uncheck the box under the filtering section. That should do the trick. Thanks,


Aptana Forums - http://forums.aptana.com//




.

php code [2008-08-22 21:28:48]

Saturday, August 23rd, 2008


Is it possible to allow just one PHP script to edit a file?


By fuzzyworm

I have successfully written the script to work with a sample of the config file, and I know that I could make it generally writeable by all PHP scripts by 'chmod'ing and 'chown'ing it to make it writeable by www-data etc.


LinuxQuestions.org - http://www.linuxquestions.org/questions


Uploader Form


By wallwriter

I'm just having problems witht the audio and video file type resdtrictions. I basically have three uploader uploading to three folders (Pics/Audio/Video). I think there is a problem with this part of my script:. PHP Code:


ProgrammingTalk - http://www.programmingtalk.com




.

php tutorial [2008-08-22 20:15:15]

Saturday, August 23rd, 2008


Learn PHP Tutorial Video Ch. 2 - Setup and Configuation


Get and up running quickly as we show you the fastest way to install a fully functional PHP development environment. In less than 10 minutes, youll be ready to start programming your own PHP scripts! For more, see http://www.


Revver - tutorial, Videos - http://revver.com




.

php code [2008-08-22 17:38:35]

Saturday, August 23rd, 2008


[PHP/GD] Little help please…


By JustinSmall

I don't want you to (re)write the whole script for me. :P Just need a little help. So it's displaying text on a newly generated image… fun fun. The problem comes in when I try to make it save it :( Here's what I got… PHP Code:


Web Hosting Talk - Programming… - http://www.webhostingtalk.com


Generate Javascript Files with PHP


Header("content-type: application/x-javascript");. Now, all output will maintain the linebreaks that javascript so depends on. In the PHP code, just add the newline character where you need a line break, like so: echo "\n";. Cheers!


GiveGoodWeb - http://www.givegoodweb.com


Removing Link from Autoresponder


By jlui213

I am trying to remove the text and link that says "You can check the status of or reply to this Ticket online at:" From another thread, I read that you have to remove the lines. PHP Code:


Kayako Community Forums - http://forums.kayako.com




.

php code [2008-08-22 06:20:30]

Friday, August 22nd, 2008


Modify PHP Code In File


I want to actually make this template allow for upload of a file, where I can compare the fields and once side by side, save it as a template. I have attached the current code and an image of what it looks like.


ScriptLance Projects - https://www.scriptlance.com




.

php code [2008-08-22 04:01:50]

Friday, August 22nd, 2008


Php code problem


By forums@forum.abestweb.com (cdunde1)

When I include the php code on my site SteelerManiacs I get a black page. I went to the faq section and found that my problem might be due to the include() functions being disabled on your website. The faq section has a link to a php


ABestWeb Affiliate Marketing Forum - http://forum.abestweb.com


[F] [Mod CP] impossible to edit admin profiles


By WDZ

The (do_)editprofile actions in modcp.php use this buggy code with a confusing comment… Oo. PHP Code:. // Current user is a super mod or is an administrator and the user we are editing is a super admin, cannot edit admins


MyBB Community Forums - All Forums - http://community.mybboard.net/




.

php code [2008-08-21 23:10:45]

Friday, August 22nd, 2008


Need a bit of help with PHP


By daz48231

the village data into an array, I don't actually need ALL the data just the ID and co-ordinates but I can worry about that later. Getting it and displaying it for now will be a good start! Here is the code I have so far. PHP Code:


TribalWars Forum - http://forum.tribalwars.net


PHP contact form not sending emails


By amoss

I have GD enabled on my server. Here is the form: http://www.estateagentscorby.co.uk/contact-us.php When I submit the form it sends the data to a PHP file with the following PHP script:. PHP Code:


ProgrammingTalk - http://www.programmingtalk.com


Erlang Hurts My Brain, Part I: Or Why "New" Programming Languages


By Tom Boutell(Tom Boutell)

For these reasons, if you try my PHP code above, you'll find that fibonacci(20) is about as high as you can go before there is a noticeable or even nigh-infinite delay. Eventually you'll hit a recursion limit imposed by PHP or run out


Maldrobe Warfunctions - http://boutell.livejournal.com/




.

php code [2008-08-21 14:11:46]

Thursday, August 21st, 2008


Re: php code needed pls help


I think the reason your not getting answers is that this is posted in the wrong forum. Try posting this in the "Technical Questions / Website Design" board. Thanks. Stereofreak69.


110mb.com Forum - http://www.110mb.com/forum/index.php




.

php tutorial [2008-08-21 12:52:36]

Thursday, August 21st, 2008


Site News: Blast from the Past - One Year Ago in PHP


Stefan Mischook's Blog: Object Oriented PHP Tutorial Released; David Coallier's Blog: PHP Namespaces (Part 1: Basic usage & gotchas); Rob Richards' Blog: PHP and Managed Information Cards; Zend Developer Zone: AJAX Chat Tutorial


PHPDeveloper.org - http://www.phpdeveloper.org


Create A Simple Address Book


By tasigurl

I am new to Drupal. I was wondering how a more experienced Drupal user would create a simple address book like the one in this PHP tutorial. http://php.about.com/od/finishedphp1/ss/address_book.htm.


drupal.org - Post installation - http://drupal.org/taxonomy/term/22/0




.

php tutorial [2008-08-21 07:43:38]

Thursday, August 21st, 2008


facebook application tutorial


By The Net(The Net)

Facebook PHP Tutorial Learn how to build your own Facebook applications using PHP. 6 simple steps to get you started.read more - Facebook PHP Tutorial | digg […] … www.merchantos.com/makebeta/facebook/facebook-php-tutorial/ - 53k


360 Degrees of Your LIfe - http://360derajat.blogspot.com/




.

php code [2008-08-21 05:30:02]

Thursday, August 21st, 2008


Encrypting PHP Code


By example@example.com (blue_bottle_boy)

Hello, Am interested in finding out which of the Encryption Systems available (Open Source or not) people think are the best for encrypting source code.


dBforums - http://www.dbforums.com




.

php code [2008-08-21 02:37:20]

Thursday, August 21st, 2008

PHP code assist

Subject: PHP code assist Posted: Wed Aug 20, 2008 11:50 pm (GMT 0) Topic Replies: 0 Greetings, I am new to aptana, so far i really like it Having issues with the code assist, basically it will only do code assist for the current open


Aptana Forums - http://forums.aptana.com//




.

php code [2008-08-21 00:15:17]

Thursday, August 21st, 2008


RE: php code not working


By Steffen

Do you run a mailserver ? If not, use the mailserver (SMTP) from your ISP. Steffen Topic Replies: 3.


Apache Lounge - http://www.apachelounge.com/forum/




.

php code [2008-08-20 20:44:49]

Thursday, August 21st, 2008


Information Security Standards


If you deal with information security systems either as a seller or as a purchaser you need to be aware of information security standards. This article explains what they are why they are important and walks you through the best known


PHP Help, PHP Code - RSS Feeds - http://www.codewalkers.com




.

php tutorial [2008-08-20 17:32:55]

Thursday, August 21st, 2008

The world's most popular open source database (MySQL site) PHP Tutorial (PHP Tutorials)


DevHunters.com l Webmaster Forum… - http://www.devhunters.com


PHP: A simple tutorial - Manual


PHP: A simple tutorial - Manual Delicious submitted by Veetrag.


MyBlogLog - John Sampson : New… - http://www.mybloglog.com/buzz/members/johnsampson/newwith/world




.

php code [2008-08-20 16:49:13]

Thursday, August 21st, 2008


PHP Live Helper Multiple Vulnerabilities

Secunia - UK
This can be exploited to overwrite variables from the db config file, and allows eg the execution of arbitrary PHP code. Successful exploitation of this
See all stories on this topic




.

php code [2008-08-20 14:11:20]

Wednesday, August 20th, 2008


Title : DeeEmm CMS Remote File Inclusion and SQL Injection

FrSIRT - Montpellier,France
Multiple vulnerabilities have been identified in DeeEmm CMS (DMCMS), which could be exploited by remote attackers to execute arbitrary PHP code and SQL
See all stories on this topic


Viral Marketing Script "id" SQL Injection Vulnerability

Secunia - UK
Input passed to the "id" parameter in tr.php is not properly sanitised before being used in SQL queries. This can be exploited to manipulate SQL queries by
See all stories on this topic




.

php code [2008-08-20 03:47:51]

Wednesday, August 20th, 2008


User gets cpanel errors when editing site


By junglecat

WHM 11.23.2 cPanel 11.23.4-R26138 FEDORA 4 i686 on standard - WHM X v3.1.0 A user is trying to edit pages in her site through cpanel, but when she tries to save the changes she gets this:. PHP Code:


Web Hosting Talk - http://www.webhostingtalk.com




.

php code [2008-08-20 00:57:40]

Wednesday, August 20th, 2008


Converting Pligg Template From 9.9.0 To 9.9.5 - Detailed Instructions


By cmstheme

The instructions below uses the default "yget" template. /templates. Add no_database.tpl. /templates/yget. Add sidebar_comments.tpl and sidebar_comments_wrapper.tpl; template_details.php FIND:. PHP Code:


Pligg Forum - http://forums.pligg.com




.

php code [2008-08-19 22:27:04]

Wednesday, August 20th, 2008


PHP Code Share: RSS Feed for blog


By kevware

Mostly you come up with services that promise to give you code to include on your site that they generate for you once you join, pay, or give an email address. Most of the ones I tried were pretty crappy. And then there was that lovely


kev-geek - http://kevware.wordpress.com




.

php code [2008-08-19 17:04:20]

Wednesday, August 20th, 2008


Feed.Informer Relaunches Its All-in-one RSS Toolbox

ReadWriteWeb - CA,USA
It doesn't offer PHP code like Feed.Informer does, so there's no SEO benefit to using the Pipes "badge" for feed display. SImplePie is a powerful way to
See all stories on this topic




.

php code [2008-08-19 16:02:43]

Wednesday, August 20th, 2008

.

php code [2008-08-19 14:29:29]

Tuesday, August 19th, 2008


BCD Adds More Automation, Customization to PHP Tool

IT Jungle - New York,NY,USA
With version 2, BCD has enhanced the tool's PHP code generation wizard with the addition of programmer prompts. It also introduced new template
See all stories on this topic




.

php code [2008-08-19 13:25:49]

Tuesday, August 19th, 2008


RE: php code not working


By James Blond

add error_reporting(E_ALL & ~E_NOTICE); to your PHP code after the <?php to locate the error. Topic Replies: 1.


Apache Lounge - http://www.apachelounge.com/forum/




.

php code [2008-08-19 10:37:15]

Tuesday, August 19th, 2008

.

php code [2008-08-19 08:22:14]

Tuesday, August 19th, 2008


Update Mailer.php Code


Hi RWers,. Is there any way to update the mailer.php code globally, so that all my contact forms will use the new code? Thanks, Ivan.


Realmac Software Forums - http://www.realmacsoftware.com/forums/index.php/forums/




.

php tutorial [2008-08-19 08:14:54]

Tuesday, August 19th, 2008


Uploading files with PHP - PHP Tutorial


By admin

Continuing on from our article on Listing files stored within a directory using PHP, this quick guide will walk you through how to upload a file to a server using PHP. Firstly, we assemble the form to upload a file within our html page,


Tutorials Site - http://funbee.net




.

php tutorial [2008-08-19 04:40:42]

Tuesday, August 19th, 2008


Tutorial:Make an Uber-Blog Using the FriendFeed API


We'll use PHP to interact with FriendFeed since it's probably the most common programming language available through cheap shared hosting plans. However, everything we're going to do could also be done using your favorite scripting


Newest Webmonkey Articles - http://www.webmonkey.com/rss/latest


HTML forms in php


By just2bruce

PHP Tutorial - Forms.


Cal Maritime Academy Blog - http://mymaritimeblog.wordpress.com




.

php code [2008-08-18 14:06:54]

Monday, August 18th, 2008


moderation.php


By D-r-a-g-o-n

Line 74:. PHP Code:. $thread['subject'] = htmlspecialchars_uni($parser->parse_badwords($thread['subject']));. Line 197:. PHP Code:. $thread['subject'] = htmlspecialchars_uni($thread['subject']);. Why do you run the same function twice?


MyBB Community Forums - All Forums - http://community.mybboard.net/


Antivirus stopping javascript?


By Paramiliar

and I have come across a problem before were Norton was stopping some javascript from running but I cant see any reason for any antivirus to stop the code from running. Any one have any ideas as to why?? here is the code. PHP Code:


Webmaster Forum - http://www.webtalkforums.com




.

php code [2008-08-18 08:06:51]

Monday, August 18th, 2008


php injection to JPG with BT


By base_slash

i was using hexedit to write php code into it but my Firefox browser wont open it , it will open it like a image and show me the image , any ideas on how to run the code inside the image , or how to make it readable to any browser


- http://forums.remote-exploit.org




.

php code [2008-08-18 03:29:15]

Monday, August 18th, 2008


[B] Forum permissions not applied on stats page


By Michael83

Fix: Open stats.php and search for (2x!):. PHP Code:. if(!in_array("'{$thread['fid']}'", $unviewableforumsarray)). Replace with (2x!):. PHP Code:. if(!in_array($thread['fid'], $unviewableforumsarray))


MyBB Community Forums - All Forums - http://community.mybboard.net/




.


Google
 
Failing that - a post search:



Categories: PHP Coding Training PHP Coding Specialist Perl Coding Training Perl Coding Specialist
LDAP Coding Training LDAP Coding Specialist UNIX Coding Training UNIX Coding Specialist Archives


A DarlingRanges.com Site























Associated
Amusing take on PHP
Article on PHP5 and EOL for PHP4