Re: [PHP] Nested functions

2002-02-10 Thread DL Neil
Thanks for the confirmations Torben. Can one code user-defined functions nested within one another Yes. - and repeatedly execute them? No. ;) This is correct. As you know, the thing is that execution keeps running into that function declaration every time the containing function is

php-general Digest 10 Feb 2002 10:00:24 -0000 Issue 1163

2002-02-10 Thread php-general-digest-help
php-general Digest 10 Feb 2002 10:00:24 - Issue 1163 Topics (messages 84139 through 84157): Re: mysql_select_db() problem 84139 by: Lars Torben Wilson 84148 by: Nick Wilson Colecting IP information 84140 by: Philip J. Newman 84149 by: cyberskydive Re:

Re: [PHP] mysql_select_db() problem

2002-02-10 Thread DL Neil
What do you get if you use error checking? Well, that seems to be it, I'm getting 'Access deneid to user '@localhost'. I'm talking to a guy on the mysql list, apparently it is a phenomememememememmemonmmm that when you GRANT ALL using wildcards it tends to grant all on * except

Re: [PHP] Sitenavigation

2002-02-10 Thread Nick Wilson
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 * and then Raymond Lilleodegard declared Hi! Is i possible to make a function that makes a prev and a next link on the page if it returns, say over 20 rows or hits in a query? Could anyone give me a hint if they know how to? There is a

[PHP] possible bug in date() function

2002-02-10 Thread LaserJetter
Using the code below: $buffer['Last_access'] = 1013336429; $date = date(H:i D, nS M Y,$buffer['Last_access']); print $date; prints 10:20 Sun, 2th Feb 2002 I didnt know there was a 2th of February!! Is this a bug and do I get a prize for finding it? ;o) LJ -- PHP General Mailing List

[PHP] subject line in mail()

2002-02-10 Thread Kunal Jhunjhunwala
Hey, I'm trying to force a subject line on the reply email of a recieved email... the recieved email is sent using the mail() function in php... can this be done? I know i can do it using html by doing : mailto:[EMAIL PROTECTED]?subject=subect comes here but not everyone allows html email... can

Re: [PHP] subject line in mail()

2002-02-10 Thread Kunal Jhunjhunwala
yea... this sends out the email just fine... but if a user replies to the email sent out via this method, the sbuject line changes... i want to keep it static :) Regards, Kunal Jhunjhunwala Minds think with ideas, not information. No amount of data, bandwidth, or processing power can substitute

Re: [PHP] subject line in mail()

2002-02-10 Thread Kunal Jhunjhunwala
hi, hidden value where?? :) Regards, Kunal Jhunjhunwala Minds think with ideas, not information. No amount of data, bandwidth, or processing power can substitute for inspired thought. - Clifford Stoll - Original Message - From: TV Karthick Kumar [EMAIL PROTECTED] To: Kunal Jhunjhunwala

Re: [PHP] possible bug in date() function

