php-general Digest 14 Jul 2005 06:29:31 -0000 Issue 3566

2005-07-14 Thread php-general-digest-help
php-general Digest 14 Jul 2005 06:29:31 - Issue 3566 Topics (messages 218638 through 218658): Re: 404 error - why???!! 218638 by: Joseph 218639 by: Grosz, Steve (IPG IT) Re: Time Zone names 218640 by: Philip Hallstrom Re: DAO/VO Pattern Help 218641 by:

Re: [PHP] Removing special characters

2005-07-14 Thread Marek Kilimajer
Computer Programmer wrote: Is there a PHP built-in function to retrieve only the alphanumeric characters from a given string? I know that I can check for alphanumeric characters using the function ctype_alphanum () but it won't retrieve the alphanum characters. I also know that I can use

[PHP] searching multiple fields

2005-07-14 Thread Ross
Is there a way to use like to search various fields at one time. For example I want the search field to search by name or area or organisation. If the (minimum)three letter string matches any of these I want the record to show. $search_field is my textbox $query = SELECT * FROM sheet1 WHERE

Re: [PHP] Re: Echo array string index?

2005-07-14 Thread Joe Harman
Hey Matt, you can print out the contents of your array by using print_r($arr) but more useful is using this foreach ($arr as $key = $value) { echo Key : .$key. Value : .$value; } Adios Joe On 7/13/05, Adam Hubscher [EMAIL PROTECTED] wrote: Matt Darby wrote: I have an array setup as

Re: [PHP] searching multiple fields

2005-07-14 Thread Richard Davey
Hello Ross, Thursday, July 14, 2005, 9:37:10 AM, you wrote: R $query = SELECT * FROM sheet1 WHERE 'name' or 'area or 'organisation LIKE R '$search_field%'; SELECT * FROM blah WHERE name LIKE '$search%' OR area LIKE '$search%' OR blahblah LIKE '$search%' etc If you want to add extra conditions

[PHP] Big file encryption

2005-07-14 Thread david forums
Hello every body I'm in the ... well I have a big file (around 12M), and I have to encrypt this file, and to decrypt some time after. How could I do? Is it possible to encrypt and decrypt a file line by line ? Please help david -- PHP General Mailing List (http://www.php.net/) To

[PHP] Refresh

2005-07-14 Thread Miguel Guirao
Hello people, I need to have a web page (PHP) that displays a status about electric facilities, this status is read from a database (MySQL), the thing is that these status may change from time to time in the DB so I need to re read the DB and display the according status on the web page. So,

Re: [PHP] Refresh

2005-07-14 Thread david forums
well I see two way. First is to make a php script without end, which will run continuously. second way is to add refresh html tag, in your page, or a js script to reload automaticaly. I'm not seeing other solution in php. regards Le Thu, 14 Jul 2005 02:27:47 +0200, Miguel Guirao [EMAIL

Re: [PHP] Refresh

2005-07-14 Thread Mark Rees
david forums [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] well I see two way. First is to make a php script without end, which will run continuously. I don't recommend this way at all. Why take up all that energy second way is to add refresh html tag, in your page, or a js

[PHP] $PHP_SELF or echo $PHP_SELF

2005-07-14 Thread Ross
Hi PHPers, Just a quick thing that is bugging me. In some of my older textbooks a form is returned to the same page by using echo $PHP_SELF no just $PHP_SELF is this just used in older versions of php?? Does the it make a difference what one is used? Ta, Ross

Re: [PHP] $PHP_SELF or echo $PHP_SELF

2005-07-14 Thread Richard Davey
Hello Ross, Thursday, July 14, 2005, 11:11:25 AM, you wrote: R Just a quick thing that is bugging me. In some of my older R textbooks a form is returned to the same page by using R echo $PHP_SELF no just $PHP_SELF R is this just used in older versions of php?? Does the it make a R difference

Re: [PHP] Refresh

2005-07-14 Thread Matt Darby
Put this between the page's head tags: meta http-equiv=REFRESH content=1;url=http://somesite_to_refresh_to; The 1 in the above line controls the time to refresh; the higher the number, the longer to refresh. Matt Darby Miguel Guirao wrote: Hello people, I need to have a web page (PHP)

Re: [PHP] searching multiple fields

