[PHP] Virtual Directory Support

2003-02-07 Thread Rw
On my phpinfo() it shows Virtual Directory Support to be DISABLED .. does anyone know what the switch setting is called in the php.ini file to ENABLE this setting? Thanks!

Re: [PHP] URLencode issues - halp!

2003-01-23 Thread rw
Some code please! RW Quoting SpyProductions Support Team <[EMAIL PROTECTED]>: ### ### I am having some issues, apparently, with URL encode. ### ### I've got people signing up for a membership on a site, but some of their ### memberships fail because the username, which in encoded

Fwd: Re: [PHP] Mass Mailing with PHP & MySQL

2003-01-19 Thread rw
n't have a lot of experience with mailing scripts, but I use the one found at codingclick.com Anyone else? RW Quoting Justin French <[EMAIL PROTECTED]>: ### A while() loop will, at some point, break. this is because the script ### will ### timeout on the server before you send to an

[PHP] File perms when dir already exists

2003-01-18 Thread rw
file() to set the perms on the remaining files? Any help is greatly appreciated. RW -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Php's future with Asp .NET?

2003-01-15 Thread rw
What is asp.net? It's something to catch a snake with! Quoting Dhaval Desai <[EMAIL PROTECTED]>: ### Hello ppl, ### ### I was just wondering what is php's future with something like Asp .Net ### coming up...I have read many articles by Php guys who think Asp.Net is the ### ### future. If that

Re: [PHP] Images : Store in dB or disk?

2003-01-15 Thread rw
Have a look at: http://vrscenes.com/2003/gallery.php?mls=230944 and tell me what you think - all images are stored in the filesystem Don't worry about what it looks like - I extracted this from the frameset it goes in Cheers! RW Quoting Bobby Patel <[EMAIL PROTECTED]>: ### Hello,

[PHP] Advanced Search

2003-01-14 Thread rw
ot;);} elseif (!$city && !$sub_name && !$address && !$pool && !$waterfront && !$waterview && !$golf && !$type) {$result = mysql_query("SELECT p.* FROM properties p WHERE beds >= $beds ORDER by price asc;");} I don't want to

RE: [PHP] Can I Copy a directory using PHP?

2003-01-13 Thread rw
Careful! use cp instead of mv Quoting "Timothy Hitchens (HiTCHO)" <[EMAIL PROTECTED]>: ### If you are using Unix simply call out the shell using back ticks `mv xxx ### xxx` or check out. ### ### http://www.php.net/manual/en/function.exec.php ### ### ### ### Timothy Hitchens (HiTCHO) ### Open

Re: [PHP] i want to send 2 variables????

2003-01-09 Thread rw
Quoting Ysrael Guzmán <[EMAIL PROTECTED]>: ### ### i like send two variables using: ### ### href="mi page.php?http://www.php.net/) ### To unsubscribe, visit: http://www.php.net/unsub.php ### ### Here's one idea! -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: htt

[PHP] unlink ($files);

2003-01-07 Thread rw
Ok, Jason, here's another one! I think I've read how to delete a file. I need to delete 25 files, then do a rmdir(blah); Line 16: $directory = "path/*.*"; Warning: Unlink failed (No such file or directory) in /mnt/ls6/17/169//htdocs/2003/_admin/del_listing_action.php on line 16 Warning

Re: [PHP] mkdir(blah,0777)

2003-01-07 Thread rw
Thank you, Jason! Quoting Jason Wong <[EMAIL PROTECTED]>: ### On Wednesday 08 January 2003 12:05, [EMAIL PROTECTED] wrote: ### > I have an interesting situation! ### > ### > I get a dir to be made - no problem, but I want it to have the ### permissions ### > 0777. When I look in the directory tha

[PHP] mkdir(blah,0777)

2003-01-07 Thread rw
I have an interesting situation! I get a dir to be made - no problem, but I want it to have the permissions 0777. When I look in the directory that was just created (blah drwxr-x---) are the permissions. This is not acceptable! Lucy, you got some splainin to do! Thanks for your help RW

RE: [PHP] DUMB QUESTION I'M SURE

2003-01-02 Thread rw
Quoting Cesar Aracena <[EMAIL PROTECTED]>: ### Try by adding a backslash to the : there (..."\: "...) ### ### Cesar L. Aracena ### [EMAIL PROTECTED] ### [EMAIL PROTECTED] ### (0299) 156-356688 ### Neuquén (8300) Capital ### Argentina ### ### ### -Mensaje original- ### De: Adam French [m

Re: [PHP] problems with uploading files

2002-12-22 Thread rw
You need to set your php memory limit to twice the amount of any given file you upload. If your memory limit (default 8M) is not twice the size of the file(s) being uploaded it will not work. look in php.ini HTH Quoting Oliver Witt <[EMAIL PROTECTED]>: ### Hi, ### I have a problem with a php s

Re: [PHP] problems with uploading files

2002-12-22 Thread rw
You need to set your php memory limit to twice the amount of any given file you upload. If your memory limit (default 8M) is not twice the size of the file(s) being uploaded it will not work. look in php,ini HTH Quoting Oliver Witt <[EMAIL PROTECTED]>: ### Hi, ### I have a problem with a php s