2002-02-10 Thread Edward van Bilderbeek - Bean IT
it was last week though... guesss you mean 29th? Edward LaserJetter [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Using the code below: $buffer['Last_access'] = 1013336429; $date = date(H:i D, nS M Y,$buffer['Last_access']); print $date; prints 10:20

[PHP] Searching class capable of parsing ID3-tags in MP3-files

2002-02-10 Thread Stefan Rusterholz
I I search a class to parse mp3-files' id3 tag. I already found one at upperdesign.com but it seems not to be capable of parsing newer versions of the id3 tag :( So does anyone know an already existing class doing that for me? TIA Stefan Rusterholz -- PHP General Mailing List

[PHP] Re: possible bug in date() function

2002-02-10 Thread LaserJetter
I've just realised that the suffix for the day of the month is correct for today (1013336429) but it isn't the 2nd today and my clock is set right. Anyone got any ideas? Laserjetter [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Using the code below:

Re: [PHP] Searching class capable of parsing ID3-tags in MP3-files

2002-02-10 Thread Girish Nath
Hi There is a class that can manipluate version 1 tags here : http://leknor.com/code/php/view/class.id3.php.txt and a some beta code for handling version 2 tags here : http://leknor.com/code/php/view/beta/class.id3v2.php.txt I don't know if that helps. Regards Girish --

[PHP] APACHE .htaccess and PHP 403 errors

2002-02-10 Thread Andre Bajew
Hi, Anyone out there familiar with Apache's .htaccess running PHP scripts? I'm using Apaches's mod_rewrite to route some virtual hosts which runs great but is causing HTTP Error 403 - Access forbidden errors just for my .php scripts. I assume there is some sort of .htaccess statement that will

[PHP] How can I open URL using HTTP POST instead of HTTP GET?

2002-02-10 Thread Zlutarch G.
Hi everyone, PHP fopen function opens URL using the HTTP GET method. But what if one could only open the web page using the HTTP POST method? In this case, fopen won't work. Is there a PHP function that is similar to fopen, but uses HTTP POST method to open URL instead? If not, then how do I

[PHP] cookie problem

2002-02-10 Thread Impex Holidays Maldives / Hasan
Hi all, Perhaps some one can help me. If I send a cookie like setcookie(+ACI-cookie+AF8-agtpasswd+ACI-,+ACQ-form+AF8-agent+AF8-pass, time()+-1200, +ACI-/+ACI-)+ADs- it does not work on the terminal which has a new version of windows 2000 and i use IE6. The browser does not store the cookie.

[PHP] Re: How can I open URL using HTTP POST instead of HTTP GET?

2002-02-10 Thread Hugh Bothwell
Zlutarch G. [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Hi everyone, PHP fopen function opens URL using the HTTP GET method. But what if one could only open the web page using the HTTP POST method? In this case, fopen won't work. Is there a PHP function

RE: [PHP] Re: How can I open URL using HTTP POST instead of HTTP GET?

2002-02-10 Thread James Cox
http://php.net/curl -Original Message- From: Hugh Bothwell [mailto:[EMAIL PROTECTED]] Sent: Sunday, February 10, 2002 4:31 PM To: [EMAIL PROTECTED] Subject: [PHP] Re: How can I open URL using HTTP POST instead of HTTP GET? Zlutarch G. [EMAIL PROTECTED] wrote in message

[PHP] Creating an array with a file

2002-02-10 Thread Scott
Hi All, I am trying to create an array from a text file that I will process and rewrite in a new format. My question is, is it possible to read the file in one line at a time and then separate the tab-delimited fields and finally rewrite the new file? The fields are tab delimited and here is

RE: [PHP] Creating an array with a file--Fixed

2002-02-10 Thread Scott
Nevermind, I was able to figure it out using: $myfile = file(oldfile.txt); for ($s=0; $s=count($myfile)-1; $s++) { $fields = split(\t,$myfile[$s]); print($fields[1]\n); } -Original Message- From: Scott [mailto:[EMAIL PROTECTED]] Sent: Monday, February 11, 2002 12:33 PM To:

Re: [PHP] Phatt MySQL entry

2002-02-10 Thread Peter J. Schoenster
On 10 Feb 2002, at 14:30, Liam MacKenzie wrote: I have a form, with 196 fields that I need entered into a database. But the form and it's contents need to be changed every day, and I That distracts me. Does the form change? I think not. It looks like a data entry form and the only thing that

[PHP] Expat Installation on windows

2002-02-10 Thread karthikeyan
Hi Guys, How do i install expat on WinNt. I have php-4.0.6. Looking forward for yours response. karthikeyan.

[PHP] Re: mime emails

2002-02-10 Thread Michael Kimsal
Kunal Jhunjhunwala wrote: hey.. does anyone know of any good classes / functions for handling mime emails? i am writing a mail checker, and was wondering if there are any pre-written mime email handling classes out there... thanks! Regards, Kunal Jhunjhunwala Minds think with ideas, not

[PHP] my math stinks

2002-02-10 Thread Gary
Hi All, This is the first time I have had to deal with math. I have gone through the manual and a few books and I think I am worse off then when I started. Can someone give me an example of the simple math below. I think If I see some in code I can move on from there. I need to find out if

Re: [PHP] my math stinks

2002-02-10 Thread Lars Torben Wilson
On Sun, 2002-02-10 at 11:05, Gary wrote: Hi All, This is the first time I have had to deal with math. I have gone through the manual and a few books and I think I am worse off then when I started. Can someone give me an example of the simple math below. I think If I see some in code I

Re: [PHP] my math stinks

2002-02-10 Thread Jason Wong
On Monday 11 February 2002 03:05, Gary wrote: Hi All, This is the first time I have had to deal with math. I have gone through the manual and a few books and I think I am worse off then when I started. Can someone give me an example of the simple math below. I think If I see some in code I

Re: [PHP] my math stinks

2002-02-10 Thread Andrew Brampton
$answer = abs($pa - $pb) + $ca +$ps; No ifs :) Maybe I'm lazy, but I like 1 line statements Andrew - Original Message - From: Gary [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Sunday, February 10, 2002 7:05 PM Subject: [PHP] my math stinks Hi All, This is the first time I have

[PHP] Re: Phatt MySQL entry

2002-02-10 Thread Michael Kimsal
Liam Mackenzie wrote: Hi, I was wondering what you would do in this situation... I have a form, with 196 fields that I need entered into a database. But the form and it's contents need to be changed every day, and I need to store the old data in an archive so it can be accessed at a

[PHP] Re: subject line in mail()

2002-02-10 Thread Michael Kimsal
Kunal Jhunjhunwala wrote: Hey, I'm trying to force a subject line on the reply email of a recieved email... the recieved email is sent using the mail() function in php... can this be done? I know i can do it using html by doing : mailto:[EMAIL PROTECTED]?subject=subect comes here but not

RE: [PHP] escaping ?

2002-02-10 Thread Martin Towell
what about this? $contents = str_replace('?xml version=1.0?'.'', '', $contents); -Original Message- From: Steven Jarvis [mailto:[EMAIL PROTECTED]] Sent: Saturday, February 09, 2002 8:46 AM To: [EMAIL PROTECTED] Subject: [PHP] escaping ? I'm trying to do some string replaces on XML

php-general Digest 10 Feb 2002 22:08:34 -0000 Issue 1164

2002-02-10 Thread php-general-digest-help
php-general Digest 10 Feb 2002 22:08:34 - Issue 1164 Topics (messages 84158 through 84186): Re: mysql_select_db() problem 84158 by: DL Neil Re: Sitenavigation 84159 by: Nick Wilson possible bug in date() function 84160 by: LaserJetter 84164 by: Edward van

[PHP] Interest in Project

2002-02-10 Thread Viper
Hi every one I am going to be working on a site that will contain hopefully a single point where people can get php class files, Sorce code help, and MySQL database help, Plus a kind of comunity for PHP. I know there are other site such as this but I would like to create a 1 place for all type

[PHP] file redirect?

2002-02-10 Thread Ed Lazor
I'm trying to figure something out and thought I'd see if you guys have any ideas. The goal: tracking the number of downloads for files on the server. The approach: routing file downloads through /download.php like this: http://server/download.php?target=/myfile.zip What I tried

[PHP] got some advice.... need to know the lingo

2002-02-10 Thread Ben Turner
Hello everyone, I am working on converting a site from ASP to PHP and I was wondering if their where any built in functions to perform screen scraping. In ASP, the XML DOM is most commonly used to accomplish this. I am thinking that there should be something to get the task done in PHP but I

Re: [PHP] file redirect?

2002-02-10 Thread Bogdan Stancescu
Well, you have to send the actual file - otherwise the result of a zero-length file is not surprising at all. Bogdan Ed Lazor wrote: I'm trying to figure something out and thought I'd see if you guys have any ideas. The goal: tracking the number of downloads for files on the server. The

Re: [PHP] Creating an array with a file

2002-02-10 Thread Bogdan Stancescu
You need to actually read the file in order for this to work. You're just opening it and then printing the file handle... Bogdan Scott wrote: Hi All, I am trying to create an array from a text file that I will process and rewrite in a new format. My question is, is it possible to read the

Re: [PHP] file redirect?

2002-02-10 Thread Philip J. Newman
what about this? ?php header(Location: $url_to); exit; ? http://server/download.php?url_to=/myfile.zip check out http://www.philipsdomain.com/hyperlinks/ for a redirect sample. - Original Message - From: Ed Lazor [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent:

[PHP] weblog lite

2002-02-10 Thread Vincent Stoessel
Hello, I am interested in adding a small weblog to an existing php driven site. I've seen the Nuke stuff but that may be a little overkill for me I just want a simple system for allowing users to post stories about the site's main topic , a follow up discussion forum a la slashdot.org and

Re: [PHP] file redirect?

2002-02-10 Thread Ed Lazor
At 12:58 AM 2/11/2002 +0200, Bogdan Stancescu wrote: Well, you have to send the actual file - otherwise the result of a zero-length file is not surprising at all. That makes sense. I thought the last line was doing that. How would I do it in a way that works for local and remote files?

Re: [PHP] file redirect?

2002-02-10 Thread Bogdan Stancescu
Ah, didn't know you also serve remote files. In this case Philip's solution makes much more sense - otherwise you'll have to download the file on the server side and upload it to the client, which is way too much fuss to worth it. Bogdan Ed Lazor wrote: At 12:58 AM 2/11/2002 +0200, Bogdan

[PHP] Re: got some advice.... need to know the lingo

2002-02-10 Thread Michael Kimsal
Ben Turner wrote: Hello everyone, I am working on converting a site from ASP to PHP and I was wondering if their where any built in functions to perform screen scraping. In ASP, the XML DOM is most commonly used to accomplish this. I am thinking that there should be something to get the

[PHP] Re: got some advice.... need to know the lingo

2002-02-10 Thread Michael Kimsal
Ben Turner wrote: Hello everyone, I am working on converting a site from ASP to PHP and I was wondering if their where any built in functions to perform screen scraping. In ASP, the XML DOM is most commonly used to accomplish this. I am thinking that there should be something to get the

Re: [PHP] Re: got some advice.... need to know the lingo

2002-02-10 Thread Ben Turner
Well not so much processing XML but rather grabbing HTML input and parsing it for certain values. I use this approach very heavily for inputing a DB table with information that needs to be displayed back to the web users. Ben - Original Message - From: Michael Kimsal [EMAIL PROTECTED]

Re: [PHP] Interest in Project

2002-02-10 Thread Peter J. Schoenster
On 10 Feb 2002, at 17:23, Viper wrote: Hi every one I am going to be working on a site that will contain hopefully a single point where people can get php class files, Sorce code help, and MySQL database help, Plus a kind of comunity for PHP. I know there are other site such as this but I

RE: [PHP] Creating an array with a file

2002-02-10 Thread Scott
I am seeking some thoughts on if this is the way I should tackle this problem. I have two files, both of them tab delimited text files that I need to combine and then output a new file. My idea was to put both files in an array, calling the fields I need, i.e. $field[0], $field[1] and so on. I

Re: [PHP] Fooling the client into thinking php script is .jpg

2002-02-10 Thread Liam MacKenzie
Add this inno the appropriate virtual-host Directory /path/to/the/folder/with/the/jpg/script AddType application/x-httpd-php .jpg /Directory This will parse all .jpg files to the PHP interpreter. Hope that helped! - Original Message - From: Matt Moreton [EMAIL PROTECTED] To: [EMAIL

[PHP] email validation (discussion)

2002-02-10 Thread Justin French
Greetings, I saw this posted in this group a few days back: function validEmail($email) { if (eregi(^[a-z0-9]+([-_\.]?[a-z0-9])+@[a-z0-9]+([-_\.]?[a-z0-9])+\.[a-z]{2,4}, $email)) { return TRUE; } else { return FALSE; } } I passed it onto a programmer

Re: [PHP] Interest in Project

2002-02-10 Thread Viper
I may have worded this wrong. The site will focus on PHP and the use of Databases with PHP, (Oracle, Postgres, MySQL, others...). I was typing fast and just threw MySQL out :) I do quite a bit of development in PHP and MySQL so I am most familiar with it. I am also very familiar with Oracle. I

Re: [PHP] Interest in Project

2002-02-10 Thread Liam MacKenzie
It does indeed! http://www.phinpho.com/ I got the domain a couple of weeks ago, and I have a couple of mates who are keen to set it all up, now all we need is a boot in the arse to get it going! I have some neat servers and a phatt connection. It'll do to get us started, but may need some

[PHP] Array scanning stops by itself before reaching the end.

2002-02-10 Thread Raúl Sánchez T .
I got this stupid problem: I create an HTML list of inputs: input name=Answer[] type='checkbox' that stretches to some 25 elements. When I try to read the values (on or off) with the code below, PHP won't read past the 8th. element and says it's found an undefined variable (which is $x). No

Re: [PHP] Interest in Project

2002-02-10 Thread Peter J. Schoenster
On 10 Feb 2002, at 21:17, Viper wrote: I may have worded this wrong. The site will focus on PHP and the use of Databases with PHP, (Oracle, Postgres, MySQL, others...). I was typing fast and just threw MySQL out :) I do quite a bit of development in PHP and MySQL so I am most familiar with

Re: [PHP] Interest in Project

2002-02-10 Thread Viper
I dont think any of us can break the E-mail habbit :) I agree with you there are alot of sites out there. That is a good idea to show ways to do things in different DB's sort of a DB centric site. I guess the main focus of the site is community help. Not only code snippet stuff. But Forums and

