[PHP] call a website from a php script

2003-02-16 Thread christian tischler
can anybody tell me please how to call a website from a php script. meaning if (something happens) {goto www.google.com} else {goto www.yahoo.com} tanks, christian -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

php-general Digest 16 Feb 2003 10:40:57 -0000 Issue 1886

2003-02-16 Thread php-general-digest-help
php-general Digest 16 Feb 2003 10:40:57 - Issue 1886 Topics (messages 135707 through 135730): Re: Variables from the Form wouldn't transfer to my process page 135707 by: Jason Wong 135714 by: Geckodeep 135724 by: Jason Wong processing status page 135708 by:

Re: [PHP] call a website from a php script

2003-02-16 Thread Ernest E Vogelsinger
At 11:40 16.02.2003, christian tischler said: [snip] can anybody tell me please how to call a website from a php script. meaning if (something happens) {goto www.google.com} else {goto www.yahoo.com} [snip] I

[PHP] htDig on PHP pages

2003-02-16 Thread David McInnis
Most of the content on my site is generated dynamically by PHP out of a MySQL database. This is causing me problems when indexing the site. Since pages are created dynamically htDig records the current date as the date the document was created. I need the create date to be the create date from

Re: [PHP] permissions to work with fopen

2003-02-16 Thread qt
Tahnk you, but I don't want to let web user see the log file Nicholas Wieland [EMAIL PROTECTED] wrote in message 20030216011528.GA1411@localhost">news:20030216011528.GA1411@localhost... On 2003.02.15 20:11 qt wrote: I am planning to make a log file with fopen command. I am succesfully

[PHP] date calculation

2003-02-16 Thread qt
Dear Sirs, How can I add or subtract two date easily. Is therea any lib or function about this. I can not find any easy way in the manual Best Regards -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] database selection

2003-02-16 Thread H Prins
Hello, Im trying to select only one row in a mysql database (in this case a poll with the smallest pollID)... Each row has a field called pollID which is the primary key and is auto incremented when a new row is inserted. I could possible do the following but I think its a bit extensive:

Re: [PHP] Variables from the Form wouldn't transfer to my process page

2003-02-16 Thread Geckodeep
Hi Jason Man you are great, well indeed I stumbled on my stupidity by putting the hidden name instead of making it unique I've rectified it. The reason for passing this variable to the next page is the cats table is only needed in the first form and the name of the cat is just printed on the

[PHP] database selection

2003-02-16 Thread Hans Prins
Hello, Im trying to select only one row in a mysql database (in this case a poll with the smallest pollID)... Each row has a field called pollID which is the primary key and is auto incremented when a new row is inserted. I could possible do the following but I think its a bit extensive:

Re: [PHP] database selection

2003-02-16 Thread Kevin Waterson
This one time, at band camp, H Prins [EMAIL PROTECTED] wrote: Hello, Im trying to select only one row in a mysql database (in this case a poll with the smallest pollID)... $query = SELECT * FROM polls ORDER BY pollID ASC LIMIT 1; Kevin -- __

[PHP] Re: date calculation

2003-02-16 Thread Fred Merritt
Qt, The easiest way is to convert your dates into a serial day number(i.e. the number of days that have elapsed between your date, and some arbitrary date in the dim and distant past - I think PHP uses 25th November, -4714). There are some calendar functions in php that will do this for you.

Re: [PHP] date calculation

2003-02-16 Thread Kevin Waterson
This one time, at band camp, qt [EMAIL PROTECTED] wrote: Dear Sirs, How can I add or subtract two date easily. Is therea any lib or function about this. I can not find any easy way in the manual if the dates are timestamps, simply $new = $timestamp2 - $timestamp1; cheers Kevin --

[PHP] Re: [PHP-DEV] how to call a website from within a php script

2003-02-16 Thread Sebastian Bergmann
christian tischler wrote: Can anybody tell me how to call a website from within a php script. Please ask user questions on the [EMAIL PROTECTED] list. -- Sebastian Bergmann http://sebastian-bergmann.de/ http://phpOpenTracker.de/ Did I help you? Consider a gift:

[PHP] Re: [PHP-DEV] database select

