Re: [PHP] Variable won't work in function, even when I global it?

2002-05-20 Thread Miguel Cruz
No good as in that doesn't solve it or as in I sure wish it didn't have to be that way? miguel On Mon, 20 May 2002, Leif K-Brooks wrote: No good. :-( Miguel Cruz wrote: Okay, I'm pretty sure your problem is this: All those variables referenced in $footertext ($REMOTE_ADDR,

Re: [PHP] Variable won't work in function, even when I global it?

2002-05-20 Thread Miguel Cruz
So in function checkmember(), do you now have: global $REMOTE_ADDR, $userinfo, $loggedin, $time_start, $getlayout; ?? miguel On Mon, 20 May 2002, Leif K-Brooks wrote: No good as in that doesn't solve it. Thanks for trying to help. Miguel Cruz wrote: No good as in that doesn't

Re: [PHP] Variable won't work in function, even when I global it?

2002-05-20 Thread Paul Roberts
try eval(?$footertext); also take the code out of the function and try it, you may need to global some more variables. Paul Roberts [EMAIL PROTECTED] - Original Message - From: Leif K-Brooks [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, May 20, 2002

[PHP] how to select a file on a random basis?

2002-05-20 Thread Andy
Hi there, I would like to pick a file out of a directory by random. There are 400 files and I just want to pick on of those by random. Is there a way with rand() and file ? Thanx for any hint, Andy -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

[PHP] Email harvesters

2002-05-20 Thread Richard Baskett
I wrote this email to the php Archive list and I would like to get your opinions on it.. Thanks! :) Is there any way that we could get the archives password protected? Apple does a nice thing where they tell you the username and password to login and the whole purpose of it is so that email

RE: [PHP] Bulletin Boards

2002-05-20 Thread Brian McGarvie
phpbb2 has improved alot since the earlier versions -Original Message- From: Jeff Lewis [mailto:[EMAIL PROTECTED]] Sent: 18 May 2002 3:02 PM To: Richard Baskett; PHP General Subject: Re: [PHP] Bulletin Boards Never used Phorums as it didn't have what I was looking for. Tried

RE: [PHP] how to select a file on a random basis?

2002-05-20 Thread Craig Vincent
I would like to pick a file out of a directory by random. There are 400 files and I just want to pick on of those by random. Is there a way with rand() and file ? Well there's a couple ways you could do this...it's too early in the morning to post code but with some quick searches in the

Re: [PHP] Email harvesters

2002-05-20 Thread Jason Wong
On Monday 20 May 2002 15:46, Richard Baskett wrote: I wrote this email to the php Archive list and I would like to get your opinions on it.. Thanks! :) Is there any way that we could get the archives password protected? Apple does a nice thing where they tell you the username and password

Re: [PHP] Email harvesters

2002-05-20 Thread Richard Baskett
No Im not saying you do anything about it at all :) I have already emailed one of the lists about doing this and after some discussion here if more people agree with me and would like to see some precautions taken then it gives my emails a little weight to the webmasters of these archive lists.

Re: [PHP] multiply by 2

2002-05-20 Thread Jason Wong
On Monday 20 May 2002 12:03, Martin Towell wrote: I was doing some timing of a function on the weekend and in one of the loops, I had to multiply a variable by 2 - easy enough - $i*2 but then I remembered that in C, it's quicker to do a left shift - so $i1 but this actually took longer to

Re: [PHP] Email harvesters

2002-05-20 Thread Richard Baskett
That's an even better idea, precisely why I wanted to ask your opinions on this subject. Thanks.. I think I will wait to re-email that archive list until I have a lot of great ideas we could combine to get one great idea. Thanks a lot for your input! Rick A good head and good heart are always

Re: [PHP] Email harvesters

2002-05-20 Thread Miguel Cruz
If you're concerned and don't have effective anti-spam filtering on your email box, I'd suggest coming up with a second address to use for public purposes such as this. The list shows up all over the place. For instance, Google groups picks it up off the news.php.net server, and you're surely

[PHP] gmdate

2002-05-20 Thread SP
I am using gmdate to get the GMT timezone and it's working but how does it know what timezone my server is to make the time adjustment? --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.361 / Virus Database: 199 - Release Date:

Re: [PHP] how to select a file on a random basis?

2002-05-20 Thread The_RadiX
Ok well that array idea could work.. but what's the filename format of these files?? if they're all contigous or in some kind of pattern there maybe a faster and easier way such as if you have them for example named: file1.ext, file2.ext or some pattern or other.. then you can just use random