[PHP] Rounding....

2002-02-10 Thread Matthew Clark
Seeing as the mathematically correct way to round numbers is to round down to n for n-1=m=n.5 and up to n+1 for n.5mn+1, I wonder why the PHP round() function couldn't include a little 'fuzz' to handle the rounding problems we encounter due to floating point representation in the hardware? It

[PHP] 2 conditions why wont they work??

2002-02-10 Thread Brad Wright
Hi all, Im was sure you could select a row from a mySQL database based on 2 conditions. My code: $query2 = select * from Table where userNo = $userNo and clientID = $clientID; $result2 = mysql_query($query2,$db); This returns : Warning: Supplied argument is not a valid MySQL result resource

Re: [PHP] Array scanning stops by itself before reaching the end.

2002-02-10 Thread Bogdan Stancescu
Are you actually checking more than eight checkboxes? Otherwise you don't _get_ the ones which are unchecked at all - that's the way it works. The ideal way to do this - if you have to do it with arrays - is to walk $Answer and check WHAT'S in there, rather than IF there is something in there.

Re: [PHP] 2 conditions why wont they work??

2002-02-10 Thread Bogdan Stancescu
Do an echo($clientID) before - it most probably is either empty or it's a string and MySQL actually issues errors there. Bogdan Brad Wright wrote: Hi all, Im was sure you could select a row from a mySQL database based on 2 conditions. My code: $query2 = select * from Table where userNo =

