Re: [PHP] Correct URL's

2002-01-27 Thread David Robley
In article 007901c1a588$120a6150$3c01a8c0@quasimodo, [EMAIL PROTECTED] says... - Original Message - From: Alexander Weber [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, January 25, 2002 10:34 AM Subject: Re: [PHP] Correct URL's Stefan Rusterholz wrote SNIP Please do

[PHP] Re: date and time triggerring

2002-01-27 Thread David Robley
In article 007b01c1a582$f9d67ec0$[EMAIL PROTECTED], [EMAIL PROTECTED] says... Hi there, Is there any one who could give me an idea regarding the date and time triggering PHP script. This date and time script whould gives an output if ever it hit Jan 1 and print's it's year. Any idea?

Re: [PHP] Re: eval()

2002-01-27 Thread Jason Wong
On Monday 21 January 2002 12:17, Alex Dowgailenko wrote: After getting very frustrated with arrays, I ended up using eval() in the following way: function top10() { $i = 0; $res = mysql_query(SELECT orders.pid, products.pid, orders.amount, products.pname FROM orders, products

RE: [PHP] Control Panel

2002-01-27 Thread Chris Kay
Love the rsponce Miles If you could make it then make it I mean what use would a control panel be on a website, why on earth Would you want suck features as Add / Remove Programes and Internet Options On a website :)... If you want it to be the best then a pre built script(s) is not

RE: [PHP] Correct URL's

2002-01-27 Thread Dave Brotherstone
Stefan Rusterholz wrote SNIP Please do not send HTML messages. Sorry, Outlook is crap and I'm just too lazy to buy (on Win you have to buy almost everything) another e-mail client for my working machine. http://www.pegasus.org/ It's free and a bit more virus resistant than a

[PHP] CGI vs. ISAPI

2002-01-27 Thread Benjamin deRuyter
I'm fairly new to PHP, having worked with ColdFusion in the past. Can somebody shed some light on to the key differences between the CGI installation and the ISAPI installation. I working with IIS on Win2k and using MySQL for a db server. Thanks. - Ben -- PHP General Mailing List

[PHP] Re: CGI vs. ISAPI

2002-01-27 Thread David
use the ISAPI module since you are using with IIS 'm fairly new to PHP, having worked with ColdFusion in the past. Can somebody shed some light on to the key differences between the CGI installation and the ISAPI installation. I working with IIS on Win2k and using MySQL for a db server.

Re: [PHP] Correct URL's

2002-01-27 Thread Alan McFarlane
Please do not send HTML messages. Sorry, Outlook is crap and I'm just too lazy to buy (on Win you have to ??? Outlook does not ~need~ to send HTML messages, it can be configured to send text-only messages Sheesh, It's about time you guys started looking properly at your environments and

[PHP] Re: PHP in the University and Corporation [was RE: [PHP] Computer Science and PHP]

2002-01-27 Thread Mike Frazer
In order to make a living as a programmer, unless you can seriously wow your potential employers with raw ability, it's difficult to make any real money unless you have a little piece of paper that says Look what I can do! I've been programming in PHP, Perl, ASP, Java, Visual Basic, C and C++ to

[PHP] Re: php login scripts

2002-01-27 Thread John Cuthbert
$user = $HTTP_GET_VARS[user]; $pass = $HTTP_GET_VARS[pass]; $real = superduperunlieklytobeguesedpass; if($user == $validuser $pass == $real) { echo thank you for logging in here is the page; ? HTML etc ?php } else { die(You supid idiot thats not a valid login); ? and call the page as

php-general Digest 27 Jan 2002 15:12:56 -0000 Issue 1136

2002-01-27 Thread php-general-digest-help
php-general Digest 27 Jan 2002 15:12:56 - Issue 1136 Topics (messages 82263 through 82287): Re: Get FILE NAME and EXTENSION?? 82263 by: Jason Wong Re: Control Panel 82264 by: Miles Thompson 82281 by: Chris Kay Re: PHP and XHTML 82265 by: Tom Rogers Re:

Re: [PHP] HOT!!! PHP4.1.x - Step by Step Installation manual

2002-01-27 Thread Olexandr Vynnychenko
Hello Andre, Friday, January 25, 2002, 3:16:38 AM, you wrote: AA Hi all. Here is my first attempt to make easy Step by Step installation AA manual for PHP4.1.x on Windows 2000 based systems running IIS5 using CGI or AA ISAPI. Here is the link that will ake a lot of people happy. :) AA

[PHP] ereg(i) for form input validation for SQL - tutorial?

2002-01-27 Thread Simon H
Does anyone know of a good tutorial for using ereg and eregi to validate standard fields for SQL input (i'm using PearDB). Typically the type of validation that I think I need would be, firstly to detect invalid characters, or special characters, or things that can screw up the SQL Query.

[PHP] Re: Memory usage with Apache

2002-01-27 Thread Paul A. Procacci
How are you executing top? Sounds like you need to use the -d option for top. Example: $exec - exec(top -d1); This way, top won't, run and run and run, and run, and run, etc, etc, etc. Try that Paul Thomas E. Ruth wrote: Hello, I'm using PHP 4.0.4pl1 with Apache 1.3.14. I have a PHP

[PHP] Re: Write to file?

2002-01-27 Thread Paul A. Procacci
Try inserting a \n at the end of each string you write. This is a new- line character. Paul Mårten andersson wrote: Hello folks… I want to write to a textfile, but I want a row for each string I write to the file. As it is now when I write to the file it just starts writing where the

[PHP] binary file + fread

2002-01-27 Thread Michael Agbaglo
Hi ! I've some trouble w/ the following peace of code... Althoug the file doesn't contain zeros at the beginning the output is a= 0 b=0 Is there a problem w/ fread ? (php 4.0.6, RedHat 7.2) ?php $filename = /export/html/log; $fd = fopen( $filename, r ); $a = fread( $fd, 4 ); $b = fread(

[PHP] fread + binary file

2002-01-27 Thread Michael Agbaglo
Hello ! I've some tourble w/ the following piece of code. The file to read doesn't contain zeros at the beginning, but the output is a= 0 b=0 is there a problem w/ fread ? (php 4.0.6, RedHat 7.2) ?php $filename = /export/html/log; $fd = fopen( $filename, r ); $a = fread( $fd, 4 ); $b =

[PHP] Re: binary file + fread

2002-01-27 Thread Paul A. Procacci
Try ?php $filename = /export/html/log; $fd = fopen( $filename, rb ); //Notice the b $a = fread( $fd, 4 ); $b = fread( $fd, 4 ); printf( a= %lx b=%lx, $a, $b); fclose( $fd ); ? notice the b in the fopen, it stand for binary. Paul Michael Agbaglo wrote: Hi ! I've some trouble w/ the

RE: [PHP] Re: PHP in the University and Corporation [was RE: [PHP] Computer Science and PHP]

2002-01-27 Thread Chris Lott
I agree about going to technical colleges and other areas. In fact, I made that very point. There is no reason that these kinds of programs even NEED to be four year degrees. I don't want to get into a debate about certifications. As one who hires programmers, I can say this for myself and many

[PHP] Re: binary file + fread

2002-01-27 Thread Michael Agbaglo
[...] $fd = fopen( $filename, rb ); //Notice the b $a = fread( $fd, 4 ); $b = fread( $fd, 4 ); printf( a= %lx b=%lx, $a, $b); fclose( $fd ); ? notice the b in the fopen, it stand for binary. [...] I noticed the 'b' like in but - it's also mentioned in the documentation, BUT it

[PHP] Porting from Linux to Windows!?$#

2002-01-27 Thread Andre Amaral
Hi all, I would like to ask my experienced friends here if its possible to port a script made for linux to run in windows IIS. I've been trying to make linux scripts run on my server and some of them do and some don't. I also notice that the problem relies how Linux and Windows refer to

Re: [PHP] Porting from Linux to Windows!?$#

2002-01-27 Thread Sterling Hughes
Hi all, I would like to ask my experienced friends here if its possible to port a script made for linux to run in windows IIS. I've been trying to make linux scripts run on my server and some of them do and some don't. I also notice that the problem relies how Linux and Windows refer to

Re: [PHP] Porting from Linux to Windows!?$#

2002-01-27 Thread Andre Amaral
Thank you for the wuick response. Now. Can I make a script that works in both Linux and Windows without much headache? Sterling Hughes [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Hi all, I would like to ask my experienced friends here if its possible to

[PHP] Re: CGI vs. ISAPI

2002-01-27 Thread Michael Kimsal
Benjamin Deruyter wrote: I'm fairly new to PHP, having worked with ColdFusion in the past. Can somebody shed some light on to the key differences between the CGI installation and the ISAPI installation. I working with IIS on Win2k and using MySQL for a db server. Thanks. - Ben

[PHP] a quick question..

2002-01-27 Thread Tauntz
If I have n variables: $nr1 = some text; $nr2 = some other text $nr3 and I want to print the text randomly (like if I enter the page.. it displays $nr1... next time it displays $nr 5.. etc) how can I achieve it ? [EMAIL PROTECTED]

[PHP] undefined symbol: uncompress

2002-01-27 Thread David Jackson
I've seen similar question in the archive, but here it goes? Setup: Slackware-8.0, Apache-1.3.23, mysql-3.23.47-pc-linux-gnu-i686 Config options: Apache: ./configure --prefix=/usr/local/www --with-modules=most compiles and run fine. MySQl from binaires run fine into /usr/local/mysql (set

Re: [PHP] a quick question..

2002-01-27 Thread Miles Thompson
Try this: Store variables in an array, say $msg_array. (For those of Hungarian preference, $arrMessages.) $index = rand (0, $n) echo $msg_array[ $index ] Now this will require a bit of messing about, seeding the randomizer, etc., but you get the idea. Miles Thompson On Sunday 27 January

Re: [PHP] a quick question..

2002-01-27 Thread Edward van Bilderbeek - Bean IT
Or, if you've already set your massive list of variables...: $varname = nr.rand(0, $n); print ${$varname}; - Original Message - From: Miles Thompson [EMAIL PROTECTED] To: Tauntz [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Sunday, January 27, 2002 8:15 PM Subject: Re: [PHP] a quick

Re: [PHP] a quick question..

2002-01-27 Thread Nick Wilson
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 * and then Tauntz blurted If I have n variables: $nr1 = some text; $nr2 = some other text $nr3 and I want to print the text randomly (like if I enter the page.. it displays $nr1... next time it displays $nr 5.. etc) how can I

Re: [PHP] undefined symbol: uncompress

2002-01-27 Thread Miles Thompson
Add the path to libphp4.so to the file /etc/ld.conf.so and run ldconfig or copy libphp4.so to the libexec directory found beneath the main apach directory. It's most likely in the libs directory of your php source directory. The second way is probably the best. HTH - Miles Thompson On

Re: [PHP] a quick question..

2002-01-27 Thread Miles Thompson
Even better! mt On Sunday 27 January 2002 03:27 pm, you wrote: * and then Tauntz blurted If I have n variables: $nr1 = some text; $nr2 = some other text $nr3 and I want to print the text randomly (like if I enter the page.. it displays $nr1... next time it displays

Re: [PHP] a quick question..

2002-01-27 Thread Tauntz
Thank you, it worked :) - Original Message - From: Nick Wilson [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Sunday, January 27, 2002 9:27 PM Subject: Re: [PHP] a quick question.. -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 * and then Tauntz blurted If I have n variables:

Re: [PHP] a quick question..

2002-01-27 Thread Paul A. Procacci
He meant push Nick Wilson wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 * and then Tauntz blurted If I have n variables: $nr1 = some text; $nr2 = some other text $nr3 and I want to print the text randomly (like if I enter the page.. it displays $nr1... next

Re: [PHP] a quick question..

2002-01-27 Thread Nick Wilson
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 * and then Paul A. Procacci blurted He meant push Hehe, I didn't think of that. Actually I didn't mean push /or/ pop in the array sense of the word, I meant *put* as in create! I'll take more care in future :-) - -- Nick Wilson Tel:+45

Re: [PHP] Porting from Linux to Windows!?$#

2002-01-27 Thread Michael Sims
At 01:02 PM 1/27/2002 -0500, Andre Amaral wrote: Thank you for the wuick response. Now. Can I make a script that works in both Linux and Windows without much headache? I'm currently working with a few developers to redesign my company's website using PHP. I am developing on a Linux platform

Re: [PHP] undefined symbol: uncompress

2002-01-27 Thread Michael Sims
At 12:11 PM 1/27/2002 -0700, David Jackson wrote: I've seen similar question in the archive, but here it goes? Setup: Slackware-8.0, Apache-1.3.23, mysql-3.23.47-pc-linux-gnu-i686 [...] Config options: Syntax error on line 236 of /usr/local/www/conf/httpd.conf: Cannot load

Re: [PHP] undefined symbol: uncompress

2002-01-27 Thread David Jackson
Mike -- Thanks for you reply, I made the changes an am stilling getting the same error? On the other hand if I compile PHP with out specifing mysql home. I don't get the error. David Jackson Miles Thompson wrote: Add the path to libphp4.so to the file /etc/ld.conf.so and run ldconfig or

RE: [PHP] set_time_limit() in a loop

2002-01-27 Thread Matthew Delmarter
Thanks for your reply Paul. The script is getting subscriber details from a database and then firing our personalised emails in HTML and text format. The while statement loops through the query results and fires out the emails using the mail() command. It works well so far and indeed does

[PHP] Only one value.

2002-01-27 Thread Philip J. Newman
Don't know is this is a Mysql problem or PHP, but I have a table with 100 records in it. One of the field names is $iName. When listing all the records I want only the 1st Uneak value to be displayed. For excample if values where, Bob, Jan, Mike, James, Bob, James, James, Mike ... I would

[PHP] Session updates ok first time only.

2002-01-27 Thread Floyd Baker
Can someone tell me why this is not working right? Two pages are basically the same, passing an accumulating value back and forth. There is no other session being created. The first time it increments and passes to the second page, and is picked up. It puts a 1 in the session file. After

Re: [PHP] undefined symbol: uncompress

2002-01-27 Thread Michael Sims
At 12:50 PM 1/27/2002 -0700, David Jackson wrote: Mike -- Thanks for you reply, I made the changes an am stilling getting the same error? On the other hand if I compile PHP with out specifing mysql home. I don't get the error. Check and see which directory libmysqlclient.so is in, and make sure

[PHP] Re: Only one value.

2002-01-27 Thread Michael Kimsal
Philip J. Newman wrote: Don't know is this is a Mysql problem or PHP, but I have a table with 100 records in it. One of the field names is $iName. When listing all the records I want only the 1st Uneak value to be displayed. For excample if values where, Bob, Jan, Mike, James, Bob,

Re: [PHP] Re: Only one value.

2002-01-27 Thread Mark Charette
From: Michael Kimsal [EMAIL PROTECTED] Philip J. Newman wrote: Don't know is this is a Mysql problem or PHP, but I have a table with 100 records in it. One of the field names is $iName. When listing all the records I want only the 1st Uneak value to be displayed. For excample if

Re: [PHP] Re: Only one value.

2002-01-27 Thread Michael Kimsal
Mark Charette wrote: Almost right. DISTINCT is not a SQL function: select distinct iName from tablename would be the correct syntax. Seems to work fine on every version of MySQL I've used for the past few years, and I believe SQL Server 6.5 and 7, if memory serves correct.

[PHP] Substitute for getenv() when using ISAPI ??

2002-01-27 Thread Christian Blichmann
Hi there! Sorry for posting this again, but I got no answers... Does anybody know a replacement for the built-in getenv()-function, since according to the manual it's not supported, when running as an ISAPI-module under Internet Information Server 5.0 on Windows 2k Professional. I've created a

[PHP]Upload file to system

2002-01-27 Thread Duky Yuen
I want to make something like when you are attaching something to an email in hotmail. I want to make something that searches your own computer for files on your harddisk that you want to upload to the server. But I don't know if this is possible. If this is possible.Can somebody tell me which

[PHP] phplib

2002-01-27 Thread Kunal Jhunjhunwala
hey... i was wondering, is there any way to check wether the replacing of a variable failed or no? example : {one} $t-set_var(one, 1); I want to know wether one was replaced by 1.. or wether the term one exists at all in the template.. any ideas on how to find this out? Regards, Kunal

[PHP] Trying to remove bad charactors.

2002-01-27 Thread Philip J. Newman
I'm trying to replace !@#$%^*() with nothing how ever every thing that I try it takes out the space too which is bad. Siggestions $q=preg replace(!,,$q); Philip J. Newman Philip's Domain - Internet Project. http://www.philipsdomain.com/ [EMAIL PROTECTED] Phone: +64 25 6144012

Re: [PHP] undefined symbol: uncompress

2002-01-27 Thread David Jackson
Micheal -- Thanks for your replys. What I see in /usr/local/mysql/lib is: libmysqlclient.a I'm wondering if the MySQL binaaries use static libs? Thanks, David Michael Sims wrote: At 12:50 PM 1/27/2002 -0700, David Jackson wrote: Mike -- Thanks for you reply, I made the changes an am

Re: [PHP] phplib

2002-01-27 Thread Nick Wilson
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 * and then Kunal Jhunjhunwala blurted hey... i was wondering, is there any way to check wether the replacing of a variable failed or no? example : {one} $t-set_var(one, 1); I want to know wether one was replaced by 1.. or wether the

Re: [PHP] phplib

2002-01-27 Thread Kunal Jhunjhunwala
Well, when giving the flexibility to the user to change the look of a program, it is impossible to track wether the user leaves your program copy right code in the template... so, if the {copyright} variable doesnt exist, just display the copy right info.. if {copyright} exists, replace it...

[PHP] MySQL-PHP-RAQ4 dilemma!

2002-01-27 Thread Greg Conway
Hi all, I'm trying to add MySQL to my RaQ4. It came by default with PHP4 but no MySQL. I've installed all 4 RPMs (including the developer part and everything) of the latest version, and MySQL is working fine. I've got DbTools (fantastic!) to interact with it, no probs. However, I

[PHP] Re: MySQL-PHP-RAQ4 dilemma!

2002-01-27 Thread Michael Kimsal
Greg Conway wrote: Hi all, snip So, my question is, how can I tell if PHP has been compiled with MySQL support or not, and if not, how can I add it in without breaking whatever's already there!! I presume PHP will be an RPM (or even a .PKG?), so can I specify these options within RPM

Re: [PHP]Upload file to system

2002-01-27 Thread sundogcurt
http://www.php.net/manual/en/features.file-upload.php http://www.faqts.com/knowledge_base/view.phtml/aid/988 : ) [EMAIL PROTECTED] wrote: I want to make something like when you are attaching something to an email in hotmail. I want to make something that searches your own computer for files on

Re: [PHP] undefined symbol: uncompress

2002-01-27 Thread Miles Thompson
Try it t wo ways ... 1. w/o the with-mysql, run a script containing phpinfo() and see what it returns. MySQL support is compiled in by default to a default location. 2. Check that the with-mysql parameter is correct. On one system I had a path that was /usr/local/mysql/bin/mysql and yes, that

[PHP] File uploading like hotmail

2002-01-27 Thread Duky Yuen
I want to make something like when you are attaching something to an email in hotmail. I want to make something that searches your own computer for files on your harddisk that you want to upload to the server. But I don't know if this is possible. If this is possible.Can somebody tell me which

Re: [PHP]Upload file to system

2002-01-27 Thread Duky Yuen
Thnx. it's working now. But.. Howcome I can only upload files no bigger then 100 kb? I have changed the MAX_FILE_SIZE to 10. Also, I can't change the php.ini, coz the webserver isn't mine.. what to do now?? Sundogcurt wrote: http://www.php.net/manual/en/features.file-upload.php

[PHP] PHP and MYSQL Security`

2002-01-27 Thread Duky Yuen
How can I secure my username and password? In 1 of my files, it contains the following: $conn = mysql_connect( 12.34.56.78, username, password); mysql_select_db(database,$conn); What should I do, so people can't get this information? Duky -- PHP General Mailing List

[PHP] Ouch that hurts

2002-01-27 Thread Philip J. Newman
Warning: open(/tmp\sess_00fe5002ea636ad76223e15f3841da02, O_RDWR) failed: m (2) in d:\website\index.php on line 2 What dose this mean? Philip J. Newman Philip's Domain - Internet Project. http://www.philipsdomain.com/ [EMAIL PROTECTED] Phone: +64 25 6144012

[PHP] Back button to Query Pages

2002-01-27 Thread phantom
Page 1 is a list of people's names (queried by State). Page 2 is each person's profile. When I hit the back button on Page 2 it tells me it has to requery the List on Page 1 (apparently not stored in the client's browser cache). Is there anyway to make it use the cached copy instead of

[PHP] Re: [PHP-DB] [PHP] PHP and MYSQL Security`

2002-01-27 Thread Miles Thompson
For a start, please don't cross-post. Secondly, people don't see these files because the PHP engine parses them. However, you could remove each of the parameters to an include file outside the web tree and have PHP read it. Set the include_path in php.ini Thus in a file named parameters.inc

Re: [PHP] PHP and MYSQL Security`

2002-01-27 Thread Fred
If this file has a .php extension remote users will not have access to the variables because the file is parsed by php and they never see the actual file contents when requesting the document via the web. If you are concerned with users on localhost having access to the file, simply give it the

Re: [PHP] Ouch that hurts

2002-01-27 Thread Jeff Sheltren
It seems that you are running the script on a windows machine... Yet, I think that your php.ini must be trying to store session files in /tmp (which does not exist on windows). Perhaps if you change the session path in the php.ini file it will fix the problem... Jeff At 01:50 PM 1/28/2002

[PHP] [PHP-DB] Re: [PHP] PHP and MYSQL Security`

2002-01-27 Thread Paul DuBois
At 16:59 -0800 1/27/02, Fred wrote: If this file has a .php extension remote users will not have access to the variables because the file is parsed by php and they never see the actual file contents when requesting the document via the web. If you are concerned with users on localhost having

[PHP] PHP SITE ERROR

2002-01-27 Thread Philip J. Newman
Warning: Call-time pass-by-reference has been deprecated - argument passed by value; If you would like to pass it by reference, modify the declaration of similar_text(). If you would like to enable call-time pass-by-reference, you can set allow_call_time_pass_reference to true in your INI

[PHP] One error after another.

2002-01-27 Thread Philip J. Newman
Warning: Cannot send session cookie - headers already sent by (output started at d:\website\myphp\fitness\index.php:7) in d:\website\myphp\fitness\config.php on line 3 Warning: Cannot send session cache limiter - headers already sent (output started at d:\website\myphp\fitness\index.php:7) in

[PHP] RE: [PHP-DB] [PHP] PHP and MYSQL Security`

2002-01-27 Thread Gurhan Ozen
The actual content of the .php files won't be seen from the net since it is server side scripting language.. But if you are still concerned you can put database connection info into another file (preferably .php file) and place it somewhere outside your web directory and access it thru require()

Re: [PHP] One error after another.

2002-01-27 Thread Jeff Sheltren
Can you paste the code please? You must send the cookie before you send anything else. Jeff At 02:20 PM 1/28/2002 +1300, Philip J. Newman wrote: Warning: Cannot send session cookie - headers already sent by (output started at d:\website\myphp\fitness\index.php:7) in

Re: [PHP] PHP and MYSQL Security`

2002-01-27 Thread Brian Clark
* Miles Thompson ([EMAIL PROTECTED]) [Jan 27. 2002 19:55]: Hi Miles, [...] $hostname = 12.34.56.78; $user = username; $password = password; $dbname = database; and change your connection string as follows: include 'params.inc'; //maybe some other stuff her $conn =

[PHP] install error (NS + PHP + UNIX) !

2002-01-27 Thread Sang-Kyu Ahn
Hi everyone ! I try to install PHP in the following environment. O/S : solaris 2.7 PHP version : 4.0.6 Web Server : Nestscape Enterprise 3.6 But, I have some problems in installing PHP4. I referenced the following document fully.

Re: [PHP] PHP and MYSQL Security`

2002-01-27 Thread Alan McFarlane
If you know you are running on an apache server, you could try using a simple .htaccess file in a (say) etc directory which contains any or all files you wish to secure. ie: /index.php /etc/config.php /etc/.htaccess --index.php ?php include(etc/config.php); ... ?

Re: [PHP]Upload file to system

2002-01-27 Thread sundogcurt
You could try contacting your server admin and seeing if he / she will increase the limit... That would be where I would start. If that doesn't work, my hosting fees are quite reasonable ahah [EMAIL PROTECTED] wrote: Thnx. it's working now. But.. Howcome I can only upload files no bigger

[PHP] Server Communication.

2002-01-27 Thread Philip J. Newman
I'm trying to get the following ingotmation from my server. The Actual ip# that the user has connected to the server with; The Prioxy ip# that the user has connected to the server with; The DNS name that the user has connected to the server with; Is this possable with PHP? Philip J. Newman

[PHP] Is it possible to bypass max time limit?

2002-01-27 Thread Alan McFarlane
I've got a live script which occasional has to retrieve a file via ftp, download to the server, post-process it then display it. I use caching to check to see if I've already got the file, but if I don't I have to process the ftp_get operation which occasionally times out. So, is it possible to

Re: [PHP] Server Communication.

2002-01-27 Thread Jason Wong
On Monday 28 January 2002 10:42, Philip J. Newman wrote: I'm trying to get the following ingotmation from my server. The Actual ip# that the user has connected to the server with; $_SERVER['HTTP_X_FORWARDED_FOR'] The Prioxy ip# that the user has connected to the server with;

Re: [PHP] Trying to remove bad charactors.

2002-01-27 Thread Jason Wong
On Monday 28 January 2002 06:24, Philip J. Newman wrote: I'm trying to replace !@#$%^*() with nothing how ever every thing that I try it takes out the space too which is bad. Siggestions $q=preg replace(!,,$q); Use str_replace(). Only use preg() and friends *IF* you need to search for

Re: [PHP] Session updates ok first time only.

2002-01-27 Thread Jason Wong
On Monday 28 January 2002 04:37, Floyd Baker wrote: Can someone tell me why this is not working right? Two pages are basically the same, passing an accumulating value back and forth. There is no other session being created. The first time it increments and passes to the second page, and is

php-general Digest 28 Jan 2002 03:40:38 -0000 Issue 1137

2002-01-27 Thread php-general-digest-help
php-general Digest 28 Jan 2002 03:40:38 - Issue 1137 Topics (messages 82288 through 82353): Re: HOT!!! PHP4.1.x - Step by Step Installation manual 82288 by: Olexandr Vynnychenko ereg(i) for form input validation for SQL - tutorial? 82289 by: Simon H Re: Memory usage with

[PHP] Got a problem I cant figure out

2002-01-27 Thread Ben Turner
Parse error: parse error in /var/www/docs/tacklebox/404handler.php on line 47 I am receiving this error on my page but the problem is that line 47 is the ? and last line of the page. Is their something Im missing here?? Thanks, Ben

Re: [PHP] Got a problem I cant figure out

2002-01-27 Thread Richard Crawford
Very likely a missing closing brace somewhere in your program. Look for unpaired {'s or ('s or ['s. On Sun, 2002-01-27 at 20:55, Ben Turner wrote: Parse error: parse error in /var/www/docs/tacklebox/404handler.php on line 47 I am receiving this error on my page but the problem is that line

[PHP] getmxrr() is not supported

2002-01-27 Thread Philip J. Newman
I'm running PHP Version 4.0.5 Php Says this: Warning: getmxrr() is not supported in this PHP build in d:\website\myphp\test1.php on line 5 The documents say: (PHP 3, PHP 4 = 4.0.0) I'm condused. Philip J. Newman Philip's Domain - Internet Project. http://www.philipsdomain.com/ [EMAIL

[PHP] Re: getmxrr() is not supported

2002-01-27 Thread Yasuo Ohgaki
Philip J. Newman wrote: I'm running PHP Version 4.0.5 Php Says this: Warning: getmxrr() is not supported in this PHP build in d:\website\myphp\test1.php on line 5 The documents say: (PHP 3, PHP 4 = 4.0.0) I'm condused. Some functions are missing in Windows version :) -- Yasuo

Re: [PHP] Problem in mysql connection

2002-01-27 Thread Rio Uniwaly
first, u have to install the mysql. :-) and u have to know your mysql password... maybe you can try this... $connection=mysql_query(localhost,root,); if ($connection) { echo brConnection to mysql Good; } else { echo brConnection to mysql Failed; } hope this can help u.. Rio Uniwaly

[PHP] mailing to 19000 users

2002-01-27 Thread Mostafa Al-Mallawani
hi, does anyone know how to send mail to 19000 users using the mail() function, I need to create a mailing list of this number of users and looping on 19000 users takes up a heck of a lot of resources...any solutions? thanks.

Re: [PHP] mailing to 19000 users

2002-01-27 Thread Jason Wong
On Monday 28 January 2002 14:23, Mostafa Al-Mallawani wrote: hi, does anyone know how to send mail to 19000 users using the mail() function, I need to create a mailing list of this number of users and looping on 19000 users takes up a heck of a lot of resources...any solutions? thanks.

Re: [PHP] Got a problem I cant figure out

2002-01-27 Thread Alex Vargas
That error is always a missing } somewhere... :) Alex. - Original Message - From: Ben Turner [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, January 28, 2002 5:55 AM Subject: [PHP] Got a problem I cant figure out Parse error: parse error in

Re: [PHP] mailing to 19000 users

2002-01-27 Thread Mostafa Al-Mallawani
do you mean a mail server? would the mail server of IIS handle this? Jason Wong [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED]... On Monday 28 January 2002 14:23, Mostafa Al-Mallawani wrote: hi, does anyone know how to send mail to 19000 users using the mail() function, I need to

Re: [PHP] mailing to 19000 users

2002-01-27 Thread Manuel Lemos
Hello, Mostafa Al-Mallawani wrote: do you mean a mail server? No, he means a program that maintains a list of subscribers and is able to deliver efficiently invidividual messages to all of them at once. I don't know any good mailing list programs for Windows, but if you can use a Unix/Linux

Re: [PHP] mailing to 19000 users

2002-01-27 Thread John Meyer
How about croning the job and splitting up the load as you go. - Original Message - From: Mostafa Al-Mallawani [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Sunday, January 27, 2002 11:23 PM Subject: [PHP] mailing to 19000 users hi, does anyone know how to send mail to 19000 users

Re: [PHP] Session updates ok first time only.

2002-01-27 Thread Jason Wong
On Monday 28 January 2002 14:27, you wrote: Please keep discussion on the list! //pull value from session file: $page_views = $_SESSION['page_views']; No need for this, in fact this is what is preventing it from working! Once you've used session_register('var'), $var is available for

Re: [PHP] mailing to 19000 users

2002-01-27 Thread Jason Wong
On Monday 28 January 2002 15:09, Manuel Lemos wrote: Hello, Mostafa Al-Mallawani wrote: do you mean a mail server? No, he means a program that maintains a list of subscribers and is able to deliver efficiently invidividual messages to all of them at once. I don't know any good mailing

RE: [PHP] installing php3 and php4 on the same server

2002-01-27 Thread Warren Vail
I have a follow-on question to this one. I do implementations for clients in PHP and do my development and testing under windows (OK, I know), and the systems are targeted for servers that have PHP3 and others with PHP4. I would think that I could direct files with suffix php3 to use the php3

Re: [PHP] mailing to 19000 users

2002-01-27 Thread Ben-Nes Michael
use mailman :) http://www.gnu.org/software/mailman/mailman.html every problem has a different solution -- Canaan Surfing Ltd. Internet Service Providers Ben-Nes Michael - Manager Tel: 972-4-6991122 http://sites.canaan.co.il -- - Original