2005-07-14 Thread Lawrence Kennon
...I want it to do the folowing. $query = SELECT * FROM sheet1 WHERE 'name' or 'area or 'organisation LIKE '$search_field%'; SELECT * FROM sheet1 WHERE 'name' LIKE '$search_field%' OR 'organization' LIKE '$search_field%' lk

RE: [PHP] Big file encryption

2005-07-14 Thread Jay Blanchard
[snip] well I have a big file (around 12M), and I have to encrypt this file, and to decrypt some time after. How could I do? Is it possible to encrypt and decrypt a file line by line ? [/snip] Start with the manual at http://us2.php.net/manual/en/ref.mcrypt.php -- PHP General Mailing List

Re: [PHP] Big file encryption

2005-07-14 Thread david forums
Hihihihi Of course I already has the whole object to encrypt and decrypt, my problem is link to the size of the file. There is no mcrypt function to load directly a file, so it's need to preload it in a variable and then encrypt or decrypt it. But when the file is 12M size it failed. So

Re: [PHP] Big file encryption

2005-07-14 Thread Mikey
david forums wrote: Hihihihi Of course I already has the whole object to encrypt and decrypt, my problem is link to the size of the file. There is no mcrypt function to load directly a file, so it's need to preload it in a variable and then encrypt or decrypt it. But when the file is

RE: [PHP] Big file encryption

2005-07-14 Thread Jay Blanchard
[snip] There is no mcrypt function to load directly a file, so it's need to preload it in a variable and then encrypt or decrypt it. But when the file is 12M size it failed. [/snip] What do you mean it failed? What kind of error did you get? -- PHP General Mailing List (http://www.php.net/)

Re: [PHP] Big file encryption