RE: [PHP] 2 conditions why wont they work??

2002-02-10 Thread Matthew Clark
Yes - that's most likely the answer.. if the echo doesn't help, try something like this.. $result2 = mysql_query($query2,$db) or die(mysql_error()); If mysql is throwing up an error, that'll present it too you and stop execution.. -Original Message- From: Bogdan Stancescu

Re: [PHP] 2 conditions why wont they work??

2002-02-10 Thread Brad Wright
Thanks, $clientID is a string but is not empty...already tried echo($clientID) and it is not empty. Did you mean that if the value of $cientID is a string it wont work Thanks Brad From: Bogdan Stancescu [EMAIL PROTECTED] Date: Mon, 11 Feb 2002 05:38:31 +0200 To: Brad Wright [EMAIL

Re: [PHP] Fooling the client into thinking php script is .jpg

2002-02-10 Thread Bogdan Stancescu
...however, this may not be the best solution since actual JPEG's accidentally containing the ? string will issue errors (!) on your server. The proper way to do this is leave it .php if possible. Bogdan Liam MacKenzie wrote: Add this inno the appropriate virtual-host Directory

Re: [PHP] 2 conditions why wont they work??

2002-02-10 Thread Bogdan Stancescu
No, with your syntax it won't. You have to quote it in the query, as in $query2 = select * from Table where userNo = $userNo and clientID = '$clientID'; Bogdan Brad Wright wrote: Thanks, $clientID is a string but is not empty...already tried echo($clientID) and it is not empty. Did you

Re: [PHP] 2 conditions why wont they work??

2002-02-10 Thread Brad Wright
Ahh..that seems to have fixed it. Its now pulling NO data, but is not giving error msg thanks, 1/2 way there now :) brad From: Bogdan Stancescu [EMAIL PROTECTED] Date: Mon, 11 Feb 2002 05:46:46 +0200 To: Brad Wright [EMAIL PROTECTED] Cc: PHP General List [EMAIL PROTECTED] Subject: Re:

RE: [PHP] 2 conditions why wont they work??

2002-02-10 Thread Matthew Clark
In your code below, mysql will throw an error if $clientID is empty or non-numeric because it is not surrounded with quotation marks.. mysql will treat it as a field name (or just throw a syntax error if it's empty). -Original Message- From: Brad Wright [mailto:[EMAIL PROTECTED]] Sent:

Re: [PHP] APACHE .htaccess and PHP 403 errors

2002-02-10 Thread Bogdan Stancescu
Just a guess, but is it possible that you get 403 because of file permissions? Sorry if this is stupid, but I vaguely remember something similar related to file permissions, so I took the chance... :-) Bogdan Andre Bajew wrote: Hi, Anyone out there familiar with Apache's .htaccess running

Re: [PHP] 2 conditions why wont they work??

2002-02-10 Thread Bogdan Stancescu
Well, that's probably because of the data - no entries with both conditions satisfied... Use or if that's what you actually want to do. ;-) Bogdan Brad Wright wrote: Ahh..that seems to have fixed it. Its now pulling NO data, but is not giving error msg thanks, 1/2 way there now :)

Re: [PHP] Rounding....

2002-02-10 Thread Bogdan Stancescu
I guess that's because nobody knows beforehand which direction the fuzz should go - should it go a little upwards or a little downwards in order to match all systems? Just my two cents. Bogdan Matthew Clark wrote: Seeing as the mathematically correct way to round numbers is to round down to