Re: [PHP] PHP catalog software

2002-12-17 Thread rw
Have you considered OsCommerce? http://oscommerce.com Quoting Christian Calloway <[EMAIL PROTECTED]>: ### Hey everyone, ### ### Im looking for some type of ecatalog/inventory software written PHP thats ### fairly good and that I can extend. Any suggestions? Or should I just I ### write ### my o

Re: [PHP] URL field receiving Array for others

2002-12-16 Thread rw
But what could the user be typing into the field to return an array? I'm completely at a loss. Quoting "Joseph W. Goff" <[EMAIL PROTECTED]>: ### Whatever variable that is suppose to contain the URL is an array. If you ### try to print a variable that is an array the value you get is 'Array'.

[PHP] URL field receiving Array for others

2002-12-16 Thread rw
Hello All! I have a script which inserts a users info into mysql via PHP. Here is the code which does so: $sql = ("INSERT INTO `business` (`id`, `bt_id`, `bus_name`, `bcity`, `phone`, `cell`, `email`, `url`, `details`, `duration`, `s_id`, `license`, `datime`, `comments`,`ip`,`user_id`,`user_pas

Re: [PHP] Need to place a comma into a string of 4 or 5 digits

2002-12-12 Thread rw
Thank you! I knew it would be a snap! The problem no longer exists. Quoting [EMAIL PROTECTED]: ### ### IF you're looking to break digits into thousands by use of a comma ### search ### the manual for number_format. ### ### Ed ### ### ### On Thu, 12 Dec 2002 [EMAIL PROTECTED] wrote: ### ##

[PHP] Need to place a comma into a string of 4 or 5 digits

2002-12-12 Thread rw
Hello All! I am racking my brain and scouring the books and I can't seem to find a solution to this simple problem. Any help is appreciated. Thanks Ruusvuu -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Dynamic results link generated in another frame

2002-11-21 Thread rw
I'm coming up on a challenge. I need to display results from a search in the main frame - not a problem. I also need to copy the generated "get" query to another frame, make it a link so the visitor can return to the original results with one click after surfing through myriad pages in the main fr

Re: [PHP] Server-server file copy question

2002-11-20 Thread rw
Sorry - nevermind! ### Have you considered using rsync? ### ### http://samba.org/rsync ### ### Quoting Richard Fox <[EMAIL PROTECTED]>: ### ### ### Hi, ### ### ### ### I am using PHP 4.4.2.. I need a function to copy a file from one ### server ### ### to ### ### another. The src/dst filenames

Re: [PHP] Server-server file copy question

2002-11-20 Thread rw
Have you considered using rsync? http://samba.org/rsync Quoting Richard Fox <[EMAIL PROTECTED]>: ### Hi, ### ### I am using PHP 4.4.2.. I need a function to copy a file from one server ### to ### another. The src/dst filenames are relative to the Document Root of the ### website, but ### I can

Re: [PHP] Help with variables in email

2002-11-18 Thread rw
Seems to me that you are missing the opening and closing PHP tags () Quoting Clint Tredway <[EMAIL PROTECTED]>: ### I am trying to send an email with form vars inside it but I cannot seem ### to get the vars to be parsed. ### ### Here is my code: ### /* message */ ### $messa

RE: [PHP] sending html email from a web-based form

2002-11-17 Thread rw
Well now, that was easy! Thank you! Quoting "John W. Holmes" <[EMAIL PROTECTED]>: ### > Here is the code that is supposed to do what I want: ### > ### > $headers = "From: \"$name $last\" <$email>\n" . "Reply-To: ### <$email>\n\n"; ### ### Try taking out the extra newline (\n) you have in the a

[PHP] sending html email from a web-based form

2002-11-17 Thread rw
not sent.!"); Instead, I get all of the raw code in the email. Any suggestions? Thanks RW -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] testing

2002-11-17 Thread rw
not sure how to post -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Newbie continued..wrong datatype

2002-07-11 Thread Rw
ument as TRUE, then the search becomes case sensitive, I believe. HTH! >>> "Rw" <[EMAIL PROTECTED]> 07/11/02 02:25PM >>> This is a continue from this morning (thanks so much for the responses).. yielding a data type mismatch: $CheckArr = array("Periodic",

[PHP] Newbie continued..wrong datatype

2002-07-11 Thread Rw
This is a continue from this morning (thanks so much for the responses).. yielding a data type mismatch: $CheckArr = array("Periodic", "Sale", "Return"); IF (SUBSTR($approvalcode,0,1) == "Y" && in_array($CheckArr, $type)) { PRINT "$approvalcode"; PRINT " "; PRINT "$type"; } Th

[PHP] Newbie Logical opertaor question

2002-07-11 Thread Rw
I have been trying this to no avail. Tryng to say the equivalent of: IF (var1 = 1 AND var2 = "a" or "b" or "c") i.e. yield true if 1 and a OR 1 and b OR 1 and c :-) Thanks! -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Date formatting

2002-07-10 Thread Rw
Had trouble getting this posed at the newsgroup - will try on the maillist here: I have a date field passed in a form like this: "01-02-2003" Is there a handy function to convert that to other ways of expressing the date such as: "01/02/03" OR "2003-01-02" I know the syntax of the date form