2005-07-14 Thread Ahmed Saad
hi david, On 7/14/05, david forums [EMAIL PROTECTED] wrote: So I need to know a way to be able to encrypt large file. function readfile_chunked ($filename) { $chunksize = 1*(1024*1024); // it reads 1 mb per chunck. adjust this if u need. $buffer = ''; $handle = fopen($filename, 'rb');

Re: [PHP] How to run .sql files using php

2005-07-14 Thread Rory Browne
phpmyadmin On 7/13/05, glumtail [EMAIL PROTECTED] wrote: I think it's better to split the SQL into pieces line 1: create table line 2: insert into . $sql = 'create table' $sql = 'insert into ...' 2005/7/13, Shaw, Chris - Accenture [EMAIL PROTECTED]: Can you use

Re: [PHP] How to read PHP variables.

2005-07-14 Thread Rory Browne
Thsi is way, way WAY too vague. What exactly do you need a patern for? If you simply want to change it, then just do a $var['whatever'] = value; again in the module you want to change it in. If you want to redo the config file, then you can just loop through the array, printing out, each value

Re: [PHP] searching multiple fields

2005-07-14 Thread Brent Baisley
Sounds like you want to use full text indexing. Create one full text index spanning name, area, organisation. Then search on all three fields at once. SELECT * FROM sheet1 MATCH(name,area,organisation) AGAINST ('textstring* otherstring* etc*). The * means use LIKE searching. There are a

Re: [PHP] How to run .sql files using php

2005-07-14 Thread Ahmed Saad
hi babu On 7/13/05, babu [EMAIL PROTECTED] wrote: i have a set of queries which i have placed them in one .sql file.i want to run this file using php's mssql and oracle(oci) functions. you need a database abstraction layer to help you with that (adodb for example) function fireSQL( $driver

Re: [PHP] How to run .sql files using php

2005-07-14 Thread Raffael Wannenmacher
or execute a shell command $ret = `mysql -u[user] -p[password] -h[host] [db_name] file.sql`; glumtail wrote: I think it's better to split the SQL into pieces line 1: create table line 2: insert into . $sql = 'create table' $sql = 'insert into ...' 2005/7/13, Shaw, Chris -

Re: [PHP] 404 error - DLL files needed ??

2005-07-14 Thread Kristen G. Thorson
In the extension manager for the site/directory where this is not working, make sure the check box Verify file exists is not checked. I think I ran into a similar problem with a different extension and had the same issue. kgt Grosz, Steve (IPG IT) wrote: Tjoekbezoer, I can tell you

Re: [PHP] $PHP_SELF or echo $PHP_SELF

2005-07-14 Thread Matthew Weier O'Phinney
* Richard Davey [EMAIL PROTECTED]: Hello Ross, Thursday, July 14, 2005, 11:11:25 AM, you wrote: R Just a quick thing that is bugging me. In some of my older R textbooks a form is returned to the same page by using R echo $PHP_SELF no just $PHP_SELF R is this just used in older versions

[PHP] gettext best practice

2005-07-14 Thread Skippy
How do you people best deal with text meant for i18n via gettext, which is either large or contains HTML tags, or both? The GNU gettext manual, in section 3.2, recommends to split long texts at paragraph level, or in the case of long --help screens, in batches of 5-10 lines at most. I can dig

[PHP] Re: gettext best practice

2005-07-14 Thread Mark Rees
Skippy [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] How do you people best deal with text meant for i18n via gettext, which is either large or contains HTML tags, or both? The GNU gettext manual, in section 3.2, recommends to split long texts at paragraph level, or in the case

Re: [PHP] Re: gettext best practice

2005-07-14 Thread Skippy
Quoting Mark Rees [EMAIL PROTECTED]: Consider whether you will always display the information in a web browser. If there is any possibility that another program may be used for display, you don't want the HTML tags in the database. In this particular situation I'm dealing with I only have web

Re: [PHP] Big file encryption

2005-07-14 Thread Skippy
Quoting Ahmed Saad [EMAIL PROTECTED]: // do whatever with the chuck you read. // you can encrypt it and write all the chunks to the same file But if you encrypt one chunk at a time and concatenate them later, or if you encrypt the whole thing, will you still get the same result? --

Re: [PHP] Big file encryption

2005-07-14 Thread Ahmed Saad
hi Skippy On 7/14/05, Skippy [EMAIL PROTECTED] wrote: Quoting Ahmed Saad [EMAIL PROTECTED]: // do whatever with the chuck you read. // you can encrypt it and write all the chunks to the same file But if you encrypt one chunk at a time and concatenate them later, or if you encrypt

Re: [PHP] Big file encryption

2005-07-14 Thread david forums
Ok tx And you mean that I can concatenate every chunck in the same file ? And what about decryption, could I take the same way ? david Le Thu, 14 Jul 2005 14:25:48 +0200, Ahmed Saad [EMAIL PROTECTED] a écrit: hi david, On 7/14/05, david forums [EMAIL PROTECTED] wrote: So I need to

Re: [PHP] Big file encryption

2005-07-14 Thread david forums
Not at all cause the chunk are beeing free every time it is write in the file. so it does not excide the amount you set. regards Le Thu, 14 Jul 2005 16:10:17 +0200, Skippy [EMAIL PROTECTED] a écrit: Quoting Ahmed Saad [EMAIL PROTECTED]: // do whatever with the chuck you read. //

[PHP] Overriding __soapCall

2005-07-14 Thread Marcus Bointon
I'm working on a soap client in PHP5, which I'm building by subclassing the built-in SoapClient class. However, it seems my overridden __soapCall method is never being called. My class looks something like this: class myClient extends SoapClient { public function __construct($wsdl =

[PHP] cannot connect to MySQL server and not sure why

2005-07-14 Thread Bruce Gilbert
I am having trouble connecting to MySQL server through a PHP script and I am not sure why. the error I receive is: Warning: mysql_pconnect(): Access denied for user: '[EMAIL PROTECTED]' (Using password: YES) in /hsphere/local/home/bruceg/inspired-evolution.com/search/include/connect.php on line

Re: [PHP] cannot connect to MySQL server and not sure why

2005-07-14 Thread John Nichel
Bruce Gilbert wrote: I am having trouble connecting to MySQL server through a PHP script and I am not sure why. the error I receive is: Warning: mysql_pconnect(): Access denied for user: '[EMAIL PROTECTED]' (Using password: YES) in

Re: [PHP] cannot connect to MySQL server and not sure why

2005-07-14 Thread Stephen Johnson
Where do you populate $success ? It looks too me that $success would always be empty no matter whether you connected or not. On 7/14/05 8:27 AM, Bruce Gilbert [EMAIL PROTECTED] wrote: mysql_pconnect ($mysql_host, $mysql_user, $mysql_password); if (!$success) -- Stephen Johnson The

Re: [PHP] cannot connect to MySQL server and not sure why

2005-07-14 Thread Raz
Bruce, looks like mysql_pconnect ($mysql_host, $mysql_user, $mysql_password); wants to read $success = mysql_pconnect ($mysql_host, $mysql_user, $mysql_password); Raz -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] cannot connect to MySQL server and not sure why

2005-07-14 Thread Richard Davey
Hello Bruce, Thursday, July 14, 2005, 4:27:12 PM, you wrote: BG ?php BG $database=bruceg_search; BG $mysql_user = bruceg_webmaster; BG $mysql_password = password; BG $mysql_host = server-10.existhost.com; BG mysql_pconnect ($mysql_host, $mysql_user,

RE: [PHP] 404 error - DLL files needed ??

2005-07-14 Thread Grosz, Steve (IPG IT)
I pretty sure that it isn't checked, but I'll double check againanything else? I can't imagine that it should be this difficult to get PHP running. Steve -Original Message- From: Kristen G. Thorson [mailto:[EMAIL PROTECTED] Sent: Thursday, July 14, 2005 7:09 AM Cc:

Re: [PHP] cannot connect to MySQL server and not sure why

2005-07-14 Thread Kristen G. Thorson
MySQL authentication is user+host+password. Make sure user brucer_webmaster has host 69.90.88.155. kgt Bruce Gilbert wrote: I am having trouble connecting to MySQL server through a PHP script and I am not sure why. the error I receive is: Warning: mysql_pconnect(): Access denied for

Re: [PHP] Overriding __soapCall

2005-07-14 Thread Marcus Bointon
On 14 Jul 2005, at 16:07, Marcus Bointon wrote: I've found various references to overriding the __call function (which is now completely obsolete as it clashes with a magic method) for the same kind of reason that I need to. So, it seems as if __soapCall is NOT called internally when

[PHP] Dynamic Images and File Permissions

2005-07-14 Thread Adam Hubscher
I have a script that generates, creates, and updates dynamic banner images for users of a service. Recently I have run into a problem with file permissions... that has thoroughly annoyed me. I found a solution to fix the problem, however, it was then hit with another problem, and I'm not sure

[PHP] Win2000 easier than Win2003 ??

2005-07-14 Thread Grosz, Steve (IPG IT)
Is setting up PHP easier on Windows 2000 server rather than Win2003? I'm having nothing but problems getting PHP files to show up in IE on the Win2003 server, I get nothing but 404 - file not found errors.

[PHP] Re: Win2000 easier than Win2003 ??

2005-07-14 Thread Mark Rees
Grosz, Steve (IPG IT) [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] .. Is setting up PHP easier on Windows 2000 server rather than Win2003? I'm having nothing but problems getting PHP files to show up in IE on the Win2003 server, I get nothing but 404 - file not found errors. Can you

RE: [PHP] Win2000 easier than Win2003 ??

2005-07-14 Thread Jay Blanchard
[snip] Is setting up PHP easier on Windows 2000 server rather than Win2003? I'm having nothing but problems getting PHP files to show up in IE on the Win2003 server, I get nothing but 404 - file not found errors. [/snip] http://www.webhostgear.com/203.html step by step for 2003 -- PHP General

Re: [PHP] Win2000 easier than Win2003 ??

2005-07-14 Thread Richard Davey
Hello Steve, Thursday, July 14, 2005, 5:15:01 PM, you wrote: GSII Is setting up PHP easier on Windows 2000 server rather than GSII Win2003? I'm having nothing but problems getting PHP files to GSII show up in IE on the Win2003 server, I get nothing but 404 - GSII file not found errors. Just

Re: [PHP] Dynamic Images and File Permissions

2005-07-14 Thread Edward Vermillion
Adam Hubscher wrote: I have a script that generates, creates, and updates dynamic banner images for users of a service. Recently I have run into a problem with file permissions... that has thoroughly annoyed me. I found a solution to fix the problem, however, it was then hit with another

[PHP] Re: cannot connect to MySQL server and not sure why

2005-07-14 Thread Aaron Greenspan
Bruce, Do you mean to have a space before the word password? Aaron Aaron Greenspan President CEO Think Computer Corporation http://www.thinkcomputer.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] php5 built-in soap - apache performance wsdl generation

2005-07-14 Thread Victor Alvarez
Hello, I'm successfully playing with php 5 and Its built-in soap but I still have a couple of questions. The most important one is regarding the performance. It is something I also found using php 4 and nusoap. Most of the time for a call is being spend on loading the code. Aprox 0.25

Re: [PHP] searching multiple fields

2005-07-14 Thread Amir Mohammad Saied
Brent Baisley wrote: Sounds like you want to use full text indexing. Create one full text index spanning name, area, organisation. Then search on all three fields at once. SELECT * FROM sheet1 MATCH(name,area,organisation) AGAINST ('textstring* otherstring* etc*). The * means use LIKE

[PHP] Tired and feeling dumb...maths question....

2005-07-14 Thread Ryan A
Hey, At this stage am pretty much brain dead and getting a simple percentage is too much for me now. Basically, I have these two fields: $pic_no_of_votes $vote_total_pts and this totals them up and keeps the average: $average_pts people vote on a scale of 1-5, so the average should be between

Re: [PHP] Tired and feeling dumb...maths question....

2005-07-14 Thread Ezra Nugroho
The result should be between 1 - 5. Can you clarify the following: Basically, I have these two fields: $pic_no_of_votes $vote_total_pts What do they hold? Sums or individual votes? and this totals them up and keeps the average: $average_pts people vote on a scale of 1-5, so the average

RE: [PHP] Tired and feeling dumb...maths question....

2005-07-14 Thread Chris W. Parker
Ryan A mailto:[EMAIL PROTECTED] on Thursday, July 14, 2005 12:17 PM said: Hey, Hey. people vote on a scale of 1-5, so the average should be between 1-5 (right?? am not even sure of this!) Yes. I was thinking of rounding it with a 2 decimal point...eg: round(5.045, 2) Just need to

[PHP] captcha on bugs.php.net/report.php doesn't work

2005-07-14 Thread aRZed
hy! i have a simple problem when i try to report a bug. the captcha doesn't work. the script doesn't send any output at all. so i think my bug-report must wait ... is anybody else expieriencing this problem? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

RE: [PHP] Tired and feeling dumb...maths question....

2005-07-14 Thread Ryan A
people vote on a scale of 1-5, so the average should be between 1-5 (right?? am not even sure of this!) Yes. I was thinking of rounding it with a 2 decimal point...eg: round(5.045, 2) Just need to solve this and them am hitting the sack, any help appreciated. Solve what? I must

Re: [PHP] Tired and feeling dumb...maths question....

2005-07-14 Thread Lawrence Kennon
basically...how do I get the average? $pic_no_of_votes --- holds the total number of votes (eg: 212) $vote_total_pts holds the total points from all those votes (eg: 1027) how do i get the average down to something like: 3.23 or 1.02 or 4.11 etc average = 1027 (total pts) / 212

Re: [PHP] Tired and feeling dumb...maths question....

2005-07-14 Thread Matt Darby
$average = round(($votes/$pts),2); ;) Ryan A wrote: people vote on a scale of 1-5, so the average should be between 1-5 (right?? am not even sure of this!) Yes. I was thinking of rounding it with a 2 decimal point...eg: round(5.045, 2) Just need to solve this and them am

[PHP] 404 Not Found - refresh to directory

2005-07-14 Thread Terry Romine
I have a website that has several hundred agents in a mysql database. The client wants to be able to enter the domain.com/agentname and be redirected to a standard page where we show the agent information. An example would be an agent named John Smith whose agentname would be jsmith. So the

Re: [PHP] Big file encryption

2005-07-14 Thread Skippy
On Thu, 14 Jul 2005 16:24:25 +0200 david forums [EMAIL PROTECTED] wrote: Not at all cause the chunk are beeing free every time it is write in the file. so it does not excide the amount you set. What I meant was that if the encryption algorithm inserts some magic info at the beginning of

RE: [PHP] 404 Not Found - refresh to directory

2005-07-14 Thread Chris W. Parker
Terry Romine mailto:[EMAIL PROTECTED] on Thursday, July 14, 2005 1:52 PM said: I have a website that has several hundred agents in a mysql database. The client wants to be able to enter the domain.com/agentname and be redirected to a standard page where we show the agent information.

RE: [PHP] cannot connect to MySQL server and not sure why

2005-07-14 Thread yanghshiqi
Make sure that your ip is granted too. Best regards, Shiqi Yang -Original Message- From: Bruce Gilbert [mailto:[EMAIL PROTECTED] Sent: Thursday, July 14, 2005 11:27 PM To: php-general@lists.php.net Subject: [PHP] cannot connect to MySQL server and not sure why I am having trouble

RE: [PHP] Re: Echo array string index?

2005-07-14 Thread yanghshiqi
Yeah, you can use foreach. But *may be* you just find sth called array_keys(). Best regards, Shiqi Yang -Original Message- From: Joe Harman [mailto:[EMAIL PROTECTED] Sent: Thursday, July 14, 2005 4:45 PM To: php-general@lists.php.net Subject: Re: [PHP] Re: Echo array string index?

Re: [PHP] Dynamic Images and File Permissions

2005-07-14 Thread Brian V Bonini
On Thu, 2005-07-14 at 12:09, Adam Hubscher wrote: My questions are this: A) Is there any way to set the permissions on the file on creation of the image? Set umask 002 on the user php is running as. -- s/:-[(/]/:-)/g BrianGnuPG - KeyID: 0x04A4F0DC | Key Server: pgp.mit.edu

[PHP] array help

2005-07-14 Thread Fletcher Mattox
How does one represent a MySQL table as a two dimensional array using the column names as one of the indices? My naive attempt went something like this: while ($row = mysqli_fetch_assoc($result)) $table[] = $row; but that generated this error; Fatal error: []

[PHP] SimpleXML doesn't work with one single XML tag line...

2005-07-14 Thread Daevid Vincent
Maybe I'm missing something about XML specifications, but this doesn't seem right to me. http://www.php.net/manual/en/ref.simplexml.php Here is a code fragment I use: $xml = simplexml_load_string($returnData); var_dump($xml); if (is_object($xml)) { //first lets make sure we didn't get

Re: [PHP] array help

2005-07-14 Thread Robert Cummings
Did you bother to initialize $table as an array() or are you another lazy slob of a programmer that expects the engine to read your mind (cluttered as that may be)? Cheers, Rob. On Thu, 2005-07-14 at 18:33, Fletcher Mattox wrote: How does one represent a MySQL table as a two dimensional array

Re: [PHP] array help

2005-07-14 Thread Richard Davey
Hello Fletcher, Thursday, July 14, 2005, 11:33:36 PM, you wrote: FM while ($row = mysqli_fetch_assoc($result)) FM $table[] = $row; FM but that generated this error; FM Fatal error: [] operator not supported for strings The above WILL work providing that (1)

[PHP] SimpleXML returns false positives

2005-07-14 Thread Daevid Vincent
Am I just completely missing something with this SimpleXML functions? Something else I noticed that seems broken to me... I can change the if ($xml-error) line to if ($xml-foo) and I still get the text echo'd to the screen. ?!!?! If I change it to if ($xml-error-code) then I don't get the

Re: [PHP] array help

2005-07-14 Thread Fletcher Mattox
Rob writes: Did you bother to initialize $table as an array() or are you another lazy slob of a programmer that expects the engine to read your mind (cluttered as that may be)? Bingo. You seem to have no trouble reading my mind, why can't php? :) Years of perl programming has promoted a

[PHP] PDO Error

2005-07-14 Thread Holografix
Hi. When using this example from http://netevil.org/talks/index.php?t=pdos=20, the site of pdo's author I have this error: Fatal error: Call to a member function fetchAll() on a non-object in /www/home/testes/pdo_my1.php on line 17 $dbh = new PDO('mysql:host=localhost;dbname=dbtest', 'user',

RE: [PHP] 404 Not Found - refresh to directory

2005-07-14 Thread Andras Kende
-Original Message- From: Terry Romine [mailto:[EMAIL PROTECTED] Sent: Thursday, July 14, 2005 3:52 PM To: php Subject: [PHP] 404 Not Found - refresh to directory I have a website that has several hundred agents in a mysql database. The client wants to be able to enter the