Re: [PHP] 2 conditions why wont they work??

2002-02-10 Thread Brad Wright
Bogdan, It appears that $clientID is saved with a space at the start .. when i check for its value (using session_encode() ) it gives that value test 3 when it should be test 3. input type=hidden name=XclientID value=?php echo $row[clientID];? this is the extract form the form on the

Re: [PHP] 2 conditions why wont they work??

2002-02-10 Thread Bogdan Stancescu
Most unusual indeed. The quick/ugly solution is to trim() the incoming $clientID. But that's not appropriate if you expect valid entries starting with a space (well, two spaces in your case) :) Gotta hit the sack now - check out the time over here! :) Bogdan Brad Wright wrote: Bogdan, It

Re: [PHP] File Upload Performance

2002-02-10 Thread Vincent Stoessel
Linn Kubler wrote: I've setup an upload form for uploading files to my server. It seems to work well except the performance is pretty sad. For example it took 20 minutes to upload a 50MB file over a 100Mb LAN. This is running on Linux w/Apache. At the heart of the script is the copy()

Re: [PHP] Content Management

2002-02-10 Thread Vincent Stoessel
I would also check out the midgard project which has made vast improvements in the current 1.4.x series. http://www.midgard-project.org/ karthikeyan wrote: Hi, How should i go about to developing a php application to manage the content of a web site OR is there allready some ready made