2003-02-16 Thread Sebastian Bergmann
Hans Prins wrote: [...] Please ask user questions on the [EMAIL PROTECTED] list. -- Sebastian Bergmann http://sebastian-bergmann.de/ http://phpOpenTracker.de/ Did I help you? Consider a gift: http://wishlist.sebastian-bergmann.de/ -- PHP General Mailing List

[PHP] Re: database selection

2003-02-16 Thread Thomas Seifert
On Sun, 16 Feb 2003 12:51:58 +0100 [EMAIL PROTECTED] (Hans Prins) wrote: Hello, Im trying to select only one row in a mysql database (in this case a poll with the smallest pollID)... Each row has a field called pollID which is the primary key and is auto incremented when a new row

[PHP] Fw: Help Needed for Beginners trying to configure Correctly

2003-02-16 Thread D'habi Arabians
- Original Message - From: Gabor Hojtsy [EMAIL PROTECTED] To: D'habi Arabians [EMAIL PROTECTED] Cc: [EMAIL PROTECTED]; Northwind Arabians [EMAIL PROTECTED] Sent: Sunday, February 16, 2003 2:14 AM Subject: Re: Help Needed for Beginners trying to configure Correctly Please forward user

Re: [PHP] date calculation

2003-02-16 Thread qt
Dear Kevin, I used timestamp allready as following; $today = strtotime (1 february 2003); $enddate = strtotime (1 march 2003); $diff = $enddate - $today; But result comes as 2419200 How can I convert that numbers to days Best Regards Kevin Waterson [EMAIL PROTECTED] wrote in message

[PHP] Re: database selection