[PHP] dtcm interface?

2002-05-20 Thread Billy S Halsey
Hi all, Just curious whether anyone knows where I can find a class or other interface to the dtcm calendar manager that is a part of CDE on Solaris, AIX, etc. Unfortunately, it would seem that dtcm doesn't support RFC standards, so I don't think I can use mcal or anything like that to

[PHP] Problem with mktime()

2002-05-20 Thread Johannes Tyra [BrainData]
Hi, I want to read out the asterisk from a birthdate. First off all I need the timestamp: $startDate['Steinbock'] = mktime (0, 0, 0, 12, 22, 1999); $startDate['Wassermann']= mktime (0, 0, 0, 01, 21, 2000); $startDate['Fisch'] = mktime (0, 0,

php-general Digest 20 May 2002 15:44:01 -0000 Issue 1356

2002-05-20 Thread php-general-digest-help
php-general Digest 20 May 2002 15:44:01 - Issue 1356 Topics (messages 98411 through 98444): Running php program when mail received 98411 by: CDitty 98414 by: Manuel Lemos 98415 by: CDitty Re: Arrays and Forms 98412 by: Jason Wong 98421 by: Miguel

Re: [PHP] Email harvesters

2002-05-20 Thread Leif K-Brooks
I think it would be a good idea to have whatever software sends list messages to the newsgroup block out the addresses. Miguel Cruz wrote: If you're concerned and don't have effective anti-spam filtering on your email box, I'd suggest coming up with a second address to use for public

RE: [PHP] refresh (part of) a page?

2002-05-20 Thread savaidis
I look and I search everything, it looks I'm reaching to a wall :) I used Netscape, I uploaded to my internet server, still the same. Plus, I cannot find header already send at manual. The error message is : Warning: Cannot add header information - headers already sent by (output started at

[PHP] gmdate question

2002-05-20 Thread SP
I am using gmdate to get the GMT timezone and it's working but how does it know what timezone my server is to make the time adjustment? Where's the setting for this? --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.361 / Virus

[PHP] test

2002-05-20 Thread SP
--- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.361 / Virus Database: 199 - Release Date: 07/05/02 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] undefined function: sybase_pconnect()

2002-05-20 Thread Vivek Kumar Agrawal
Hi All, I am getting some error like this: Fatal error: Call to undefined function: sybase_pconnect() in /home/httpd/php/db_sybase.inc on line 47 Please tell me its solution. Regards, Vivek

[PHP] Re: Email harvesters

2002-05-20 Thread Manuel Lemos
Hello, On 05/20/2002 04:46 AM, Richard Baskett wrote: I wrote this email to the php Archive list and I would like to get your opinions on it.. Thanks! :) Is there any way that we could get the archives password protected? Apple does a nice thing where they tell you the username and

RE: [PHP] Re: Using PHP for NULLs

2002-05-20 Thread Jay Blanchard
[snip] I do believe it is a MySql question!! What's wrong with the old standard way as: $result = mysql_query( SELECT *, if (last_name is NULL,'zzz end',last_name) as last_name_sort FROM new_miatapix ORDER BY last_name_sort LIMIT $page, 20); $result = mysql_query(SELECT * FROM

Re: [PHP] Re: Running php program when mail received

2002-05-20 Thread Manuel Lemos
Hello, On 05/20/2002 01:42 AM, CDitty wrote: I get this error and the program code outputted to the screen. Failed loading /usr/local/Zend/lib/ZendOptimiser.so: /usr/local/Zend/lib/ZendOptimiser.so: cannot open shared object file: No such file or directory I just looked in that

Re: [PHP] Re: Running php program when mail received

2002-05-20 Thread Manuel Lemos
Hello, On 05/20/2002 09:00 AM, CDitty wrote: When I run /usr/bin/php -q /path/to/file/imap.php, is it supposed to run the program or output the actual program code to the screen? When I run it, it is showing the actual program code, not the program output. Oh, of course, silly me that did

[PHP] timezone problem

2002-05-20 Thread SP
I am trying to convert date/times to different timezones using putenv but I am having problems using the right TZ names. I am trying the zones I found here http://fuck.org/~ryan/squirrel/timezone/timezones. php but it seems the only ones that work are EST5EDT, CST6CDT, MST7MDT, PST8PDT and GMT.

Re: [PHP] multiply by 2

