Re: [PHP] Get when it should be Post

2001-08-02 Thread CC Zona
In article [EMAIL PROTECTED], [EMAIL PROTECTED] (Christian) wrote: Are you quoting the attribute in the real markup (method=POST), or is like you show below? (It might help to throw the whole page at an html validator either way,'cuz even if that line is syntactically valid, there may be

[PHP] Re: Make associative array from two arrays

2001-08-02 Thread elias
same same... Thought there was a PHP function to do that...instead of looping, Tim Ward [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... How about ... foreach ($keys as $key=$value) $new_array[$value] = $vals[$key]; Tim -- From: elias [SMTP:[EMAIL

Re: [PHP] Re: HTTP_SESSION_VARS

2001-08-02 Thread Jon Yaggie
Actually after an hours nap i found the problem. It is not something anyone could have helped me with since i didnt give complete enough code. the very simple solution was stupidly i used it in a function without declaring ir global. all is good now. - Original Message - From:

Re: [PHP] ad tracking system

2001-08-02 Thread B. van Ouwerkerk
At 11:33 2-8-01 -0500, Jack wrote: Hi people, I am looking up for the software that can track all views and click though number of all advertising on my sites, has to fit in to my RAQ server though. Is there any advice? Don't mind paying of course. On the risk of a new attitude thread.. Think

Re: [PHP] Get when it should be Post

2001-08-02 Thread Christian
FORM method=POST action={ACTION} which translates to form method=POST action=adminMembers_2.php Rasmus Lerdorf wrote: Then you have some silly mistake somewhere. Show us the URL. -Rasmus Thanx, tried capitals but it still submits via GET :-/ Rasmus Lerdorf wrote: I've been

[PHP] Re: Hmmm?

2001-08-02 Thread elias
Why you ppl. do this: if ($condition) { //action 1 //action 2 //action 3 } instead of this: if ($condition) { //action 1 //action 2 //action 3 } with the '}' you'll see directly the new code block that belongs to the IF statment. anyway...it's just a style

RE: [PHP] Being a SERVER (you cant kill me, im.... DAMN!!)

2001-08-02 Thread Ralph Guzman
Download a NuSphere release. Depending on which you release you choose, for the most part these include mySQL, PHP, Apache, and I think Perl. I've found the setup to be seamless and very simple even for beginners. http://www.nusphere.com -Original Message- From: Kyle Smith

[PHP] Re: Being a SERVER (you cant kill me, im.... DAMN!!)

2001-08-02 Thread elias
If you're running Windows system and you've got the windonws 98 SE original cdrom, you can just install from it PWS from: CDROMDRIVE:\addons\pws (...) Kyle Smith [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Where do i download the best software (prefebly free)

[PHP] PHP Extension Documentation?

2001-08-02 Thread Darryl Sokoloski
I'm working on a custom PHP extension in C were I work which is going well but I can't seem to find any documentation about the subject @ php.net. Anyone know of such a manual? A PHP/Zend C API document of some sort - from an extension developer's point-of-view? I've tried searching

RE: [PHP] PHP_SELF

2001-08-02 Thread Ralph Guzman
Actually there is no need for you to use exit(); If you choose to use this method cheking for empty fields one at a time rather than all at once; you can simplify your code a bit as follows: If($HTTP_POST_VARS){ if(!$Age) { echo Please enter your age; } elseif(!$Email){ echo Please enter

[PHP] Fw: detecting mysql

2001-08-02 Thread Jon Yaggie
- Original Message - From: sarahana [EMAIL PROTECTED] To: Jon Yaggie [EMAIL PROTECTED] Sent: Thursday, August 02, 2001 6:26 PM Subject: detecting mysql Does anybody here know how to detect with php whether mysql is installed or not.. ? Thanks, I haven't been able to get anything

Re: [PHP] Fw: detecting mysql

2001-08-02 Thread David Robley
On Thu, 2 Aug 2001 16:24, Jon Yaggie wrote: - Original Message - From: sarahana [EMAIL PROTECTED] To: Jon Yaggie [EMAIL PROTECTED] Sent: Thursday, August 02, 2001 6:26 PM Subject: detecting mysql Does anybody here know how to detect with php whether mysql is installed or

Re: [PHP] SetLocal() problem

2001-08-02 Thread Frédéric Mériot
Thanks a lot, but I must precise that I'm running PHP (4.0.6) under NT2000 (client not server) platform. 'fr_FR.ISO_8859-1' does not work too. So, it's not very important, but where can I find the entire list of countries with their ISO code? Thanks. - Original Message - From: Don

RE: [PHP] Being a SERVER (you cant kill me, im.... DAMN!!)

2001-08-02 Thread B. van Ouwerkerk
At 23:29 1-8-01 -0700, Ralph Guzman wrote: Download a NuSphere release. Depending on which you release you choose, for the most part these include mySQL, PHP, Apache, and I think Perl. I've found the setup to be seamless and very simple even for beginners. As far as i've seen NuSphere package is

[PHP] MySql help #1

2001-08-02 Thread elias
How can I update only N fields from the database? usually we do: UPDATE table1 SET field='VALUE' WHERE condition1 now I want to update fields with a certain condition but only X fields out N total fields. ie: id value --- --- 1a 2b 3c 4d 5e how can i update such

[PHP] Mysql Help #2

2001-08-02 Thread elias
Hi again. $result = mysql_query(SELECT id FROM table); $id_array = array(); while ($r = mysql_fetch_array($result)) $id_array[] = $r[id]; // now $id_array[] is an array of IDs that was grabbed from the database. Any faster and/or better approache to build the $id_array? -- PHP General

RE: [PHP] MySql help #1

2001-08-02 Thread Lawrence . Sheed
Sounds like a strange request, what are you trying to do? I don't think you can do this directly in mysql, but you could build an array of results in php. eg something like (crappy code below) //Grab results $db = mysql_connect($db_domain, $db_user,$db_password);

RE: [PHP] SQL syntax error in PHP script. dunno what's wrong

2001-08-02 Thread Tim Ward
I'd always understood that mysql doesn't allow multiple statements to be submitted so this post obviously worried me. I did some tests and confirmed that this is not a problem in MySQL queries from PHP. If I'm wrong about this please let me know. Tim -- From: scott

[PHP] Very strange problem with session files

2001-08-02 Thread Jarek
I have WindowsNT4 Serv PHP 4.0.6/CGI My php.ini includes: (...) session.save_handler = files session.save_path = /tmp session.use_cookies = 1 (...) Problem: When I run PHP script which uses sessions (commands like session_start() etc.) the session file IS created in /tmp BUT cannot be received

[PHP] Re: Being a SERVER (you cant kill me, im.... DAMN!!)

2001-08-02 Thread MindHunter
Hi, Two things: 1. PWS from the CD has a bug, you need to get the patch from MS. The problem is with the MTS. 2. I use Badblue www.badblue.com for easy, fast development. I also recommend Apache above IIS or PWS. Cheers BK Kyle Smith [EMAIL PROTECTED] wrote in message [EMAIL

[PHP] ---- is being an ass!

2001-08-02 Thread Kyle Smith
Ok have installed PHPTriad, when i run apache (gulp) dos opens, all fine BUT when i run PHP.exe well look down (sorry if im not allowed to post pictures but, its small!) -lk6-http://www.StupeedStudios.f2s.comHome of the burning lego man! ICQ: 115852509MSN: [EMAIL PROTECTED]AIM:

Re: [PHP] MySql help #1

2001-08-02 Thread elias
Someone purchased items from my site let's say 3 items out of 5 total. All items are the same. I just want to update 3 items status to Reserved. When he buy he just tell how many and not which ones. Lawrence Sheed [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED] ...

Re: [PHP] ---- is being an ass!

2001-08-02 Thread Alexander Wagner
Kyle Smith wrote: Ok have installed PHPTriad, when i run apache (gulp) dos opens, all fine BUT when i run PHP.exe well look down (sorry if im not allowed to post pictures but, its small!) That attachment was apperantly chopped off. If you want to post a file on this list, just upload it

RE: [PHP] MySql help #1

2001-08-02 Thread Lawrence . Sheed
Have you thought about your database design carefully? You might want to create a column for item count eg id, item name, items in stock 1, frog, 7 if, say a customer orders 3 frogs, decrement the items in stock by 3. Just an idea... Do you know about database normalization? How is

[PHP] ----- BEING AN ASS CLICK HERE NOT ABOVE!!!!!

2001-08-02 Thread Kyle Smith
(the damn thing took my attatchement off!!!) Ok I have installed PHPTriad, when i run apache (gulp) dos opens, all fine BUT when i run PHP.exe well look down http://www.stupeedstudios.f2s.com/probs.gif -lk6- http://www.StupeedStudios.f2s.com Home of the burning lego man! ICQ: 115852509

RE: [PHP] URGENT!!! Can't start Apache with php4 and mysql

2001-08-02 Thread Mark Roedel
-Original Message- From: Richard Kurth [mailto:[EMAIL PROTECTED]] Sent: Thursday, August 02, 2001 5:36 AM To: php Subject: [PHP] URGENT!!! Can't start Apache with php4 and mysql I have read the archives for this problem but I can't seam to fix it. This is on a RedHat 7. I

[PHP] PHPTriad users

2001-08-02 Thread Kyle Smith
Could someone please help me sort out a database on this so i can find out if php works, OR could you people please send me any scripts you have cause i just got php working on my pc and i wanna know what its capable of. -lk6- http://www.StupeedStudios.f2s.com Home of the burning lego man!

Re: [PHP] Mysql Help #2

2001-08-02 Thread Miles Thompson
Looks fine to me Miles At 10:31 AM 8/2/01 +0200, elias wrote: Hi again. $result = mysql_query(SELECT id FROM table); $id_array = array(); while ($r = mysql_fetch_array($result)) $id_array[] = $r[id]; // now $id_array[] is an array of IDs that was grabbed from the database. Any faster

RE: [PHP] PHP-Linux Sybase-Windows

2001-08-02 Thread Andrew Hill
Veniamin, You can use OpenLink's Multi-Tier ODBC drivers for this. Compile PHP --with-iodbc as per the HOWTO at www.iodbc.org. The presence of the iODBC Driver Manager will let you use any ODBC drivers, and then you can do compariative testing. Our drivers download with a free non-expiring

Re: [PHP] URGENT!!! Can't start Apache with php4 and mysql

2001-08-02 Thread Miles Thompson
Richard, I've sometimes had to take a couple of swipes at this, trying both /usr/local/mysql/lib and /usr/local/mysql/lib/mysql And does libmysqlclient.so.10 have a symlink to something like libmysqlclient.so.10.0.0 And because I just checked a second machine, where mysql is installed in a

RE: [PHP] Replacing template variables with values?

2001-08-02 Thread scott [gts]
try using single quotes : preg_replace(/\$(\w+)/e, '${$1}', $template); -Original Message- From: Ryan Fischer [mailto:[EMAIL PROTECTED]] Sent: Wednesday, August 01, 2001 6:37 PM To: [EMAIL PROTECTED] Subject: [PHP] Replacing template variables with values? Hello! :) I have

[PHP] Re: re:mysql help #1

2001-08-02 Thread elias
Thanks! That was exactly what I was looking for! Andras Balogh [EMAIL PROTECTED] wrote in message news:011f01c11b39$174c0b70$[EMAIL PROTECTED]... Hi, Use limit : update mytable set status='Reserverd' where purch_id=1 limit 3; This is mysql specific i think so it won't work with other db.

Re: [PHP] How to Compare dates?

2001-08-02 Thread Rasmus Lerdorf
if ( ( mysql_result($db_result,$db_record,'order_date')=00) Uh, huh? Just try ==0 there. Not =000 -Rasmus -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list

RE: [PHP] ----- BEING AN ASS CLICK HERE NOT ABOVE!!!!!

2001-08-02 Thread Lawrence . Sheed
Oops, Correction - You'll need to run apache first, leave it running, and then try the below. not enough coffee today... -Original Message- From: Sheed, Lawrence -SHNGI -AG Sent: August 2, 2001 5:51 PM To: 'Kyle Smith'; [EMAIL PROTECTED] Subject: RE: [PHP] - BEING AN ASS CLICK HERE

Re: [PHP] Adopt A Newbie (ME)

2001-08-02 Thread Inércia Sensorial
Kyle Smith [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED]... zillion is actually a number? Yes, a number performed by some old cartoon, anime style :-) i just downloaded a program which reads out text for you cause it just gets really boring reading the text, so now its goinfg

Re: [PHP] SQL syntax error in PHP script. dunno what's wrong

2001-08-02 Thread mike cullerton
hmmm, i am seeing the same thing as tim here. are we doing something wrong? i created a test table, entered some dummy data and then using scott's example of '; DELETE FROM seminar; i tried executing insert into test values (0,''; DELETE FROM test; ',1); and got this error ERROR 1064: You

[PHP] Re: Spot the difference?

2001-08-02 Thread Inércia Sensorial
FUD! Kyle Smith [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Whats the difference between ASP and PHP cause ASP has gotta have something good about it cause microsoft uses it! -lk6- http://www.StupeedStudios.f2s.com Home of the burning lego man! ICQ:

Re: [PHP] shtml or php ??

2001-08-02 Thread Dave.O
I have tried the virtual() command but keep receiving error - undefined function, can someone give an example in how to use this ? - Original Message - From: Dave.O [EMAIL PROTECTED] To: php [EMAIL PROTECTED] Sent: Thursday, August 02, 2001 4:26 PM Subject: [PHP] shtml or php ?? Which

[PHP] shtml or php ??

2001-08-02 Thread Dave.O
Which is the best language to use, php or shtml, I use only a couple of SSI commands in shtml to call in headers and footers, and run cgi scripts as below. I thought maybe as I am getting more into php that I should change the files from shtml to php, and use the equivalent commands to call in

[PHP] UDP Port listening, can it be done?

2001-08-02 Thread William Bailey
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi All, I'm currently just playing around with a few things and want to write a script that will listen on a UDP port and then log/process the information. The problem i have it that i don't know if php can do this. I know that you can

[PHP] Spot the difference?

2001-08-02 Thread Kyle Smith
Whats the difference between ASP and PHP cause ASP has gotta have something good about it cause microsoft uses it! -lk6- http://www.StupeedStudios.f2s.com Home of the burning lego man! ICQ: 115852509 MSN: [EMAIL PROTECTED] AIM: legokiller666

Re: [PHP] What would you want in a PHP web host?

2001-08-02 Thread mike cullerton
on 8/1/01 11:22 PM, Richard Lynch at [EMAIL PROTECTED] wrote: caveat--if there are some options that most folks would reasonably call 'optional' or 'dangerous', these shouldn't be expected. i am pretty new at programming and php, so i have no idea if things like this exist. i personally only

[PHP] Syntax

2001-08-02 Thread BRACK
Hi, I'm in a process of doing site with MySQL database, and most of the code I plased in index.php3 (in one file) but I've got some problems with statements: I have: if (isset(...)) { ... } elseif (isset(...)) { ... } elseif (isset(...)) { ... } else { ... } IT DOESNT WORK! but when I do:

[PHP] Mysql join and aliasing with mysql_fetch_object()

2001-08-02 Thread rkirk.com Mail
I'm using a query similar to: select tableA.*, tableB.* from tableA, left join tableB ON tableA.keyfield = tableB.keyfield When I then try to access the column keyfield, after using mysql_fetch_object() e.g. $resultObject-keyfield I get no value returned. What is the correct way to

[PHP] newbie question - apache-win2K-authentication

2001-08-02 Thread Shari Fletcher
Hi all --- I'm having some trouble getting basic authentication working. Either that or my privileges are screwed up, or something. I am running Apache on Windows 2000 and PHP4. I've searched newsgroups, this mailing list, various FAQs and the manual, I think my eyes are crossing. I've got a

Re: [PHP] shtml or php ??

2001-08-02 Thread Rasmus Lerdorf
Which is the best language to use, php or shtml, I use only a couple of SSI commands in shtml to call in headers and footers, and run cgi scripts as below. I thought maybe as I am getting more into php that I should change the files from shtml to php, and use the equivalent commands to call

Re: [PHP] SetLocal() problem

2001-08-02 Thread Don Read
On 02-Aug-2001 Frédéric Mériot wrote: Thanks a lot, but I must precise that I'm running PHP (4.0.6) under NT2000 (client not server) platform. 'fr_FR.ISO_8859-1' does not work too. So, it's not very important, but where can I find the entire list of countries with their ISO code? It's

[PHP] URGENT!!! Can't start Apache with php4 and mysql

2001-08-02 Thread Richard Kurth
I have read the archives for this problem but I can't seam to fix it This is on a RedHat 7 I get this error when I try to start Apache Starting httpd: Syntax error on line 256 of /etc/httpd/conf /httpd.conf: Cannot load /etc/httpd/modules/libphp4.so into server: libmysqlclient.so.10:

Re: [PHP] Adopt A Newbie (ME)

2001-08-02 Thread John Monfort
...And if all else fails, try www.webmonkey.com, devshed.com or search for 'mysql tutorials' on google.com. If you need a desktop reference, then I recommend the following books: 'MySQL and mSQL' -- by O'Reilly 'PHP Professionals'--published by WROX. __John

RE: [PHP] another REGEX question

2001-08-02 Thread Jack Dempsey
Try $str = preg_replace(p.*?, ,$str); jack -Original Message- From: Julian Simpson [mailto:[EMAIL PROTECTED]] Sent: Thursday, August 02, 2001 5:16 PM To: [EMAIL PROTECTED] Subject: [PHP] another REGEX question I have a string can look like either of the following: psome stuff/p p

Re: [PHP] Spot the difference?

2001-08-02 Thread Tom Carter
A fairly detailed disucission, altho slightly out of date http://php.resourceindex.com/Documentation/Reviews_and_Analysis/PHP_vs._ASP/ and one on the dangers of advocacy http://www.perl.com/pub/a/2000/12/advocacy.html -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail:

RE: [PHP] How to Compare dates?

2001-08-02 Thread scott [gts]
it also appears that you're checking for the same thing over and over and over '0' is the same as 0 and 00 is the same as 0 and 00 is the same as '00' try checking for either 0 or -00-00 -Original Message- From: Tim [mailto:[EMAIL PROTECTED]]

RE: [PHP] What would you want in a PHP web host?

2001-08-02 Thread Kurt Lieber
OK, this bugs me. Jeff -- you're obviously getting a kickback for any business you refer to them -- why not mention that in your email so we all know you have some financial interest in the company? --kurt -Original Message- From: Jeff Pearson [mailto:[EMAIL PROTECTED]] Sent:

Re: [PHP] Spot the difference?

2001-08-02 Thread John Monfort
...ASP has gotta have something good about it cause microsoft uses it! Hmm...you can get in sooo much trouble with that statement. Microsoft, in any language, is not a synonym for 'quality'. Innovative? maybe. Quality? no. That statement should be your first reason why PHP is better. :-)

Re: [PHP] Adopt A Newbie (ME)

2001-08-02 Thread mike cullerton
dude, aren't you being a little harsh? I hereby nominate Kyle as the official George W. Bush of the PHP General mailing list. Anyone second it? to dubya, that is :) -- mike cullerton -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For

[PHP] GetImageSize()

2001-08-02 Thread John Hurleston
I started to use this command in my soft about 3 months ago and all went well, I've had to do some re-organising and I changed the varable that holds the old image root, to the new image root and ofcouse moved the images, but now my GetImageSize() doesn't work any more,

Re: [PHP] URGENT!!! Can't start Apache with php4 and mysql

2001-08-02 Thread Thomas Deliduka
What I did was this: ln -s /usr/local/mysql/lib/mysql/libmysqlclient.so.10 /usr/lib/libmysqlclient.so.10 (that should be only one line) This fixed my problem. On 8/2/2001 6:36 AM this was written: I have read the archives for this problem but I can't seam to fix it This is on a RedHat 7

[PHP] .shtml or .php ?

2001-08-02 Thread David Ovens
The Virtual() command works on my hosting server, I am running windows, idigostart perl/apache with php4 installed, how do I get this virtual() command to work on my machine, I assumed that the php4 I had installed was an apache module. I have .shtml pages using includes for html, and exec cgi

RE: [PHP] Syntax

2001-08-02 Thread Mark Roedel
-Original Message- From: Tim [mailto:[EMAIL PROTECTED]] Sent: Thursday, August 02, 2001 10:41 AM To: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Subject: Re: [PHP] Syntax You need to do: else if (isset(...)) { Actually, elseif is a valid construct. See

Re: [PHP] Phone Number #s Only?

2001-08-02 Thread mike cullerton
on 8/2/01 5:32 PM, Jeff Oien at [EMAIL PROTECTED] wrote: Is there a routine out there to strip all characters from a phone number except the numbers? I was going to write my own but figured there must already be one out there I can use. Thanks. Jeff Oien ereg_replace ([^0-9],,$string); --

[PHP] question about PHP manual and ImageCopyMerge() function

2001-08-02 Thread Kurt Lieber
For the ImageCopyMerge() function in the PHP manual (http://php.net/manual/en/function.imagecopymerge.php) it states at the top that (PHP 4 = 4.0.1) is required in order to use it. However, farther down the page, it says Note: This function was added in PHP 4.0.6 Am I mis-reading something?

[PHP] possible switch() bug in 4.0.6 ?

2001-08-02 Thread Chris Lee
4.0.6 apxs warning = E_ALL; ? switch($search) { case 'date': echo 'date'; break; case 'people': echo 'people'; break; case 'keyword': echo 'keyword'; break; default: echo 'default'; break; } ? Warning: Undefined variable: search in

Re: [PHP] another REGEX question

2001-08-02 Thread James, Yz
Hi Julian, personally, I'd take out both tags, using something like: $str = preg_replace(/\/?p.*?/i, , $str); Which gets rid of: p p align=whatever /p Or any case insensitive matches. That's probably just me though ;) James. Julian Simpson [EMAIL PROTECTED] wrote in message

[PHP] Adopt A Newbie (ME)

2001-08-02 Thread Kyle Smith
Ok, im trying to cut down on the posts here but this time im really stuck, so could somebody guide me through the usage of mySQL and PHP and show me how to input data into a mySQL database and read it, or just redirect me to another page (which is what normally happens) NOTE: i am using

Re: [PHP] Re: Netscape Enterprise Server

2001-08-02 Thread Herman Tolentino
- Original Message - From: R. [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, August 02, 2001 11:07 AM Subject: [PHP] Re: Netscape Enterprise Server On which system? You can fined for Win9x an Nt/2000 a lot of usefull info there:

[PHP] Database classe to work with Oracle

2001-08-02 Thread pierre-yves
Hello, I need to convert an application that run on mysql to an oracle database. The application strickly use the db_mysql class from phplib. Can anyone suggest me another class and maybe common pitfalls to avoid ? Thank you, py

Re: [PHP] Syntax

2001-08-02 Thread Tim
You need to do: if (isset(...)) { ... } else if (isset(...)) { ... } else if (isset(...)) { ... } ... On 02 Aug 2001 17:10:26 +0200, BRACK wrote: Hi, I'm in a process of doing site with MySQL database, and most of the code I plased in index.php3 (in one file) but I've got some

Re: [PHP] Spot the difference?

2001-08-02 Thread Ezra Nugroho
Yes, ASP is revenue generating to Misocroft. PHP is free, so it's no good for them. At 04:34 PM 8/2/2001 -0700, Kyle Smith wrote: Whats the difference between ASP and PHP cause ASP has gotta have something good about it cause microsoft uses it! -lk6- http://www.StupeedStudios.f2s.com Home of

[PHP] Apache

2001-08-02 Thread [EMAIL PROTECTED]
This is just a little bit off-topic - sorry I'm running Mandrake 8.0 and am pretty new to Linux. I want to download my entire website to my hard drive and put it in hte /var/www folder, but apache is the owner and the group for that directory. I'm just wondering, if I chown the directory so

RE: [PHP] Spot the difference?

2001-08-02 Thread Ezra Nugroho
Thanks for the info, I am a PHP developer who will have to maintain some outsourced (darned) ASP codes. For all ASP converts who are currently converting, look at http://asp2php.naken.cc/ At 04:18 PM 8/2/2001 -0400, [EMAIL PROTECTED] wrote: Hokay, my 2p... I'm a (former) ASP programmer who

RE: [PHP] Q: Hiding Folder Directories from public while still...

2001-08-02 Thread scott [gts]
if you're using apache, there's a *much* easier/secure way of doing this. setup an .htaccess file to restrict access to certain username/passwords. check out both: man htaccess man htpasswd -Original Message- From: Jon Yaggie [mailto:[EMAIL PROTECTED]] Sent: Thursday, August 02,

[PHP] Q: Hiding Folder Directories from public while still...

2001-08-02 Thread Marcus James Christian
Hello, How does one do the trick of hiding a folder's directory listing from a public browser? i.e. Lets say the full address is www.mysite.com/php/magicphppage.php Well I still need some other files to read and write to magicphppage.php I don't want the public to be able to simply type

Re: [PHP] Phone Number #s Only?

2001-08-02 Thread Martin Cameron
Just as the solution to spray paint the m/b green made me smile, this did too. This will strip out all characters except numerals at the beginning, right! martin Cameron On Fri, 03 Aug 2001 11:52, you wrote: on 8/2/01 5:32 PM, Jeff Oien at [EMAIL PROTECTED] wrote: Is there a routine out

RE: [PHP] another REGEX question

2001-08-02 Thread Jack Dempsey
Glad to hear...steve's post was a good one...something else to think about: sometimes people go for the .*? method, and sometimes the [^]* way...they give the same results in most cases, but the .*? will match the least amount it can, using the dot...the negation will match anything...so, unless

[PHP] ODBC

2001-08-02 Thread jtjohnston
Can someone show me how to display the contents of a table in a MS Access file using ODBC on my Windows machine? Thanks, John -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list

[PHP] HTML file with variable replacement.

2001-08-02 Thread Jason Bell
Ok, I'm trying to seperate my php from my html the method I've been trying to use is like so: $html = fread(fopen(htmlpage.html, r), filesize(htmlpage.html)); print $html; This works perfectly fine, except if I want to use a variable lets say that my htmlpage.html includes the

Re: [PHP] software localization with PHP

2001-08-02 Thread Colin Viebrock
I was just looking through the mailing list archives for some help with my gettext problem (basically, I can't get it to work). Anyway, I came across your post: Thanks for the reply. This will not solve my problem. The problem is, for some languages the sentence structure may be different.

Re: [PHP] Adopt A Newbie (ME)

2001-08-02 Thread Marty Landman
At 01:36 PM 8/2/01 -0700, Kyle Smith wrote: could somebody guide me through the usage of mySQL and PHP and show me how to input data into a mySQL database and read it Kyle, I wrote a script which does all that and it's open source. You can see the script in action if you go to the Stupid Web

[PHP] (//// === huh??)

2001-08-02 Thread Gerard Samuel
In my script that puts out a form I have a drop down list which include == echo option$Education/option\n; echo optionBachelor's Degree/option\n; It uses a $PHP_SELF target. After the form is submitted, on the new page, in the textbox I have Bachelor\\\'s Degree getting outputed by $Education

[PHP] Re: Strange behaviour while adding a line at the BOF

2001-08-02 Thread Er Galvão Abbott
On Wed, 1 Aug 2001 15:13:10 -0500, [EMAIL PROTECTED] (Richard Lynch) wrote: I'm going nuts trying to add a line of data in the beginning of a text file. Files are like cassette tapes. You can't add something at the beginning without re-copying everything somewhere else first, and then back

Re: [PHP] html parsing question

2001-08-02 Thread mike cullerton
on 8/2/01 5:30 PM, Chuck Barnett at [EMAIL PROTECTED] wrote: Hi I have a question about parsing a page on another server to grab some headlines. I want to search down the page until I find a string -headlines- then I want to grab everything between the next pair of table/table tags.

[PHP] Emailing the results of form entry NOT working

2001-08-02 Thread Denis Croombs
I am using the form below, and it works except for sending the message to the user, any ideas/clues ? Being so close to it working is driving me nuts ! !doctype HTML PUBLIC -//W3C//DTD HTML 4.01 Transitional//EN html head titleFeedback Form/title /head body form action=simplefeedback.php

Re: [PHP] Adopt A Newbie (ME)

2001-08-02 Thread Michael J. Seely
HI I don't know why you are like G.Bush. But I have a vision that formed while scanning some of the lists recent postings. I see a man shoveling snow, again, from the sidewalk. While this is going on a kid is running around building a snow man, making a fort, throwing snow balls,

RE: [PHP] Oh and one more thing

2001-08-02 Thread scott [gts]
it's a little bit complicated, but here goes. 1) format your harddrive 2) take out your motherboard and spraypaint it bright orange. 3) dance around the desk three times holding the motherboard above your head chanting mail mail, give me mail date date, give me date

RE: [PHP] another REGEX question

2001-08-02 Thread Julian Simpson
hahah that had two interesting effects the first was that it left the and the second was that it turned off all the highlighting in my editor due to the ? any idea how to include the braces in the match and perhaps not using the ? string for the sake of convenience :) Julian 8/2/01

Re: [PHP] Re: FAQ

2001-08-02 Thread Brian White
If I am talking to other geeky types I explain the full history of Personal Home Page outgrowing it's name to become PHP: Hypertext Processor , recursive like GNU ete. etc. If I am talking to non geeky types, and they bother to ask, I go with Professional Hypertext Processor. Brian At