PHP - Looking For Inspiration

PHP - Looking For Inspiration

Do you know of any resources available for the novice PHP coder who is interested in using PHP to develop a Roll Playing Game? I have a friend who has been dabbling in C++ , but, since he's also interested in Flash animations, and web development, i
Dynamic Db Connect File - Best Way

Dynamic Db Connect File - Best Way

I'm building a an application where I want to store the users database connection parameters in the database itself, so they can pulled out into an included connect file when a DB connection is required. But how do I do this securely? If I md5() the
How To Run Script Automatically

How To Run Script Automatically

How to run php script automatically..
Use Xml2array Get The Xml Date From A Foreach?

Use Xml2array Get The Xml Date From A Foreach?

I am now studying xml2array, How to use xml2array get the xml date from a foreach? I can print the data, but can not read anything from the foreach. index.php <?php header('Content-type:text/html; charset=utf-8'); $aa = array(); $aa = xml2array(file_
Cron Script For Newsletter Subscribing

Cron Script For Newsletter Subscribing

I'm trying to develop something similar where a subscriber can sign-up for an available 15 newsletters. Are there any cron examples out there for this? I'm thinking about just keeping the db schema simple with one table, having 15 columns for the new
Phpbb Script Request

Phpbb Script Request

Registered Users of my phpbb can now link from the phpbb, make a payment(at a third-party site) and be automatically linked back. I'd like some code or scripting in the page that they link back to. The User, named Fred, who linked-out will still be l
How To Get Variables From Array

How To Get Variables From Array

I'm working on an image uploader/manager script. When images are uploaded, their details are kept in a database so I can store alt text and control the order images are displayed in etc. To do this I'm trying to create a form where I can update multi
Use Array For GET Variables

Use Array For GET Variables

I am currently using the following code for Get variables, and would like to know the best way to convert to an array. Is the main advantage of doing this just aesthetic, or is there a performance/efficiency aspect as well? [CODE....]
Get Variables Out Of An Array?

Get Variables Out Of An Array?

all i want to do is update the database for each unique_id_# variable...but the unique_id_# increments automatically and i don't know how many increments there will be.... Code: Array ( [code]......
SuExec Not Available

SuExec Not Available

I have been having problems with a PHP mail() script so I emailed my host. This is their reply: I found out that on your server we have php compiled without suExec. Our admin recommends that you find a script that is configured to send mail out via a
Phpbb Testing Problems

Phpbb Testing Problems

phpbb testing problems I am testing phpbb on an apache system how do I test registration it doesnt email to user accounts, when I try to register with a previous account it doesnt let me fine when I delete the user account from user table. it still t
Order By Precedence?

Order By Precedence?

I know how to use the order by, but wondered if there is an order of precedence in using it. Facts: hcounty is a county that someone puts in a home county in which they live. In the comments they are also allowed to put text, that might contain a cou
More Than One Field In Array?

More Than One Field In Array?

The script below pulls a variety of data from a table (the same query is used elsewhere), pushing the grouped summary of results of one field to a page. We need to add another field (a description) to the array, at the $tmp_array[] = $row[3] level, s
Show Pdf Files On The Web

Show Pdf Files On The Web

can any body know how to show pdf files on the web
Only Show Certain Files

Only Show Certain Files

i have the following code which shows all the file names of files on my webiste... Code: [Select]<?php $files�=�new�RecursiveDirectoryIterator("./"); foreach(new�RecursiveIteratorIterator($files)�as�$files) { [Code].... my problem is that i o
Image Uplaod - A Different Question

Image Uplaod - A Different Question

1. I have an image upload option on my form called img1. After the form is submited, it changes img1 to the temp dir it stored it on the server. How do I keep a string with the file version instead of the temp dir. ie (C:myfolderimage.jpg and not lik
Text File Containing All Of The Methods?

Text File Containing All Of The Methods?

If anybody has a complete list of php methods separate in a file, please share it with me! I really need a txt file containing all of the PHP methods. Ex: for(){} //new line if(){} //new line switch(){} //new line[code]....
Adding Goolge Language Tool In Script?

Adding Goolge Language Tool In Script?

I want to add Google Language Tool in my PHP Script. Is anyone having any idea on this.
Precluding Attributes With Not Common In C++ Nor In Java?

Precluding Attributes With Not Common In C++ Nor In Java?

Coding OO code in PHP I wonder about the syntactical necessity of precluding attributes with $this.It's not common in C++ nor in Java.What makes it necessary in PHP?what is the specific reason why PHP enforces using it apart from just historical habi
Define Two Or More Distinct Sessions

Define Two Or More Distinct Sessions

I am developing a shopping cart and I just want to know how I would define two or more distinct sessions at the same time. Ie if one user comes in, how do I define one session with one name and another session with another name.
« Prev 1 2 3 4 5 6 ... 10 Next »