Re[2]: [PHP] Getting the filesize of an image?

2001-11-30 Thread faeton
Hello Matt, filesize() works only on local filesystems. MM> It scares me that nobody has answered with filesize() yet. MM> Matt Ivan 'Faeton aka xetrix' Danishevsky ICQ(240266) [EMAIL PROTECTED] www.xemichat.com ::: Documentation - The worst par

Re: [PHP] Getting the filesize of an image?

2001-11-30 Thread Matt McClanahan
On Fri, Nov 30, 2001 at 07:04:08PM -0500, Uchendu Nwachukwu wrote: > Is there any easy way to get the filesize of an image on a remote server? > > Please tell me there is! TIA It scares me that nobody has answered with filesize() yet. Matt -- PHP General Mailing List (http://www.php.net/) To

Re: [PHP] Don't tell me this isn't possible (object related question)

2001-11-30 Thread Matt McClanahan
On Sat, Dec 01, 2001 at 12:15:37AM +0100, Jeroen Olthof wrote: > let's say I have made some objects > $content = new Content(); > > and in object content a new object is created > $person = new Person("Jeroen"); > > Person holds a var age > > Now I want to do something like this in a normal PH

Re: [PHP] call_user_func problem

2001-11-30 Thread faeton
Hello C, That means that you should create a .htaccess file containing that: php_value allow_call_time_pass_reference 1 That should work :) C> Prior to 4.0.6 it worked fine, however, now when I try: C> $result = call_user_func("foo", &$bar); C> function foo( &$bar ) { C>$bar .= 'foobar'

Re: [PHP] file_exists problems

2001-11-30 Thread faeton
Hello Prolog, Hm... And what about: print ''; instead of readfile? P> if(file_exists(/images/$filename)) P> { P> readfile(/images/$filename); P> } P> else P> { P> readfile(images/npat.jpg); P> } Ivan 'Faeton aka xetrix' Danishevsky

Re[2]: [PHP] Getting the filesize of an image?

2001-11-30 Thread faeton
Hello Uchendu, Maybe comething like that would do that: http://www.foo.net/image.jpg";)); $size = strlen($fo); ?> Eh? :) UN> Not the dimensions. Of course I knew that. UN> I want the file size, as in 'how many bytes'. GetImageSize() doesn't do UN> that. --

[PHP] call_user_func problem

2001-11-30 Thread C
Prior to 4.0.6 it worked fine, however, now when I try: $result = call_user_func("foo", &$bar); function foo( &$bar ) { $bar .= 'foobar'; return 1; } I get this: Warning: Call-time pass-by-reference has been deprecated - argument passed by value; If you would like to pass it by reference

[PHP] why didnt you come watch me on my webcam? you said you would! w

2001-11-30 Thread
Below is the result of your feedback form. It was submitted by ([EMAIL PROTECTED]) on Friday, November 30, 2001 at 20:45:27 --- : hey babe, it's karina remember me? if you don't im 5'8" with brown hair and blue :eyes with

[PHP] file_exists problems

2001-11-30 Thread Prolog
I had a script that was running beautiful that simply called up a database and displayed the results in tables. I went to add images to this script and all hell broke loose. This is the portion of the script that I added: -- //filename is the item number + t.jpg -- t shorthand for thu

[PHP] $PHP_AUTH_USER & $PHP_AUTH_PW Dialog?

2001-11-30 Thread Chris Boothe
Filling these variables seems to work, but what is the header to send for a valid login? I can't seem to suppress the dialog. I have an HTML form which calls login.php. When I access the script through a redirection in the login, I don't want to see the prompt. There seems to be a lot of examp

Re: [PHP] Getting the filesize of an image?

2001-11-30 Thread Uchendu Nwachukwu
Not the dimensions. Of course I knew that. I want the file size, as in 'how many bytes'. GetImageSize() doesn't do that. -- Uchendu Nwachukwu newsreply AT unndunn DOT com - www.unndunn.com "Kurt Lieber" <[EMAIL PROTECTED]> wrote in message E169xrH-0001ED-00@z8">news:E169xrH-0001ED-00@z8... > Ye

[PHP] XML and PHP - dynamic hell

2001-11-30 Thread Chris
I'm having one page output XML for other sites to parse. Unfortunately if I give an RSS parser the site (the php file) it errors out. But if I put the output in a XML file, and give that to the RSS parser everything works perfectly. Does anyone know why it can't read it straight from the php file?

[PHP] 5928 Would you like to lose weight while you sleep? 537417

2001-11-30 Thread 753741ultimate
As seen on NBC, CBS, CNN, and even Oprah! The health discovery that actually reverses aging while burning fat, without dieting or exercise! This proven discovery has even been reported on by the New England Journal of Medicine. Forget aging and dieting forever! And it's Guaranteed! Click

[PHP] [광고] 유용한 정보입니다!!!

2001-11-30 Thread 웹미디어스쿨

[PHP] Remote_User and Password reset

2001-11-30 Thread Michael J. Seely
Hi Folks, I know I can get $REMOTE_USER info. How can I reset the remembered user name and password in the browser for a specific URL from a PHP program? -- _/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/ Michael Seely 408-777-9949 -- PHP General Mailing Li

Re: [PHP] php without the php.ini

2001-11-30 Thread Paul Warner
> Hi, > How can PHP work without the php.ini file? I have tried to find the php.ini > file on a RAQ3, to no success. Looking at the php info and then looking at > the system directories doesnt yield anything. > The same goes with a server running the Plesk control panel. > > Any ideas on how this

RE: [PHP] php without the php.ini

2001-11-30 Thread Jack Dempsey
are you sure its not there? where does phpinfo say its located? its really not there? hmm...i'm not sure, but php might just use its own internal defaults without a php.ini present, but i thought it was needed..who knows.. jack -Original Message- From: Kunal Jhunjhunwala [mailto:

[PHP] Re: Authenticating Users with their Windows Login - Desperate

2001-11-30 Thread Philip Hallstrom
What web server are you using? You can do this within IIS directly... if it's apache you might go here: http://modules.apache.org/search and search for "auth" or "windows"... I've seen some modules that do this... never used them though. On Fri, 30 Nov 2001, EDUMEXICO wrote: > Hi all, I kno

[PHP] Hi, Friend! We wish You a pleasant and successful day!

2001-11-30 Thread Herdy Arbon
DEAR FRIEND! If You show some interest and patience, and visit http://www.escalix.com/freepage/goldflow/, You can earn up to $100,000 and more during the following 120 days - it depends only on You. DOES IT SEEMS TO BE IMPOSSIBLE??? Just visit link below and read attentively to be sure there is n

[PHP] php without the php.ini

2001-11-30 Thread Kunal Jhunjhunwala
Hi, How can PHP work without the php.ini file? I have tried to find the php.ini file on a RAQ3, to no success. Looking at the php info and then looking at the system directories doesnt yield anything. The same goes with a server running the Plesk control panel. Any ideas on how this is done? Rega

Re: [PHP] Authenticating Users with their Windows Login - Desperate

2001-11-30 Thread EDUMEXICO
Hi all, I know that this is NOT the best answer, but maybe it works, so here it is: when some people type a login and a password for access a secure page, you read that values and the IP address of the user, then you tell smbclient to find the NT password server (but if you know the addreess th

Re: [PHP] PHP Authentication

2001-11-30 Thread EDUMEXICO
Hi, there is a module for apache that autorizes with mysql, the name of the module is: mod_auth_mysql-2.20, that way you can protect files/directories with the .htaccess method. Bye. PD. The module is at: www.mysql.com On Thu, Nov 29, 2001 at 08:59:05PM +, Hippie wrote: > I'm attempting au

Re: [PHP] Re: I'm getting frustrated with this.

2001-11-30 Thread chip
Got it! Turns out to be one of those obvious left-it-out errors that happens when staring at the monitor too long. One other guy helped point this out off-list. I'm at home now and don't recall his name, the emails being at work. Thanks to all, Chip On Friday 30 November 2001 12:09 pm, Fred wr

Re: [PHP] Getting the filesize of an image?

2001-11-30 Thread Kurt Lieber
Yes -- RTFM. http://php.net/getimagesize --kurt On Friday 30 November 2001 04:04 pm, Uchendu Nwachukwu wrote: > Is there any easy way to get the filesize of an image on a remote server? > > Please tell me there is! TIA -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail:

[PHP] Getting the filesize of an image?

2001-11-30 Thread Uchendu Nwachukwu
Is there any easy way to get the filesize of an image on a remote server? Please tell me there is! TIA -- Uchendu Nwachukwu newsreply AT unndunn DOT com - www.unndunn.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-ma

Re[2]: [PHP] Strange problem...

2001-11-30 Thread faeton
Hello Daniel, $date = $birth_year."-".$birth_month."-".$birth_day; And you can try inserting such kind o' date to a DATETIME field. There's an alternative way: $time = mktime(0,0,0, $birth_month, $birth_day, $birth_year); That would return a unix timestamp that can be written to a BIGINT field

RE: [PHP] Strange problem...

2001-11-30 Thread Daniel Alsén
> You should really be storing your dates as datetime so you can take > advantage of the date sorting functions. But then you'd need to use > date() to format the string into -mm-dd format. Thanks Jim. but how would i actually do that? I have studied the date() function in the manual - but c

[PHP] Re: Don't tell me this isn't possible (object related question)

2001-11-30 Thread l0t3k
Jeroen, this will be possible with ZE2 (check out the Zend site for more info) Jeroen Olthof <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > hi, > > let's say I have made some objects > $content = new Content(); > > and in object content a new object is creat

Re[10]: [PHP] Re: system(), flush() and so on...

2001-11-30 Thread faeton
Hello Darren, Something quick is like that? for($i = 0; $i < 10; $i++) { print $i."\n"; flush(); sleep(3); }; Yeah? There it is: www.xemi.info/flush.php DG> Then I'm not sure. Perhaps someone in-the-know will respond to your DG> question. Else, file a bug report. Your script runs fine on my

RE: Re[8]: [PHP] Re: system(), flush() and so on...

2001-11-30 Thread Darren Gamble
Good day, Then I'm not sure. Perhaps someone in-the-know will respond to your question. Else, file a bug report. Your script runs fine on my 'puter, FYI. Otherwise, it would be worthwhile to write something quick to test flush() with. If it is also not working, it will provide more evidence

[PHP] Don't tell me this isn't possible (object related question)

2001-11-30 Thread Jeroen Olthof
hi, let's say I have made some objects $content = new Content(); and in object content a new object is created $person = new Person("Jeroen"); Person holds a var age Now I want to do something like this in a normal PHP script echo $content->getPerson("Jeroen")->getAge(); or since PHP doesn't

RE: [PHP] Strange problem...

2001-11-30 Thread Jim Musil
This may be a rough explanantion, but when you store numbers, the length is not actually the number of digits, but the number of binary digits it would use when converted from decimal to binary. So, a length of 1, could only have 0 or 1 as inputs. a length of 2 could only have 0,1,2,or 3 The e

Re[2]: [PHP] Strange problem...

2001-11-30 Thread faeton
Hello Daniel, Maybe $user_birthdate = (int) $birth_year.$birth_month.$birth_day; would've solved the problem. :) But i'm not 100% sure. DA> I guess it´s too late here now .) It fixed itself when i altered the field DA> type to varchar. Although - i don´t really get why it can´t store the vlaue D

Re[8]: [PHP] Re: system(), flush() and so on...

2001-11-30 Thread faeton
Hello Darren, It's quick because of the fact that it's tracing a host near to my server. If you have noticed - ping from my server to login.icq.com that is being traced by default is only 10ms. Try that: www.xemi.info/test.php?host=www.google.com or something like that I waited too long...

RE: [PHP] Strange problem...

2001-11-30 Thread Daniel Alsén
Thanks guys... I guess it´s too late here now .) It fixed itself when i altered the field type to varchar. Although - i don´t really get why it can´t store the vlaue i am sendding it the field is of integer type. - Daniel -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mai