2002-05-20 Thread Bogdan Stancescu
Just for confirmation: Linux Mandrake 8.1, PHP 4.0.6, PIII 600MHz, using Jason's code: - Original code via HTTP: 1st attempt 3.4497429132462 3.1789749860764 [7.85% faster with bit op's] 2nd attempt (reload) 3.3336659669876 3.1573359966278 [5.29% faster with bit op's] - Original code from the

[PHP] date Question

2002-05-20 Thread Randy Johnson
Is their a way to retrieve the previous month using/altering the code below: // get the current timestamp into an array $timestamp = time(); $date_time_array = getdate($timestamp); $month = $date_time_array[mon]; $day = $date_time_array[mday]; $year =

[PHP] Cookies

2002-05-20 Thread Darren Edwards
Hi, i want to use a cookie to set a skin for a site but when i go to the site when there is no cookie set then it will display no images background colors ect... So what i need to do is have a command that will set other images background ect. as default if there is no cookie there. How can i

[PHP] Re: Problem with mktime()

2002-05-20 Thread Jim Winstead
Johannes Tyra [EMAIL PROTECTED] wrote: $startDate['Jungfrau'] = mktime (0, 0, 0, 08, 24, 2000); $startDate['Waage'] = mktime (0, 0, 0, 09, 24, 2000); but with 'Jungfrau' AND 'Waage' something is wrong!! numbers with a leading zero are in octal format, and

Re: [PHP] undefined function: sybase_pconnect()

2002-05-20 Thread Patrick Laverty
Create a function called sybase_pconnect(). That is the soluction. At 05:11 PM 5/20/02 +0530, Vivek Kumar Agrawal wrote: Hi All, I am getting some error like this: Fatal error: Call to undefined function: sybase_pconnect() in /home/httpd/php/db_sybase.inc on line 47 Please tell me its

Re: [PHP] Problem with mktime()

2002-05-20 Thread Dan Hardiker
$startDate['Jungfrau'] = mktime (0, 0, 0, 08, 24, 2000); $startDate['Waage']= mktime (0, 0, 0, 09, 24, 2000); Replace 08 and 09 with 8 and 9 respectivly and you will have the effect you desire. -- Dan Hardiker [[EMAIL PROTECTED]] ADAM Software Systems Engineer -- PHP General Mailing

Re: [PHP] refresh (part of) a page?

2002-05-20 Thread Jason Wong
On Monday 20 May 2002 16:39, savaidis wrote: I look and I search everything, it looks I'm reaching to a wall :) I used Netscape, I uploaded to my internet server, still the same. Plus, I cannot find header already send at manual. The error message is : Warning: Cannot add header information

Re: [PHP] MSIE GZIP problem

2002-05-20 Thread Garth Dahlstrom
Has anyone heard of the problem with MSIE 6? If this is a known problem; I'll have to perform some browser check to make sure I can gzip to that MSIE version 6 build (whatever) -- kind of a hassle. I just did a search on Technet, and could find no mention of it. I've experinced similar

Re: [PHP] MSIE GZIP problem

2002-05-20 Thread Garth Dahlstrom
Has anyone heard of the problem with MSIE 6? If this is a known problem; I'll have to perform some browser check to make sure I can gzip to that MSIE version 6 build (whatever) -- kind of a hassle. I just did a search on Technet, and could find no mention of it. I've experinced similar

RE: [PHP] Email harvesters

2002-05-20 Thread Brian McGarvie
but then no one would be able to reply to an individual... -Original Message- From: Leif K-Brooks [mailto:[EMAIL PROTECTED]] Sent: 20 May 2002 11:42 AM To: Miguel Cruz Cc: [EMAIL PROTECTED] Subject: Re: [PHP] Email harvesters I think it would be a good idea to have whatever

[PHP] More on escaping for SQL statements

2002-05-20 Thread Dennis Gearon
I appreciate all the replies to my question before about this. And also to the person who asked the question later in the day! What I'm looking for is a database neutral, comprehensive way to do escaping. First of all, though, will a php string hold binary data with the value of 0x00 at

Re: [PHP] refresh (part of) a page?

2002-05-20 Thread 1LT John W. Holmes
You can't have any output before you call header. Something in main.php on line 41 is causing some output that breaks the header() call. Be sure you don't have any whitespace at the end of included files. ---John Holmes... - Original Message - From: savaidis [EMAIL PROTECTED] To: [EMAIL

Re: [PHP] online bidding

2002-05-20 Thread Bogdan Stancescu
Hi! My opinion is that you should skip the array step and jump to database implementation - it's a slightly different approach and you'd have to change most of the array code... Bogdan [EMAIL PROTECTED] wrote: the following code represents an ineloquent way of capturing data from multiple

RE: [PHP] PHP Cookies

2002-05-20 Thread Jay Blanchard
[snip] Hi, i want to use a cookie to set a skin for a site but when i go to the site when there is no cookie set then it will display no images background colors ect... So what i need to do is have a command that will set other images background ect. as default if there is no cookie there. How

Re: [PHP] mysql_fetch_array errors

2002-05-20 Thread Philip Olson
A key to understanding your mysql errors is by using the mysql_error() function. It's wonderful! Here's a simple example with a little error checking: ?php error_reporting(E_ALL); $conn = mysql_connect('host','user','pass'); if (!$conn) { print Could not connect to mysql : .

Re: [PHP] date Question

2002-05-20 Thread Jason Wong
On Monday 20 May 2002 23:01, Randy Johnson wrote: Is their a way to retrieve the previous month using/altering the code below: // get the current timestamp into an array $timestamp = time(); $date_time_array = getdate($timestamp); $month = $date_time_array[mon]; $day =

[PHP] Expiring certain session data while keeping the session itself

2002-05-20 Thread Chris Knipe
Hiya, me again :-) Is it possible to expire certain session data, while still keeping the session itself in tact? Example... $_SESSION['AlwaysTrue'] = True; $_SESSION['ExpireThis'] = 10:20:00; At 10:19:50 the session is registered. AlwaysTrue must remain True for as long as the session

Re: [PHP] undefined function: sybase_pconnect()

2002-05-20 Thread Jason Wong
On Monday 20 May 2002 23:56, Patrick Laverty wrote: Create a function called sybase_pconnect(). That is the soluction. I doubt it. At 05:11 PM 5/20/02 +0530, Vivek Kumar Agrawal wrote: Hi All, I am getting some error like this: Fatal error: Call to undefined function:

Re: [PHP] Email harvesters

2002-05-20 Thread Miguel Cruz
But then how would newsgroup users write back to people? miguel On Mon, 20 May 2002, Leif K-Brooks wrote: I think it would be a good idea to have whatever software sends list messages to the newsgroup block out the addresses. Miguel Cruz wrote: If you're concerned and don't have

Re: [PHP] PHP Cookies

2002-05-20 Thread Miguel Cruz
On Mon, 20 May 2002, Darren Edwards wrote: Hi, i want to use a cookie to set a skin for a site but when i go to the site when there is no cookie set then it will display no images background colors ect... So what i need to do is have a command that will set other images background ect. as

Re: [PHP] timezone problem

2002-05-20 Thread Miguel Cruz
I think these are system-specific. You'll probably have to check which time zone your machine understands. For instance, on this FreeBSD machine there are hundreds of them in /usr/share/zoneinfo but on other machines there are only a handful. In short, I believe it's an OS rather than a PHP

Re: [PHP] gmdate question

2002-05-20 Thread Miguel Cruz
On Mon, 20 May 2002, SP wrote: I am using gmdate to get the GMT timezone and it's working but how does it know what timezone my server is to make the time adjustment? Where's the setting for this? In your server's configuration files somewhere. Nothing to do with PHP. miguel -- PHP

Re: [PHP] Problem with mktime()

2002-05-20 Thread Rasmus Lerdorf
08 and 09 are not real numbers. Any number starting with a 0 is an octal number which means you can only use digits 0-7 Drop the leading 0 and everything will work. -Rasmus On Mon, 20 May 2002, Johannes Tyra [BrainData] wrote: Hi, I want to read out the asterisk from a birthdate. First

[PHP] eval()

2002-05-20 Thread jtjohnston
I know I'm not doing this right, but .. What I want to do is display the value of $q1 through $q3. How? I can't get eval() to do it, can I? for ($i = 1; $i = 3; $i++) { $x= eval (\$q.$i); echob$x/b\n; echobrinput type=\hidden\ name=\a.$i.\ value=\\\n; } John -- PHP General Mailing List

Re: [PHP] eval()

2002-05-20 Thread Miguel Cruz
On Mon, 20 May 2002, jtjohnston wrote: I know I'm not doing this right, but .. What I want to do is display the value of $q1 through $q3. How? I can't get eval() to do it, can I? for ($i = 1; $i = 3; $i++) { $x= eval (\$q.$i); echob$x/b\n; echobrinput type=\hidden\ name=\a.$i.\

Re: [PHP] bug in SLEEP() function...

2002-05-20 Thread Rasmus Lerdorf
This is well-documented. Right out of the set_time_limit() docs: Note: The set_time_limit() function and the configuration directive max_execution_time only affect the execution time of the script itself. Any time spent on activity that happens outside the execution of the script such as

Re: [PHP] eval()

2002-05-20 Thread Bogdan Stancescu
for ($i = 1; $i = 3; $i++) { $x= $q$i; $val=$$x; echob$val/b\n; echobrinput type=\hidden\ name=\a.$i.\ value=\\\n; } jtjohnston wrote: I know I'm not doing this right, but .. What I want to do is display the value of $q1 through $q3. How? I can't get eval() to do it, can I? for ($i = 1; $i

Re: [PHP] eval()

2002-05-20 Thread Bogdan Stancescu
Sorry, please change line 2 with $x=q$i. Bogdan Bogdan Stancescu wrote: for ($i = 1; $i = 3; $i++) { $x= $q$i; $val=$$x; echob$val/b\n; echobrinput type=\hidden\ name=\a.$i.\ value=\\\n; } jtjohnston wrote: I know I'm not doing this right, but .. What I want to do is display the

Re: [PHP] Re: Register_Shutdown_Function ??

2002-05-20 Thread Rasmus Lerdorf
Windows? Blah. This stuff may very well not work there. No idea. -Rasmus On Sat, 18 May 2002, Jason Caldwell wrote: It doesn't matter. I'm setting the output *not* to the browser, but to the command shell, where I am running the script from. If you look at the errors, you'll see 2 of

Re: [PHP] Re: Register_Shutdown_Function ??

2002-05-20 Thread Rasmus Lerdorf
What makes you think you can echo something after your script has timed out? Change that print to write something to a file in /tmp and you will see that it works just fine. -Rasmus On Sat, 18 May 2002, Jason Caldwell wrote: Here's my code: ? set_time_limit(1);

Re: [PHP] Email harvesters

2002-05-20 Thread Rasmus Lerdorf
If there was just one archive of this list and we controlled it, then this would be ok. But the fact is that there are dozens, and we don't control any of them. So I don't see how this could be done. -Rasmus On Mon, 20 May 2002, Richard Baskett wrote: I wrote this email to the php Archive

Re: [PHP] Email harvesters

2002-05-20 Thread Hugh Bothwell
Miguel Cruz [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... But then how would newsgroup users write back to people? miguel On Mon, 20 May 2002, Leif K-Brooks wrote: I think it would be a good idea to have whatever software sends list messages to the

Re: [PHP] php.net sloooooooowwww

2002-05-20 Thread Rasmus Lerdorf
Use a mirror. us2.php.net is quick We are having some network problems on the main server. A good reminded to everyone to go find your local mirrors and use them instead. On Sat, 18 May 2002, Jason Caldwell wrote: Anyone know why http://www.php.net is s incredibly slow today

[PHP] List content of folders?

2002-05-20 Thread Hawk
Is there some var that does this automaticly? I don't really know what to search for on php.net.. :P If there isn't, is there any other way to do this? I know it's possible with asp but I have no plans on using asp :P HÃ¥kan -- PHP General Mailing List (http://www.php.net/) To unsubscribe,

Re: [PHP] while loop question - problem (new set of eyes needed)

2002-05-20 Thread Rasmus Lerdorf
You are resetting $row inside your loop. Don't do that. On Sun, 19 May 2002, Lee P Reilly wrote: Hi, I wonder if someone could have a quick look at this for me? It's a simple while loop, but it's not acting the way (I think) it should. If I break down the while loop, it reads:

[PHP] Re: List content of folders?

2002-05-20 Thread Jas
readdir(); search for that and you should find what you need. HTH Jas Hawk [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Is there some var that does this automaticly? I don't really know what to search for on php.net.. :P If there isn't, is there any other

RE: [PHP] Variable won't work in function, even when I global it?

2002-05-20 Thread Scott Hurring
Or why not just use include_once() or require_once() ?? That's their purpose. --- Scott Hurring Systems Programmer EAC Corporation [EMAIL PROTECTED] Voice: 201-462-2149 Fax: 201-288-1515 -Original Message- From: Paul Roberts [mailto:[EMAIL PROTECTED]] Subject: Re: [PHP] Variable

[PHP] PHP Excel

2002-05-20 Thread LeTortorec, Jean-Louis
Hello every one: I'm trying to create XLS files on the fly. I found BiffWriter. Looks great for adding texts and numbers, but not formulas. Has anyone implemented something about formulas? Thanks. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

Re: [PHP] Why would this command just Die!

2002-05-20 Thread Rasmus Lerdorf
Change your die() call to this: die(mysql_error()) so you can actually see what is going on. -Rasmus On Mon, 20 May 2002, Php Developers wrote: This command just dies! I have checked sql connection ... ok the insert into line ... ok Pfft it just don't wanna work ?php

Re: [PHP] Re: php.net sloooooooowwww

2002-05-20 Thread Rasmus Lerdorf
http://php.he.net/distributions/php-4.2.1-Win32.zip On Sat, 18 May 2002, Jason Caldwell wrote: Is there some place else I can download release 4.2.1 ??? www.php.net is dead slow, and us2.php.net is taking forever to prompt me for the download -- I keep getting hit with the Page Cannot be

Re: [PHP] PHP Excel

2002-05-20 Thread 1LT John W. Holmes
Can you just write out the formula to a cell? i.e. write the value =SUM(C1:C5) to a cell and see if it's evaluated? Just throwing things out... I would think that you wouldn't need formulas. Isn't that the idea of using PHP to create the Excel document? Have PHP compute the values of the

RE: [PHP] PHP Excel

2002-05-20 Thread Scott Hurring
Are you on a Win32 platform? If so, use COM... $cell = $sheet-Cells($row,$col); $cell-activate; $cell-formula = your formula; --- Scott Hurring Systems Programmer EAC Corporation [EMAIL PROTECTED] Voice: 201-462-2149 Fax: 201-288-1515 -Original Message- From:

RE: [PHP] PHP Excel

2002-05-20 Thread Scott Hurring
-Original Message- From: 1LT John W. Holmes [mailto:[EMAIL PROTECTED]] Subject: Re: [PHP] PHP Excel I would think that you wouldn't need formulas. Isn't that the idea of using PHP to create the Excel document? Have PHP compute the values of the formulas and print out the actual

Re: [PHP] PHP Excel

2002-05-20 Thread 1LT John W. Holmes
What if the user opens up the sheet and changes a number after PHP creates it? Wouldn't you want formulas to re-compute the sheet and keep it correct? :) Like I said, it depends on your case. When I create an Excel file, it's a snapshot of everything. If you need an updated speadsheet, you

Re: [PHP] refresh (part of) a page?

2002-05-20 Thread Sqlcoders.com Programming Dept
Hi there!, To keep both iframes on the same line, you need to put them inside a table (like this: table border=0trtdiframe/iframe/tdtdiframe/iframe/td/tr/tabl e) You can switch off any borders with the following: in the iframe code use an iframe tag like this: iframe border=0 height=200

Re: Re: [PHP] Re: php.net sloooooooowwww

2002-05-20 Thread Eric Coleman
Hello Rasmus Lerdorf, === At 2002-05-18, 22:45:00 Rasmus Lerdorf wrote: === http://php.he.net/distributions/php-4.2.1-Win32.zip Why not use a cookie and some type of redirection on php.net, where a user is forced to choose a mirror, and then when they go to php.net, it redirects them

Re: [PHP] List content of folders?

2002-05-20 Thread Jason Wong
On Tuesday 21 May 2002 02:24, Hawk wrote: Is there some var that does this automaticly? I don't really know what to search for on php.net.. :P If there isn't, is there any other way to do this? I know it's possible with asp but I have no plans on using asp :P Download the manual and look for

Re: [PHP] PHP Cookies

2002-05-20 Thread Miguel Cruz
[ by the way Darren, your email address doesn't work ] On Mon, 20 May 2002, Darren wrote: Ok what i mean is this if the $skin cookie is not present then what can i add to this so that it has a default value with the color #00 if($skin==default) { $skin=#6e6e6e; }; if($skin==red) {

[PHP] verify file against array?

2002-05-20 Thread Jas
I am trying to register an array containing file types, htm, jpg, jpeg, gif and pdf. I think I am missing something, if someone could look at this and tell me what I am doing wrong that would be awesome, thanks in advance. jas ?php $types = array(.gif=1, .jpg=2, .jpeg=2,

[PHP] Re: [PHP-EVANGELISM] PHPDocumentor v1.0rc1 release announcement

2002-05-20 Thread Dave Mertens
On Sun, May 19, 2002 at 07:54:45PM -0500, Greg Beaver wrote: PHPDocumentor is a JavaDoc-like automatic documentation generator for PHP written in PHP. It is the most versatile tool for documenting PHP. This sounds like the phpdoc tool that php/pear is using already. But what can *WE*, as

Re: [PHP] Refresh doesn't work

2002-05-20 Thread Thalis A. Kalfigopoulos
Have you tried creating HTML with the equivalent META header? HEAD META HTTP-EQUIV=refresh CONTENT=3; URL=newpage.php/ /HEAD Does it work for you? cheers, thalis On Mon, 20 May 2002, Olexandr Vynnychenko wrote: Hello php-general, Has anyone else here the same proplem as I have? I write

[PHP] Refresh doesn't work

2002-05-20 Thread Olexandr Vynnychenko
Hello php-general, Has anyone else here the same proplem as I have? I write in my php: header(Refresh: 3; url=newpage.php); Netscape 4.79 works fine and goes to page.php after 3 seconds pass. But IE 6 doesn't want to do that. Can anyone explain such a wonderful behavior? -- Best regards,

[PHP] display errors for developers only?

2002-05-20 Thread Jeff Bearer
In the php.ini file I have display_errors = Off, how would I configure the server, or the application to display the errors for specific hosts, the developers? -- Jeff Bearer, RHCE Webmaster PittsburghLIVE.com 2002 EPpy Award, Best Online U.S. Newspaper -- PHP General Mailing List

Re: [PHP] Refresh doesn't work

2002-05-20 Thread pong-TC
[EMAIL PROTECTED] writes: Hello php-general, Has anyone else here the same proplem as I have? I write in my php: header(Refresh: 3; url=newpage.php); Netscape 4.79 works fine and goes to page.php after 3 seconds pass. But IE 6 doesn't want to do that. Can anyone explain such a wonderful

Re[2]: [PHP] Refresh doesn't work

2002-05-20 Thread Olexandr Vynnychenko
Hello Thalis, Monday, May 20, 2002, 10:51:57 PM, you wrote: TAK Have you tried creating HTML with the equivalent META header? TAK HEAD TAK META HTTP-EQUIV=refresh CONTENT=3; URL=newpage.php/ TAK /HEAD TAK Does it work for you? TAK cheers, TAK thalis TAK On Mon, 20 May 2002, Olexandr

[PHP] imagecopy() no errors, but does nothing :-(

2002-05-20 Thread Evan
What I'm planning to do is to add the logo of the site over every image uploaded. Here is the code after upload: $dst_im = ImageCreateFromJPEG (../.$pathImg.$NomeFile); $src_im = ImageCreateFromJPEG (../imgsite/logo.jpg); $dst_size = GetImageSize(../.$pathImg.$NomeFile);//800x600

Re: [PHP] Any Ideas @ becomes _Xy

2002-05-20 Thread Analysis Solutions
On Sat, May 18, 2002 at 11:45:49AM +0100, Henry wrote: http://GetResponse.com/k.cgi?a=blahblahf=henry_Xyteacake.force9.co.uk I subscribed using the email address [EMAIL PROTECTED] They appear to have translated the @ symbol to _Xy. Any guess why? Is there a PHP function that does this

RE: [PHP] Expiring certain session data while keeping the session itself

2002-05-20 Thread Scott Hurring
What about something like this: (un-tested, just off the top of my head) It'll set a cookie the first time a user gets to the page, and will then only re-load data every 75+ seconds (from the time the user first loads data) -- and only updates the cookie when data is re-loaded if (date(U)

[PHP] Re: PHP Excel

2002-05-20 Thread Evan
Have a look at my post of 17/05/2002, I got a lot of help from there. Bye, Evan Jean-Louis Letortorec [EMAIL PROTECTED] ha scritto nel messaggio 615315231286D21182E40008C7B1EED241EDF7@COMPAQ3000">news:615315231286D21182E40008C7B1EED241EDF7@COMPAQ3000... Hello every one: I'm trying to create

Re: [PHP] xml parsing

2002-05-20 Thread Analysis Solutions
Hi: To be honest, I don't feel like wading through their example to figure out what's wrong. The way they're parsing doesn't seem very efficient to me. Check this tutorial/example out: http://www.analysisandsolutions.com/code/phpxml.htm Way cleaner and straight ahead. Enjoy, --Dan --

RE: [PHP] Any Ideas @ becomes _Xy

2002-05-20 Thread Scott Hurring
-Original Message- From: Analysis Solutions [mailto:[EMAIL PROTECTED]] Subject: Re: [PHP] Any Ideas @ becomes _Xy On Sat, May 18, 2002 at 11:45:49AM +0100, Henry wrote: http://GetResponse.com/k.cgi?a=blahblahf=henry_Xyteacake.force9.co.uk I subscribed using the email

Re: [PHP] Read a var from stdin

2002-05-20 Thread Analysis Solutions
On Sun, May 19, 2002 at 12:38:36AM -0500, Miguel Cruz wrote: On Sat, 18 May 2002, Rafael Perazzo wrote: Is there any way to ask the user to type the value of a variable from stdin ? (like read in Pascal, or scanf in C). I'm using PHP from command line. $f = fopen('php://stdin', 'r');

Re: [PHP] Refresh doesn't work

2002-05-20 Thread Bogdan Stancescu
Do you really need that 3 second delay? You can use a location header instead... Bogdan Olexandr Vynnychenko wrote: Hello Thalis, Monday, May 20, 2002, 10:51:57 PM, you wrote: TAK Have you tried creating HTML with the equivalent META header? TAK HEAD TAK META HTTP-EQUIV=refresh CONTENT=3;

[PHP] Calling Compiled File From PHP File

2002-05-20 Thread Bruce Miller
I have an algorithm that I don't want anyone to see; therefore I can't put it in a php file. Is there a way I can create a compiled file containing the algorithm/method that a php file can call? I see information on creating extensions--is this the way to go? If so, it looks like there's php

Re: [PHP] Calling Compiled File From PHP File

2002-05-20 Thread Rasmus Lerdorf
Yes, building a small custom extension is the way to go. And the source tree is the same for UNIX and Windows. On Mon, 20 May 2002, Bruce Miller wrote: I have an algorithm that I don't want anyone to see; therefore I can't put it in a php file. Is there a way I can create a compiled file

[PHP] Text file

2002-05-20 Thread Rodrigo
Hi guys: What I need is a php file that will read a text file and show it on a html file. And it will also write to a text file, but at the end of the file. Thanx, Rodrigo de Oliveira Costa.

[PHP] Re: A new GUI client for mySQL

2002-05-20 Thread Vinod Palan
hi , I saw this software its just query analyzer I would like users to have first look @ http://www.anse.de/mysqlfront/ this is real good for managing mysql remotely Thanks Vinod -- Vinod Palan A Calypso Technology, Inc. [EMAIL PROTECTED] (415) 817-2463 Phone Ritesh Nadhani [EMAIL PROTECTED]

RE: [PHP] Text file

2002-05-20 Thread Scott Hurring
... so open up the text file and read it. What problem are you having? Are permissions set correctly? Are you making sure to escape \ on Win? --- Scott Hurring Systems Programmer EAC Corporation [EMAIL PROTECTED] Voice: 201-462-2149 Fax: 201-288-1515 -Original Message- From:

[PHP] exec() sytem() problem with starting ext. prg

2002-05-20 Thread Alexander Saupe
Hello php-general, on a LAMP server I have the following problem: 1. playing around I tried to execute the linux df (diskfree) command with exec() or system() - no problem, works fine! 2. trying to start an application did not work! - the application which I am trying to start can be started by

Re: [PHP] Text file

2002-05-20 Thread Miguel Cruz
On Mon, 20 May 2002, Rodrigo wrote: What I need is a php file that will read a text file and show it on a html file. And it will also write to a text file, but at the end of the file. Well, you're in luck; that's all very easy to do. Are you having a specific problem with some aspect of

Re: [PHP] exec() sytem() problem with starting ext. prg

2002-05-20 Thread Miguel Cruz
Have you checked is_readable() on the full pathname of the file? Perhaps one of the parent directories isn't accessible to the web server. miguel On Mon, 20 May 2002, Alexander Saupe wrote: Hello php-general, on a LAMP server I have the following problem: 1. playing around I tried to

[PHP] Re: imagecopy() no errors, but does nothing :-(

2002-05-20 Thread Evan
Here is how i fixed the problem: //Adding logo $dst_im = @ImageCreateFromJPEG(../.$pathImg.$NomeFile); $src_im = @ImageCreateFromPNG(../imgsite/logoxmail.png); $dst_size = GetImageSize(../.$pathImg.$NomeFile); $src_size = GetImageSize(../imgsite/logoxmail.png); ImageCopy( $dst_im,

[PHP] Re: Calling Compiled File From PHP File

2002-05-20 Thread Manuel Lemos
Hello, On 05/20/2002 05:02 PM, Bruce Miller wrote: I have an algorithm that I don't want anyone to see; therefore I can't put it in a php file. Is there a way I can create a compiled file containing the algorithm/method that a php file can call? I see information on creating extensions--is

  1   2   >