[PHP] Forms and IE

2002-02-10 Thread Sean Hurley
Please forgive me if this has been covered before. I have searched the list and could not find reference to a similar problem. I am completetly new to PHP and I am stuck. I am creating a very simple form. Essentially the user agrees or disagrees to a message. If the user agrees, they are

RE: [PHP] Forms and IE

2002-02-10 Thread Martin Towell
might be the header(location...); bit - you might need to specify the full address -Original Message- From: Sean Hurley [mailto:[EMAIL PROTECTED]] Sent: Monday, February 11, 2002 3:40 PM To: [EMAIL PROTECTED] Subject: [PHP] Forms and IE Please forgive me if this has been covered

Re: [PHP] Forms and IE

2002-02-10 Thread Jason Lotito
Answered below: - Original Message - From: Sean Hurley [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Sunday, February 10, 2002 11:40 PM Subject: [PHP] Forms and IE Please forgive me if this has been covered before. I have searched the list and could not find reference to a similar

RE: [PHP] Forms and IE

2002-02-10 Thread Sean Hurley
Well, damn. When I read your suggestion I didn't quite accept it. I thought no, it would return an error if it couldn't find the page, but with nothing to lose I tried it. And it worked. Thank you. Thanks a lot. From: Martin Towell [EMAIL PROTECTED] To: 'Sean Hurley' [EMAIL PROTECTED], [EMAIL

Re: [PHP] Forms and IE

2002-02-10 Thread Analysis and Solutions
Hi Sean: Sean Hurley wrote: Agree input type=checkbox name=agree[] value=agree I Do Not Agree input type=checkbox name=disagree value=disagree if ($agree) /* (I have tried this also with ($isset = $agree)) */ { header (location: ?link=form); } else { header (location: /LETS); }

Re: [PHP] Fooling the client into thinking php script is .jpg

2002-02-10 Thread Christopher William Wesley
On Mon, 11 Feb 2002, Matt Moreton wrote: I have a script that outputs an image. Using the gd library. But the ... the image. Is it possible somehow to request the file as a .jpg? www.host.com/displayimage.php Assuming you're using Apache, you can use a rewrite rule (with mod_rewrite).

[PHP] PHP Technology Comparisons

2002-02-10 Thread Richard Lynch
First, I'm going to apologize for posting when I don't even lurk any more, much less contribute. :-| Those of you who remember me from back in the day will probably forgive me -- Those of you who don't, well, what can I say? Time and Tools is how an old friend and I used to put it. Speaking

[PHP] configuring webhost

2002-02-10 Thread mm fernandez
hi. i'm new here and i'm also new to php. thing is though, i'd like to ask something with regard to configuring the web host to make it support php. see, i work for a company which also offers web hosting but due to lack of technical people here, we're not sure how to configure our server to

Re: [PHP] configuring webhost

2002-02-10 Thread Philip J. Newman
You could hire me! then pay me. - Original Message - From: mm fernandez [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, February 11, 2002 8:34 PM Subject: [PHP] configuring webhost hi. i'm new here and i'm also new to php. thing is though, i'd like to ask something with regard

[PHP] Cache-Control: no-cache and browser back button problem

2002-02-10 Thread Steven Haryanto
why does the cache control header generated by php (under session_cache_limiter = nocache) needs to have no-store? It makes pressing Back in the browser requests a new version of the page (which is unwanted in some situations, e.g. while filling form and needs to edit a few fields before