Re: [PHP] Strange problem...

2001-11-30 Thread faeton
Hello Daniel, 1 Dec 2001, 0:43:42, you've written: What's the propery of field your are inserting your info to? Is it INT or BIGINT or maybe TEXT? Try something new :) DA> Hi, DA> i have a strange problem. DA> I get a users birthdate with three dropdown menus (year, month and day of DA> mont

RE: Re[6]: [PHP] Re: system(), flush() and so on...

2001-11-30 Thread Darren Gamble
Good day, For whatever reason, your traceroute command is returning results very quickly. It may be functioning normally. Perhaps you should try a command that will take much longer to execute, such as "du / --max-depth=1". Darren Gamble Planner, Regional Services

[PHP] Strange problem...

2001-11-30 Thread Daniel Alsén
Hi, i have a strange problem. I get a users birthdate with three dropdown menus (year, month and day of month). I get these values into one string with: $user_birthdate = $birth_year . $birth_month . $birth_day; If i echo $user_birthdate after this it is correct (mmdd). But when i insert t

Re[6]: [PHP] Re: system(), flush() and so on...

2001-11-30 Thread faeton
Hello Darren, You can try it yourself : www.xemi.info/test.php What do you think? Server config: RedHat 7.1, Apache 1.3.20, PHP 4.0.6 loaded as a module. PS. I tried everything. Simply everything. DG> I am not sure what the problem is, then. I presume that you installed these DG> via RPMs, an

RE: [PHP] Stuck on array, need a little help.

2001-11-30 Thread Jim Musil
The script is still working right, you just need to nest another while loop into your current while loop. Like so ... if ($cat == 'bikes' && $sub_cat != 'Road') { while (list($val, $key)=each($bikes[$sub_cat])) { echo "$val"; while (list($sub_val, $sub_key) = each($key

RE: Re[4]: [PHP] Re: system(), flush() and so on...

2001-11-30 Thread Darren Gamble
Good day, I am not sure what the problem is, then. I presume that you installed these via RPMs, and have PHP operating as an Apache module. Does the simple script provided fail as well? Have you tried some simple scripts with sleep() and flush() to see if flush() works? If you don't hear from

RE: [PHP] Speed of Images from DB

2001-11-30 Thread Matthew Loff
It would be mighty handy for MySQL to have a binary file column type, like Oracle, where the file was stored externally, outside of the rest of the table data... Anyone heard of any plans to implement this? -Original Message- From: Julio Nobrega Trabalhando [mailto:[EMAIL PROTECTED]]

Re: [PHP] Stuck on array, need a little help.

2001-11-30 Thread Hank Marquardt
Well, it's saying that because $key is an array;) For example, "Mountain" is a $sub_cat: > "Mountain" => array( > "Trek" => array( > "Fuel 100" => "mountain.php?brand=tfuel90", > "Fuel 90" => "mountain.php?brand=schhg" >

Re[4]: [PHP] Re: system(), flush() and so on...

2001-11-30 Thread faeton
Hello Darren, Linux RedHat 7.1, Apache 1.3.20, PHP 4.0.6 DG> Oops, you're right. I did not read that line nor was I aware of that. DG> I just tried . It works DG> exactly as it says it should- outputs the lines as they come in. I also DG> know flush() works fine (at least for me). DG> Perhap

RE: [PHP] Stuck on array, need a little help.

2001-11-30 Thread Brian V Bonini
No, all that will do is reverse the placement of the values. So now it prints out Array and puts the item in the URL. Still the same problem. > -Original Message- > From: Jim Musil [mailto:[EMAIL PROTECTED]] > Sent: Friday, November 30, 2001 4:54 PM > To: [EMAIL PROTECTED] > Cc: [EMAIL P

Re: [PHP] Stuck on array, need a little help.

2001-11-30 Thread Jim Musil
Your script is working like you are asking it to ... Change ... while (list($val, $key)=each($bikes[$sub_cat])) { To ... while (list($key, $val)=each($bikes[$sub_cat])) { and it should work like you WANT it to ... >I'm stuck. $key returns "Array" how can I get at each >level of th

[PHP] Stuck on array, need a little help.

2001-11-30 Thread Brian V Bonini
I'm stuck. $key returns "Array" how can I get at each level of this array? if ($cat == 'bikes' && $sub_cat != 'Road') { while (list($val, $key)=each($bikes[$sub_cat])) { echo "\n"; echo "$val\n"; $bikes = array( "Road" => array( "Trek" => array(

RE: [PHP] declaring variables mandatory???

2001-11-30 Thread Brian V Bonini
change error level reporting error_reporting() -Brian > -Original Message- > From: Andy [mailto:[EMAIL PROTECTED]] > Sent: Friday, November 30, 2001 2:38 PM > To: [EMAIL PROTECTED] > Subject: [PHP] declaring variables mandatory??? > > > Hello, > > I have a problem with my php installatio

RE: Re[2]: [PHP] Re: system(), flush() and so on...

2001-11-30 Thread Darren Gamble
Good day, Oops, you're right. I did not read that line nor was I aware of that. I just tried . It works exactly as it says it should- outputs the lines as they come in. I also know flush() works fine (at least for me). Perhaps you could provide some information about your O/S and PHP versio

Re[2]: [PHP] Re: system(), flush() and so on...

2001-11-30 Thread faeton
Hello Darren, -- manual cut The system() call also tries to automatically flush the web server's output buffer after each line of output if PHP is running as a server module. -- manual cut Hehe. The problem is not in flushing ability of system() foo, but flush() itself

RE: [PHP] Re: system(), flush() and so on...

2001-11-30 Thread Darren Gamble
Good day, flush() will just empty the contents of the output buffer when it's called. You should do this after you output the command, yes, or the user will have to wait until the rest of the page is loaded. But this won't let you see the output as it is generated by the system() function. You

Re: [PHP] Re: system(), flush() and so on...

2001-11-30 Thread faeton
Hello Julio, Hm... I don't even know what to specify :) The exact problem is using system("traceroute host.com"), but it should've returned its results line by line, instead of executing the whole command and then outputting its result. That is done by flush(), which is executed by system() foo

[PHP] Re: system(), flush() and so on...

2001-11-30 Thread Julio Nobrega Trabalhando
Hi, please be more specific. Including what error you are getting, what is the tools being used, and their versions. Here's a quick help for producing better questions, wich will in turn make us answer faster and with more quality: http://www.tuxedo.org/~esr/faqs/smart-questions.html PS:

Re: [PHP] SMS

2001-11-30 Thread Henrik Hansen
[EMAIL PROTECTED] (Dan McCullough) wrote: > somewhere in here ... I'm not familiar with the actual object, but if you have >success withit I > would like to hear how you are doing with it. > http://www.simplewire.com/developers/code/ ahh yeah now i remember seing it :) -- Henrik Hansen -

[PHP] system(), flush() and so on...

2001-11-30 Thread faeton
Salute, PHP list :), Aloha, ppl. Could anybody explain 2 me what da heck is wrong with flush(). What is needed for it to run as needed? :) If I'm to mistaken that should be an php module for apache? And what if it's compiled together with apache? I dunno what 2 do. ---

Re: [PHP] How to work with MySQL tables WITHOUT telnet, SSH or PhpMyAdmin

2001-11-30 Thread Dan McCullough
Yes most shared hosts will not allow the creation of multiple databases. Just one, so you will have to make use with table creation. dan mccullough programming/enginnering 603.444.9808 --- Sverre Johan Tøvik <[EMAIL PROTECTED]> wrote: > At 15:19 -0500 30-11-01, [EMAIL PROTECTED] wrote: > > >

Re: [PHP] SMS

2001-11-30 Thread Dan McCullough
somewhere in here ... I'm not familiar with the actual object, but if you have success withit I would like to hear how you are doing with it. http://www.simplewire.com/developers/code/ --- Henrik Hansen <[EMAIL PROTECTED]> wrote: > [EMAIL PROTECTED] (Dan McCullough) wrote: > > > Heres a code s

Re: [PHP] How to work with MySQL tables WITHOUT telnet, SSH orPhpMyAdmin

2001-11-30 Thread Sverre Johan Tøvik
At 15:19 -0500 30-11-01, [EMAIL PROTECTED] wrote: > Our web host does not support telnet or SSH for its clients and is not > interested in working with PhpMyAdmin at the moment (I think I need their > assistance if I want to use PhpMyAdmin, right?). Is this rather typical of > web hosts? You

Re: [PHP] SMS

2001-11-30 Thread Dan McCullough
That example I sent was from a place where they have the swsms shared object which you can get in a developers license, I havent actually tried it, but was looking at it for a project. --- Henrik Hansen <[EMAIL PROTECTED]> wrote: > [EMAIL PROTECTED] (Dan McCullough) wrote: > > > I think you ne

[PHP] Re: [PHP-WIN] BARE LF in Sending Mail from PHP

2001-11-30 Thread R'twick Niceorgaw
which line the error was on ? and what was the error ? I can not see why it would give any parse error I have run this test program and it worked fine.. without any parse error. It may be somewhere else in your code. Here's my sample code. \r\n"; $Headers.="X-Mailer: PHP/" . phpv

Re: [PHP] SMS

2001-11-30 Thread Henrik Hansen
[EMAIL PROTECTED] (Dan McCullough) wrote: > Heres a code snippet: > Sorry for leading astray. > > // load the swsms module > dl( "../swsms.so" ); never heard of a sms module in php, where can you get this? -- Henrik Hansen -- PHP General Mailing List (http://www.php.net/) To unsubscrib

Re: [PHP] SMS

2001-11-30 Thread Henrik Hansen
[EMAIL PROTECTED] (Dan McCullough) wrote: > I think you need an SMS server to "broadcast" the data. Am I correct? you can also send sms with the mail function, but a gsm modem is by far the best, so for a stabile service either rent a sms service or get somekind of a gsm modem. AFAIK -- Henr

[PHP] Re: How to work with MySQL tables WITHOUT telnet, SSH or PhpMyAdmin

2001-11-30 Thread Julio Nobrega Trabalhando
>(I think I need their > assistance if I want to use PhpMyAdmin, right? Most of the time, no. These are the lines you usually need to change on PhpMyAdmin config file: $cfgServers[1]['host'] = 'localhost'; // MySQL hostname $cfgServers[1]['user'] = 'root'; // MySQL user

[PHP] How to work with MySQL tables WITHOUT telnet, SSH or PhpMyAdmin

2001-11-30 Thread sgibbs
Our organization has a website that uses PHP and MySQL. In fact, at least 75% of our webpages are generated dynamically. I want to run reports on the current MySQL database, create new databases and create, copy and alter existing tables. Our web host does not support telnet or SSH for its c

[PHP] Re: I'm getting frustrated with this.

2001-11-30 Thread Fred
If you want to know exactly why mysql functions fail you should always, and I do mean always, use this form: $Result = mysql_query($Query, $Connection) or die (mysql_error()); You will always get a fairly descriptive error from mysql. If you still do not understand the error, at least you

Re: [PHP] chown/chgrp not working

2001-11-30 Thread Fred
I tackled a similar problem by running a root cron job that does the chown and chgrp every x minutes. Fred Paul Warner <[EMAIL PROTECTED]> wrote in message 023601c179b6$a35bdd80$[EMAIL PROTECTED]">news:023601c179b6$a35bdd80$[EMAIL PROTECTED]... > Ahh, it is not running with root priv., so this i

Re: [PHP] declaring variables mandatory???

2001-11-30 Thread R'twick Niceorgaw
Check this url. Your error_reporting is set to E_ALL in the php.ini file. Change it to suit your need. On my machine I have error_reporting set as below in the php.ini file. error_reporting = E_ALL & ~E_NOTICE http://www.php.net/manual/en/function.error-reporting.php - Original Messa

Re: [PHP] generating text file from php

2001-11-30 Thread John S. Huggins
On Fri, 30 Nov 2001, David Tod Sigafoos wrote: >-I have a script which generates html and writes out for users to >-download. The script works and the html file works. >- >-I build strings of html then writeout with fwrite. >- >-My question is how can i add linefeeds to the strings? \n or ma

Re: [PHP] declaring variables mandatory???

2001-11-30 Thread Tyler Longren
I'm not sure, but I'd check the Error level settings in php.ini. It might be set to display stupid little warnings like this. Good luck, Tyler Longren - Original Message - From: "Andy" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, November 30, 2001 1:37 PM Subject: [PHP] dec

[PHP] declaring variables mandatory???

2001-11-30 Thread Andy
Hello, I have a problem with my php installation. PHP runs, but all my variables have to be declared, othervise I am getting following error: Warning: Undefined variable: next in e:\projects\globosapiens\07_production\actual\forum\install.php on line 33 I guess this is only on my system, since

[PHP] generating text file from php

2001-11-30 Thread David Tod Sigafoos
I have a script which generates html and writes out for users to download. The script works and the html file works. I build strings of html then writeout with fwrite. My question is how can i add linefeeds to the strings? Thanks -- PHP General Mailing List (http://www.php.net/) To unsubsc

[PHP] Re: I'm getting frustrated with this.

2001-11-30 Thread Julio Nobrega Trabalhando
Well, you could go to www.hotscripts.com/PHP article and tutorials sections. But it is easy. Delete syntax is: This will boom every record. DELETE FROM table; This will boom every Joe: DELETE FROM table WHERE name='Joe'; This will boom an id. That's probaly the way you want. A

Re: [PHP] I'm getting frustrated with this.

2001-11-30 Thread andre
look this: http://hotwired.lycos.com/webmonkey/programming/php/tutorials/tutorial4.html maybe it help you andre - Original Message - From: <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, November 30, 2001 4:59 PM Subject: [PHP] I'm getting frustrated with this. > Hi, > I just

[PHP] I'm getting frustrated with this.

2001-11-30 Thread chip . wiegand
Hi, I just want a simple page that pulls the data from a database (got that working fine, no problem), and on that page I want to be able to have an option to delete entries. I have tried what seems to be the simplest method - using a form text field, enter the appropriate info, and hit the submit

Re: [PHP] SMS

2001-11-30 Thread Dan McCullough
Heres a code snippet: Sorry for leading astray. // load the swsms module dl( "../swsms.so" ); // create the sms object $sms = create_sms(); // send the carrier list request carrierlist_send( &$sms ); // check if the request was a success if( ! $sms->success ) { // display error inf

Re: [PHP] SMS

2001-11-30 Thread Dan McCullough
I think you need an SMS server to "broadcast" the data. Am I correct? Anyone --- Daniel Berwig <[EMAIL PROTECTED]> wrote: > Does anyone know how could I send data from php through SMS to a cel phone? > I simply can't find info about that. > > Thanks in advance, > > Daniel Berwig. > > > > --

Re: [PHP] SMS

2001-11-30 Thread Dan McCullough
I think you need an SMS server to "broadcast" the data. Am I correct? Anyone --- Daniel Berwig <[EMAIL PROTECTED]> wrote: > Does anyone know how could I send data from php through SMS to a cel phone? > I simply can't find info about that. > > Thanks in advance, > > Daniel Berwig. > > > > --

[PHP] SMS

2001-11-30 Thread Daniel Berwig
Does anyone know how could I send data from php through SMS to a cel phone? I simply can't find info about that. Thanks in advance, Daniel Berwig. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To

Re: [PHP] Speed of Images from DB

2001-11-30 Thread Julio Nobrega Trabalhando
> But that could be due to server capabilities of my ISP (if he has for > example a high tech mysql-server and a relativly slow machine for apache). Probaly :-) From this page: http://www.mysql.com/information/presentations/presentation-oscon2000-27 19/ You can read on section 'Gener

Re: [PHP] MySQL: copying entire columns

2001-11-30 Thread Chris Hobbs
Tom Churm wrote: >$sql = "Insert into $table_name(Address, Phone, Name) >values('$Address','$Phone','$Name')"; > >if this is true, it'll save me a lot of useless time trying to reorder >my tables. > That be it :) -- ___ ____ _ Chris Hobbs / \ \

Re: [PHP] Session Help

2001-11-30 Thread Papp Gyozo
PHP automatically calls the appropiate function instead if you. But consider that the save handler is not called on individual session_register functions, only when all output is gone, and the whole session - each registered variable - must be saved. Note: The "write" handler is not ex

[PHP] ZendOptimizer.so apache

2001-11-30 Thread Bas Jobsen
Hello, I want start ZendOptimizer with a .htaccess this is in my .htaccess: -- php_value zend_optimizer.optimization_level 15 php_value zend_extension "ZendOptimizer.so" -- ZendOptimizer.so is in the same directory. It does'nt seem to word. Do i someythnig wrong? Tnx, Bas -- PHP General M

Re: [PHP] Speed of Images from DB

2001-11-30 Thread Stefan Rusterholz
I did do that for a galery-script of myself. I don't have any numbers if you'r looking for that but my personal impression was, that the picture output from the mysql-db is actually faster than reading directly from disk. But that could be due to server capabilities of my ISP (if he has for exampl

[PHP] Database + Form

2001-11-30 Thread TD - Sales International Holland B.V.
Hey there, once again... sorry but I'm not on the list so please CC me :-) I was in the assumption that you needed to use addslashes on a var you retrieve from a form to properly insert it into the database. Well I'm not using it and I can put ",\n,\t etc in my webform but SQL won't evaluate t

[PHP] php + apache 2.0.28 / windows

2001-11-30 Thread TISSANDIE Francois
Hi all, I try to install new 2.0.28 apache on window NT. Apache works fine, but I cannot run php scripts. I think I missed something on .conf to load php, but what ? any idea ? Yhanks for help François Tissandié. Embrassez ceux que vous aimez Atos-Infogérance Tour MANHATTAN 6 Place de l'Iris

[PHP] Re: [PHP-DB] R: [PHP-DB] PHP/Mysql

2001-11-30 Thread Andrey Hristov
Set include_path to the place where is your php_mysql.so and uncomment extension=php_mysql.so Regards, Andrey Hristov Bye - Original Message - From: "Riccardi Moreno" <[EMAIL PROTECTED]> To: "Andrey Hristov" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Friday, November 30, 2001 5:45

[PHP] Re: HTTP_POST_VARS truncated

2001-11-30 Thread CC Zona
In article , [EMAIL PROTECTED] (Mweb) wrote: > > One or more options in each select field are selected, right? Fields > > having no values (such as unchecked radio buttons, etc.) don't get passed. > > Yes, I know empty values are not passed, and, yes, the options wer

Re: [PHP] chown/chgrp not working

2001-11-30 Thread Paul Warner
Ahh, it is not running with root priv., so this is the problem. Sounds like a good time to look for another way to skin this cat... Thanks! -- Paul - Original Message - From: "Darren Gamble" <[EMAIL PROTECTED]> To: "'Paul Warner'" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Friday,

[PHP] Speed of Images from DB

2001-11-30 Thread Jim Musil
I've been searching for the best way to store images that would be used in a dynamic site. In this situation, a site admin would upload images via a php script. Obviously this creates several problems. To prevent naming problems, I have php name all the uploaded images and store the name in a

[PHP] Re: [PHP-DB] PHP/Mysql

2001-11-30 Thread Paul Warner
> > Hello, > > I've got cobalt raq4 with php(work) and mysql(work) but when I try to > > connect via mysql_connect() this error happens: > > Fatal error: Call to undefined function: mysql_connect() > > This is my php.ini: > > I thing that it's all ok but it doesn't work. > > Any Ideas? > >

[PHP] Re: [PHP-DB] PHP/Mysql

2001-11-30 Thread Paul Warner
> > Hello, > > I've got cobalt raq4 with php(work) and mysql(work) but when I try to > > connect via mysql_connect() this error happens: > > Fatal error: Call to undefined function: mysql_connect() > > This is my php.ini: > > I thing that it's all ok but it doesn't work. > > Any Ideas? > >

RE: [PHP] chown/chgrp not working

2001-11-30 Thread Darren Gamble
Good day, What user is the application running as? Only the superuser can use these functions (this is documented with both of these functions). For security reasons, you may want to use an external sudo script to accomplish this. Be very, very careful... Darren G

[PHP] Re: [PHP-DB] PHP/Mysql

2001-11-30 Thread Andrey Hristov
Fatal error: Call to undefined function: mysql_connect() means to things. php is not built with integrated mysql support, or php cannot find php_mysql.so on your comp. What is the value of php.ini variable include_path or something similar. Regards, Andrey Hristov - Original Message - F

[PHP] Re: HTTP_POST_VARS truncated

2001-11-30 Thread mweb
> One or more options in each select field are selected, right? Fields > having no values (such as unchecked radio buttons, etc.) don't get passed. Yes, I know empty values are not passed, and, yes, the options were selected (I tried with different values because I started thinking I was having

[PHP] chown/chgrp not working

2001-11-30 Thread Paul Warner
I have a client that I made a image uploader/thumbnailer for that insists on using FrontPage. In order to make FP happy, I need to set the owner to 'nobody' and the group to 'site3' which are uid 99 and gid 117. The uploaded file is set as httpd/root and the thumbnail created by the script comes

[PHP] Re: HTTP_POST_VARS truncated

2001-11-30 Thread CC Zona
In article , [EMAIL PROTECTED] (Mweb) wrote: > foreach (var, key) in HTTP POST VARS { > > print "VAR: $var KEY = $key > } > > It works, (meaning that php code is correct, html output is displayed, > and no error are reported) but only prints three lines, i.e

Re: [PHP] URGENT-HELP !!!!!!

2001-11-30 Thread Jim Musil
If you mail via pfsockopen, then you specify the sender which must be real, but you also specify the From: header which can be anything you want. ex: $smtp_server = "your.smtp.server"; $port = 25; $mydomain = "yourdomain.com"; $sender = "[EMAIL PROTECTED]";

RE: [PHP] Problem connecting to mysql via odbc

2001-11-30 Thread Andrew Hill
Mweb, Set your ODBCINI environment variable (and others) as per the HOWTO at www.iodbc.org. This HOWTO is for iODBC, but the concepts are the same for this error condition. Best regards, Andrew Hill Director of Technology Evangelism OpenLink Software http://www.openlinksw.com Universal Data Acc

[PHP] help with images

2001-11-30 Thread Gav
First of all please excuse my ignorance if anything that I ask here is impossible or a common question, I have searched but not found the answer. I'm working with composite images which at the moment are dynamically produced and set in html layers. The problem is that I want the user to be able t

RE: [PHP] is_int with HTML FORM

2001-11-30 Thread Matt Williams
> or remove the {$len} to not check for a length > Sorry I meant replace the above with * m: -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROT

  1   2   >