2003-02-16 Thread Hans Prins
thank you, that did the trick :) Thomas Seifert [EMAIL PROTECTED] schreef in bericht [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... On Sun, 16 Feb 2003 12:51:58 +0100 [EMAIL PROTECTED] (Hans Prins) wrote: Hello, Im trying to select only one row in a mysql database (in this case a poll

Re: [PHP] Block direct image loads but allow them in PHP

2003-02-16 Thread Michael Mulligan
Thank you, this looks like the kind of thing I'm looking for. I'll have to give this a shot and see how it goes. :-) On 02/15/03 8:44 PM, Justin French [EMAIL PROTECTED] wrote: Using Apache's main config file (or at a per-directory level using a .htaccess file), you need to black all .jpg,

Re: [PHP] date calculation

2003-02-16 Thread Stephen Willcock
Try: $today = strtotime (1 february 2003); $enddate = strtotime (2 february 2003); $diff = $enddate - $today; Should give you a clue! SW Qt [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Dear Kevin, I used timestamp allready as following; $today =

Re: [PHP] Forms Help (continued)

2003-02-16 Thread Beauford.2002
Globals are turned on - Original Message - From: Ray Hunter [EMAIL PROTECTED] To: Beauford.2002 [EMAIL PROTECTED] Cc: PHP General [EMAIL PROTECTED] Sent: Sunday, February 16, 2003 12:15 AM Subject: Re: [PHP] Forms Help (continued) Do you have globals turned on or off? Ray On

[PHP] colorizing output in bash

2003-02-16 Thread Ali Chahvand
Hi , i'm using php in the command line and code snippet looks like: ?php echo \033[1mTesting\033[0m\n; echo \e[31;1mTesting\e[m\n; ? I use ANSI sequences to colorize the output in the bash. Well executing echo -e \e[31;1mTesting\e[m; in

Re: [PHP] date calculation

2003-02-16 Thread qt
Dear Stephen, Good clue!! Is it working allways without problem such as 29 feb? And one more hel how can I write 1 2 2003 instead of 1 february 2003 I wrote but directly but doesn' t work thanks Stephen Willcock [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]...

[PHP] ereg usage

2003-02-16 Thread Peter Gumbrell
Could someone please tell me why this code is not working: ereg ('^[A-H]*([0-9]+)-$', $rank, $matches); $workshop_ID = $matches[1][2}; where $rank is something like C12-1 and I just need the C12 part. Many thanks Peter Gumbrell [EMAIL PROTECTED] -- PHP General Mailing List

[PHP] copy *.* troubles

2003-02-16 Thread Malcolm
Hello List, I'm having trouble with copy. I have this script that I got from php.net but I can't figure out how to set the path. Right now it doesn't complain but no files are copied. I'm trying to use a dynamically set directory to do this, I have included ml_config to make the vars

[PHP] What happened to phpEdit???

2003-02-16 Thread Al
Their site no longer responds. Surely, we haven't lost one of the best php editors. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Re: date calculation

2003-02-16 Thread olinux
If you're using a database, it may be able to take care of this for you. If you're using mysql: 6.3.4 Date and Time Functions http://www.mysql.com/documentation/mysql/bychapter/manual_Reference.html#Date_and_time_functions olinux --- Fred Merritt [EMAIL PROTECTED] wrote: Qt, The

[PHP] Inserting records in a particular way in MySQL

2003-02-16 Thread Phillip S. Baker
Greetings all, I have some PHP code that is inserting records into a DB. Most of this is auto increment. However I know there is allot of breaks in the sequencing. I am wondering if there is some way to write the SQL code to search through the existing records in the DB and to find where the

[PHP] List problem

2003-02-16 Thread Beauford.2002
Does anyone else get bounced messages saying they can't send email to [EMAIL PROTECTED] when sending email to the list? Every email I send to the list I get this. I don't get this when sending email to anyone else or any other list. TIA -- PHP General Mailing List (http://www.php.net/) To

Re: [PHP] copy *.* troubles

2003-02-16 Thread Jason Wong
On Sunday 16 February 2003 23:48, Malcolm wrote: I'm having trouble with copy. I have this script that I got from php.net but I can't figure out how to set the path. Right now it doesn't complain but no files are copied. I'm trying to use a dynamically set directory to do this, I have

Re: [PHP] List problem

2003-02-16 Thread Jason Wong
On Monday 17 February 2003 01:54, Beauford.2002 wrote: Does anyone else get bounced messages saying they can't send email to [EMAIL PROTECTED] when sending email to the list? Every email I send to the list I get this. I don't get this when sending email to anyone else or any other list. Yes,

Re: [PHP] ereg usage

2003-02-16 Thread Ernest E Vogelsinger
At 16:18 16.02.2003, Peter Gumbrell said: [snip] Could someone please tell me why this code is not working: ereg ('^[A-H]*([0-9]+)-$', $rank, $matches); $workshop_ID = $matches[1][2}; where $rank is something like C12-1 and I just need the C12 part.

Re: [PHP] Inserting records in a particular way in MySQL

2003-02-16 Thread Miles Thompson
Phillip, It doesn't matter, obviously you're not using the autoincrement ID for a foreign key. All this does is identify a record. If you did a SELECT and found a missing sequence number, what's to say that value would not be inserted by another user before your INSERT? If you have not set

Re: [PHP] copy *.* troubles

2003-02-16 Thread Malcolm
On Mon, 17 Feb 2003 01:59:43 +0800, Jason Wong [EMAIL PROTECTED] wrote: On Sunday 16 February 2003 23:48, Malcolm wrote: I'm having trouble with copy. I have this script that I got from php.net but I can't figure out how to set the path. Right now it doesn't complain but no files are

[PHP] Re: .htpasswd and PayPal generated passwords

2003-02-16 Thread David Duong
Try http://www.php.net/md5. Use md5 to encrypt the password, then when you need to check from login just encrypt what is given, and see if this matches the md5 found in the database. - David Rob Packer [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... I use

[PHP] Re: .htpasswd and PayPal generated passwords

2003-02-16 Thread David Duong
btw - What do you mean by paypal generated passwords? I am interested in using PayPal as an alternative to my current credit card handler. Just a link is appreciated. - David Rob Packer [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... I use PayPal to

[PHP] How do I set UID and GID to files.

2003-02-16 Thread David Duong
See topic. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Checkbox related...

2003-02-16 Thread Dhaval Desai
Hi everybody, I have a form with 5 checkboxes. I want to make sure that a user checks atleast 2 boxes before he can proceed. How can that be made possible. Thank you -Dhaval _ The new MSN 8: smart spam protection and 2 months

Re: [PHP] List problem

2003-02-16 Thread Ernest E Vogelsinger
At 18:54 16.02.2003, Beauford.2002 said: [snip] Does anyone else get bounced messages saying they can't send email to [EMAIL PROTECTED] when sending email to the list? Every email I send to the list I get this. I don't get this when sending email to anyone

Re: [PHP] Checkbox related...

2003-02-16 Thread Ernest E Vogelsinger
At 19:57 16.02.2003, Dhaval Desai said: [snip] I have a form with 5 checkboxes. I want to make sure that a user checks atleast 2 boxes before he can proceed. How can that be made possible. [snip] You have 2 options:

Re: [PHP] How do I set UID and GID to files.

2003-02-16 Thread Jason Sheets
Use the chown function, chown is documented at http://www.php.net/manual/en/function.chown.php Jason On Sat, 2003-02-15 at 21:00, David Duong wrote: See topic. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General

RE: [PHP] Checkbox related...

2003-02-16 Thread Dhaval Desai
How do we do it using the first option i.e javascript to count how many boxes are checked...could you give some example... Thanx -Dhaval From: David McInnis [EMAIL PROTECTED] To: 'Dhaval Desai' [EMAIL PROTECTED] Subject: RE: [PHP] Checkbox related... Date: Sun, 16 Feb 2003 10:59:17 -0800

Re: [PHP] ereg usage

2003-02-16 Thread Rick Emery
The problem is that it's looking for hyphen, - , immediately preceeding the end. Remove the $. - Original Message - From: Peter Gumbrell [EMAIL PROTECTED] To: Php-General [EMAIL PROTECTED] Sent: Sunday, February 16, 2003 9:18 AM Subject: [PHP] ereg usage Could someone please tell me

[PHP] multiple select problem

2003-02-16 Thread Thomas Moore
I had code working that was passing multiple select values to another screen from a form... In the URL on the next page I see a bunch of characters, so it doesn't work... %5C%22year_model_id%5B%5D%5C%22=60776 Anyone know what this is and how to fix it??? It was working fine for months and

RE: [PHP] Checkbox related...

2003-02-16 Thread Ernest E Vogelsinger
At 20:34 16.02.2003, Dhaval Desai said: [snip] How do we do it using the first option i.e javascript to count how many boxes are checked...could you give some example... [snip] Warning - untested: script

[PHP] loading same page

2003-02-16 Thread Edward Peloke
hello, I have a very simply page, the users can signup for a certain time to volunteer, when they hit submit, the page reloads but I want their time to be inserted in the db and then displayed. After I hit submit, it brings me back to the page but their info isn't there until I refresh.

RE: [PHP] Inserting records in a particular way in MySQL

2003-02-16 Thread Willie G
Phillip, You will have to change your code, so the primary key is not an auto incremented value. If you don't, the auto increment will over-ride the 'get next' function. Here is what I use in my code. You just need to change it for your table. //- GetNextKey -// function getnextkey(){

RE: [PHP] Inserting records in a particular way in MySQL

2003-02-16 Thread Willie G
Miles, I never use auto increment. Not because of gaps, but in case I need to reload the table. They do have meaning if they are foreign keys to another table. - Larry -Original Message- From: Miles Thompson [mailto:[EMAIL PROTECTED]] Sent: Sunday, February 16, 2003 1:14 PM To:

[PHP] Sax-like : accessing form fields elements

2003-02-16 Thread Robert Mena
Hi, I am developing an application which will have to parse a html page and extract information about the forms found. I tried the HTMLSAX class (http://www.phpclasses.org/browse.html/package/678.html) which is ok except by the fact that I can not retrieve the default/checked status from the

RE: [PHP] Result in the same page

2003-02-16 Thread Cal Evans
John, header(location:) is the way I'm doing it. I check for the Submit button, if it was pressed and the processing succeeded, I redirect. If processing fails (validation, error in connecting to the database, etc.) I redisplay the same page with all the same variables that the user just input.

Re: [PHP] date calculation

2003-02-16 Thread Stephen Willcock
Yes, will be OK with all dates (though the valid range of a timestamp is typically from Fri, 13 Dec 1901 20:45:54 GMT to Tue, 19 Jan 2038 03:14:07 GMT.) The function you want for numeric dates is: int mktime ( int hour, int minute, int second, int month, int day, int year) so, in your example

Re: [PHP] Re: date calculation

2003-02-16 Thread qt
No I am not using msql Olinux [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... If you're using a database, it may be able to take care of this for you. If you're using mysql: 6.3.4 Date and Time Functions

[PHP] long running PHP application

2003-02-16 Thread Ilja Polvanovas
Does anybody have minds about problems running long running PHP scripts as standalone programs (ex. like servers, daemons). For example there is a simple TCP/IP server in Sockets chapter of the Manual. Have anybody any ideas how long can the script run ? is there any garbage collector in PHP, if

[PHP] URL of calling page

2003-02-16 Thread acleave
I believe there's a way in PHP to get the URL of the page that called the current page but can't find it. Is there such a function? Or would I have to use another script (like Javascript)? What I mean is if I click on a link on index.html to jeremiah.php I can call the function and find out

Re: [PHP] URL of calling page

2003-02-16 Thread Ernest E Vogelsinger
At 22:58 16.02.2003, acleave said: [snip] I believe there's a way in PHP to get the URL of the page that called the current page but can't find it. Is there such a function? Or would I have to use another script (like Javascript)?

Re: [PHP] URL of calling page

2003-02-16 Thread Kevin Waterson
This one time, at band camp, acleave [EMAIL PROTECTED] wrote: I believe there's a way in PHP to get the URL of the page that called the current page but can't find it. Is there such a function? Or would I have to use another script (like Javascript)? $_SERVER['HTTP_REFERER'] Kevin --

Re: [PHP] URL of calling page

2003-02-16 Thread Justin French
on 17/02/03 9:25 AM, Kevin Waterson ([EMAIL PROTECTED]) wrote: This one time, at band camp, acleave [EMAIL PROTECTED] wrote: I believe there's a way in PHP to get the URL of the page that called the current page but can't find it. Is there such a function? Or would I have to use

php-general Digest 16 Feb 2003 22:46:33 -0000 Issue 1887

2003-02-16 Thread php-general-digest-help
php-general Digest 16 Feb 2003 22:46:33 - Issue 1887 Topics (messages 135731 through 135785): Re: call a website from a php script 135731 by: Ernest E Vogelsinger htDig on PHP pages 135732 by: David McInnis Re: [PHP-DEV] how to call a website from within a php script

Re: [PHP] List problem

2003-02-16 Thread David T-G
Beauford -- ...and then Beauford.2002 said... % % Does anyone else get bounced messages saying they can't send email to % [EMAIL PROTECTED] when sending email to the list? Every email I send to Yep. Looks like that person was subscribed to this list and died but the list hasn't yet kicked out

Re: [PHP] Re: recursion?????

2003-02-16 Thread David T-G
Fred, et al -- ...and then Fred Merritt said... % ... % The benefit of checking in javascript(which I suspect is enabled in most Not me! Not me! Not me! It is by no means ubiquitous. Anyone who even moderately considers security will have it turned off. HTH HAND :-D -- David T-G

RE: [PHP] Inserting records in a particular way in MySQL

2003-02-16 Thread Miles Thompson
If you are not using them as foreign keys, how does it matter? They are simply identifiers for a particular record. If you need to know the number of records a select count(*) does that quickly enough, gaps are irrelevant. Miles At 03:38 PM 2/16/2003 -0500, Willie G wrote: Miles, I never

[PHP] Converting a large number of passwords to MD5 at once.

2003-02-16 Thread Vernon
I made the mistake of opening a web site with encrypting the passwords stored in the database and want to encrypt them all in one fell swoop. Any ideas on how to do that? Thanks -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Convert my old cookies to session variable(s)

2003-02-16 Thread Øystein Håland
I use extensively cookies in my web applications, but have reached the 4 kB limit. So now I need to 'convert' all my cookies to session variables. Have got an idea how I can create such for one variable, but here I have multi element cookies. Reading the php manual gives me no idea on how to do

[PHP] anyone know what ical and outlook are programmed in?

2003-02-16 Thread Kevin Myrick
Hey all, I was wondering if anyone could tell me what iCal and Outlook are programmed in offhand. I have an ambitious but probably not so thought out plan on builing some mods for phpwebsite based off of phprojekt, squirrelmail, myphpcalendar, and was thinking I would write my own address book,

RE: [PHP] What happened to phpEdit???

2003-02-16 Thread Bryan Lipscy
Did you check google? http://ozu.arecom-sa.com/~marms/phpedit.net/ -Original Message- From: Al [mailto:[EMAIL PROTECTED]] Sent: Sunday, February 16, 2003 8:39 AM To: [EMAIL PROTECTED] Subject: [PHP] What happened to phpEdit??? Their site no longer responds. Surely, we haven't lost one

RE: [PHP] anyone know what ical and outlook are programmed in?

2003-02-16 Thread Luke Woollard
Outlook would most likely be written in VC++ /OR Visual Basic It's just a hunch.. LW -Original Message- From: Kevin Myrick [mailto:[EMAIL PROTECTED]] Sent: Monday, 17 February 2003 2:27 PM To: Subject: [PHP] anyone know what ical and outlook are programmed in? Hey all, I was

RE: [PHP] anyone know what ical and outlook are programmed in?

2003-02-16 Thread Kevin Myrick
Thanks, I appreciate it. --- Luke Woollard [EMAIL PROTECTED] wrote: Outlook would most likely be written in VC++ /OR Visual Basic It's just a hunch.. LW -Original Message- From: Kevin Myrick [mailto:[EMAIL PROTECTED]] Sent: Monday, 17 February 2003 2:27 PM To:

[PHP] Re: URL of calling page

2003-02-16 Thread Brendon
On Sun, 16 Feb 2003 15:58:30 -0600, Acleave [EMAIL PROTECTED] wrote: I believe there's a way in PHP to get the URL of the page that called the current page but can't find it. Is there such a function? Or would I have to use another script (like Javascript)? What I mean is if I click on a

Re: [PHP] long running PHP application

2003-02-16 Thread Robert Cummings
I run a fantasy MUD and I have a PHP based daemon which checks for in game player mail and if found and the player has registered an email address, then it sends the MUD mail out to the player's email address. The program wakes up once a minute to check the database and then goes back to sleep.

[PHP] Future compatibility

2003-02-16 Thread Lord Loh.
Future compatibility === Php and zend have constantly been discarding old syntax...making it deprecated and all... How can I be sure that a code I write will run for ever (or at least 10 years) irrespective of future PHP versions... Is there a list of syntax that php plans to

RE: [PHP] Re: URL of calling page

2003-02-16 Thread Luke Woollard
dude - try this: echo $HTTP_REFERER; It'l give you the refering page from when you came. Luke Woollard -Original Message- From: Brendon [mailto:[EMAIL PROTECTED]] Sent: Monday, 17 February 2003 3:17 PM To: Acleave Subject: [PHP] Re: URL of calling page On Sun, 16 Feb 2003

[PHP] Re: Converting a large number of passwords to MD5 at once.

2003-02-16 Thread Lord Loh.
Simple! Write a script to automate the process! Lord Loh -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Converting a large number of passwords to MD5 at once.

2003-02-16 Thread Jason Wong
On Monday 17 February 2003 09:17, Vernon wrote: I made the mistake of opening a web site with encrypting the passwords stored in the database and want to encrypt them all in one fell swoop. Any ideas on how to do that? while (some more password) { get password from wherever it is stored

[PHP] Re: PHP error messages

2003-02-16 Thread Lord Loh.
That is not an error! It is a Warning...I got it the other day when the file was empty (or did not exist or something). Use @ prefix to make it disappear ?php $ar=@file(http://www.something.com/the_filename.txt;); ? Hope this helps... Lord Loh. -- PHP General Mailing List

[PHP] Re: loading same page

2003-02-16 Thread Lord Loh.
Thy these headers = $now = gmdate('D, d M Y H:i:s') . ' GMT'; header('Expires: ' . $now); header('Cache-Control: no-store, no-cache, must-revalidate'); header('Pragma: no-cache'); = Hope it helps... Lord Loh -- PHP General Mailing List (http://www.php.net/) To unsubscribe,

[PHP] RE: call a website from a php script

2003-02-16 Thread Uttam
if (condition) { header(Location: http://www.gogle.com/;); } else { header(Location: http://www.yahoo.com/;); } regds, -Original Message- From: christian tischler [mailto:[EMAIL PROTECTED]] Sent: Sunday, February 16, 2003 16:11 To: [EMAIL PROTECTED] Subject: call a website

[PHP] Free PHP?

2003-02-16 Thread Bjarke Walling Petersen
I'm planing to host websites. Is it free to use PHP4 as an option for my users? I'm hosting on a Windows-based system. Thanks a lot. Bjarke -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Free PHP?

2003-02-16 Thread Alan Murrell
Hello Bjarke, --- Bjarke Walling Petersen [EMAIL PROTECTED] wrote: Is it free to use PHP4 as an option for my users? Yes. HTH. Alan __ Post your free ad now! http://personals.yahoo.ca -- PHP General Mailing List