RE: [PHP] Re: MIME help needed please...

2003-02-26 Thread Steve Jackson
I just sorted a similar problem I was having. Basically make sure that the file your trying to send is Chmod'ed so that the mail() can actually execute not just read. I was having the same problem where any email I was attaching a file to (in this case a PDF) was attaching the file fine but only

Re: [PHP] to Bryan Lipscy Re: [PHP] how___??

2003-02-26 Thread Ernest E Vogelsinger
At 00:52 26.02.2003, Luis A said: [snip] MEN I DONT HAVE INTERNET ACCESS thanks anyway if some one else can help m e please [snip] Interesting case. Sending email without internet access is something you

Re: [PHP] Include files

2003-02-26 Thread Ernest E Vogelsinger
At 01:34 26.02.2003, Kenneth Suralta said: [snip] How do I include external library files in PHP??? I would like to put the lines that are repeated in each php files, in a separate file. e.g. ?php $db_host = localhost; $db_port = 3306; $db_name = test; ...

Re: [PHP] no session id

2003-02-26 Thread Ernest E Vogelsinger
At 01:39 26.02.2003, php said: [snip] this code doesn't ouput a session-id. is the code right? and if not, any suggestions what's wrong? i'm new into sessions, so forgive me for stupid questions.. thanx michiel ? session_start (); Header(Content-Type:

Re: [PHP] file upload and a browse for file box

2003-02-26 Thread Ernest E Vogelsinger
At 02:32 26.02.2003, Sunfire said: [snip] i looked in the manual about file uploads and basically know how it works other than a little playing around with it but was wondering how you could make a browse for file button that opens a box on the users

Re: [PHP] Session SID curio

2003-02-26 Thread Ernest E Vogelsinger
At 08:22 26.02.2003, Bryan Lipscy said: [snip] I ran into a weird curiosity playing with sessions. Consider this working code: ? session_start(); echo Session ID == .SID; ? [snip] The SID constant

Re: [PHP] String searching peformance

2003-02-26 Thread {R}ichard Ashton
On Mon, 24 Feb 2003 22:35:35 +0100, Ernest E Vogelsinger wrote: At 21:22 24.02.2003, {R}ichard Ashton spoke out and said: [snip] while ( $flag == true ) if (strpos($body, $word[]) 0) {$flag=false} What I really need to know is which is the fastest loop?

Re: [PHP] String searching peformance

2003-02-26 Thread Ernest E Vogelsinger
At 09:49 26.02.2003, {R}ichard Ashton said: [snip] Do you think that: if (preg_match($re, $posting, $hits)) would slow it down at all. The $buzzwords will be kept in a file to be loaded before each run, every 5 minutes. I could therefore keep a count of

[PHP] header and writing problem

2003-02-26 Thread George Pitcher
Hi all, Back on the list after a long break. I want to be able to write all my sql queries (well at least the ones that change or create records) to a log file. However some of the pages that contain these queries are just used to redirect the user depending on the result. Writing to a file id

Re: [PHP] header and writing problem

2003-02-26 Thread Ernest E Vogelsinger
At 10:02 26.02.2003, George Pitcher said: [snip] Hi all, Back on the list after a long break. I want to be able to write all my sql queries (well at least the ones that change or create records) to a log file. However some of the pages that contain these

RE: [PHP] header and writing problem

2003-02-26 Thread Niklas Lampén
I think this can be done with mySQL (if you're using it) log-files. Niklas -Original Message- From: George Pitcher [mailto:[EMAIL PROTECTED] Sent: 26. helmikuuta 2003 11:02 To: [EMAIL PROTECTED] Subject: [PHP] header and writing problem Hi all, Back on the list after a long break.

RE: [PHP] header and writing problem

2003-02-26 Thread George Pitcher
Ernest, That worked a treat, many thanks. George -Original Message- From: Ernest E Vogelsinger [mailto:[EMAIL PROTECTED] Sent: 26 February 2003 9:16 am To: George Pitcher Cc: [EMAIL PROTECTED] Subject: Re: [PHP] header and writing problem At 10:02 26.02.2003, George Pitcher

Re: [PHP] String searching peformance

2003-02-26 Thread Jason Wong
On Wednesday 26 February 2003 16:49, {R}ichard Ashton wrote: Do you think that: if (preg_match($re, $posting, $hits)) would slow it down at all. The $buzzwords will be kept in a file to be loaded before each run, every 5 minutes. I could therefore keep a count of which words hit most

[PHP] gethostbyaddr woes

2003-02-26 Thread erich
for some reason i cannot retrieve a hostname using gethostbyaddr(). if it helps, my host is http://phpwebhosting.com/. i have asked them countless times if it is something on their end causing this and have been told that it works for them and i must be doing something wrong. any suggestions?

[PHP] what are the planned features of php 5?

2003-02-26 Thread neko
I read something a while back about more OO features, but I was wondering if there is a roadmap anywhere? cheers, neko -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] RE: PHP, Windows and COM.

2003-02-26 Thread Wez Furlong
[Note: To/CC headers trimmed] // Create a VT_EMPTY value $empty = new VARIANT(); GoTo(wdGoToBookmark, $empty, $empty, BookmarkName); On Wed, 26 Feb 2003, Richard Quadling wrote: Hi Harald. The problem with some of the VBA functions is that the first and last parameter need to be set and

Re: [PHP] gethostbyaddr woes

2003-02-26 Thread Ferhat Can
Hi Eric, You can test the gethostbyaddr function using the following script: ?php echo gethostbyaddr(64.29.28.221); ? It outputs 'mole.phpwebhosting.com' on my system. If it doesn't work the same way for you, then there may be trouble with the

RE: [PHP] what are the planned features of php 5?[Scanned]

2003-02-26 Thread Michael Egan
Neko, Out of curiosity I had a look at the php.net site and related sites and eventually came across this link: http://www.zend.com/images/press/Feb_2003-4_Zeev_PHP5.pdf I think this gives the details you're after. Michael Egan -Original Message- From: neko [mailto:[EMAIL PROTECTED]

[PHP] Re: problem with ftp browsing

2003-02-26 Thread Sascha Ende \[GetContent\]
I have the same problem, too. But I didnt found out why... -- MFG Sascha Ende Matt [EMAIL PROTECTED] schrieb im Newsbeitrag news:[EMAIL PROTECTED] I have a php script that is like and ftp client, only is just browsers the server and displays file names and folders. If you click on the name of

[PHP] ldap modify + add problem

2003-02-26 Thread Jim Greene
Hello, I seem to be having a problem with doing an ldap_add and a modify in the same script. I assumed if I did an unbind after my modify I should be fine but it seems to not work still. Below is the script. Thanks ?php // LDAP variables $ldaphost = ldap.server; // your ldap servers

RE: [PHP] what are the planned features of php 5?

2003-02-26 Thread Dan Hardiker
I read something a while back about more OO features, but I was wondering if there is a roadmap anywhere? Out of curiosity I had a look at the php.net site and related sites and eventually came across this link: http://www.zend.com/images/press/Feb_2003-4_Zeev_PHP5.pdf I think this is more

RE: [PHP] what are the planned features of php 5?[Scanned]

2003-02-26 Thread Brad Young
You can also view the recorded on-line seminars that Zeev gave, which go into even more detail. http://www.zend.com/iseminar.php The Future of PHP and the Zend Engine 2 The Future of PHP and the Zend Engine 2 - Part 2 Examples and tutorials Brad -Original Message- From:

Re: [PHP] simple problem about authentication

2003-02-26 Thread Oliver Witt
1lt John W. Holmes schrieb: I'm trying to set up a password section on my website. But I don't want a window popping up asking for a username and password. I'd rather like to have a form that submits the data. I did that and it works fine, but the browser seems to not save the username

[PHP] Problem wit doing ldap_add and modify in same script

2003-02-26 Thread Jim Greene
Strange problem: Taking the 2 halfs of the scripts (the section to update uidNumber and the one to add the user) and combining them causes an error: Fatal error: ldap_add() [http://www.php.net/function.ldap-add]: Unknown attribute in the data in /home/jwgreene/ldap-add.php on line 68 Yes doing

Re: [PHP] simple problem about authentication

2003-02-26 Thread Ernest E Vogelsinger
At 14:22 26.02.2003, Oliver Witt spoke out and said: [snip] if(isset($user) isset($pw)){ $user = ucwords(strtolower($user)); $PHP_AUTH_USER = $user; $PHP_AUTH_PW = $pw;} [more...] And this works fine for just this page. Whenever I click on a link to a page

[PHP] checking if module exists

2003-02-26 Thread Jun
I want my script to compress the output using gzip library. But before that, I want to check if gzip library is enabled before calling the compression functions... How do I do that? jun -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Re: problem with ftp browsing

2003-02-26 Thread Mat Harris
i hae found many times that there can be significant differences between commands of windows ftp server and grown up ftp servers. It would be advisable to trap every piece of output you can as i took us days last time to find the glich. no more windows for us On Wed, Feb 26, 2003 at 01:50:24

Fw: [PHP] checking if module exists

2003-02-26 Thread Rick Emery
Write a test script and run it on the target server. If it crashes, it's not enabled. - Original Message - From: Jun [EMAIL PROTECTED] To: Sent: Wednesday, February 26, 2003 7:38 AM Subject: [PHP] checking if module exists I want my script to compress the output using gzip library.

[PHP] to holmes Re: [PHP] mysql trouble

2003-02-26 Thread Luis A
how is that ?? - Original Message - From: John W. Holmes [EMAIL PROTECTED] To: 'Luis A' [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Tuesday, February 25, 2003 8:07 PM Subject: RE: [PHP] mysql trouble take a look at this ?php // process form $link = mysql_connect(localhost,

[PHP] to holmes Re: [PHP] mysql trouble

2003-02-26 Thread Luis A
you mean i do not need to put the pus on the end of the function (+) i dont need to put there that? - Original Message - From: John W. Holmes [EMAIL PROTECTED] To: 'Richard Whitney' [EMAIL PROTECTED]; 'Luis A' [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Tuesday, February 25, 2003

RE: [PHP] to holmes Re: [PHP] mysql trouble

2003-02-26 Thread Niklas Lampén
No, he doesn't mean that. You are doing: $String = text + more text; while you should be doing: $String = text . more text; Niklas -Original Message- From: Luis A [mailto:[EMAIL PROTECTED] Sent: 26. helmikuuta 2003 16:09 To: [EMAIL PROTECTED] Subject: [PHP] to holmes

Re: [PHP] to paulm Re: [PHP] mysql trouble

2003-02-26 Thread Luis A
i know the sql server in default does not have password - Original Message - From: paulm [EMAIL PROTECTED] To: Luis A [EMAIL PROTECTED] Sent: Tuesday, February 25, 2003 8:06 PM Subject: Re: [PHP] to paulm Re: [PHP] mysql trouble k but you still need to do insted of password, and see

Re: [PHP] Include files

2003-02-26 Thread David Eisenhart
if require is used to include the 'same file', say, twice that file will be loaded twice. This can of course cause errors (such as resulting from the redefinition of functions within this file). In contrast the require_once construct will only load a file 'once' irrespective of the number of times

Re: [PHP] getimagesize() issues starting with PHP 4.3..

2003-02-26 Thread Jason DiCioccio
--On Wednesday, February 26, 2003 16:35 +1000 Tom Rogers [EMAIL PROTECTED] wrote: Hi, Wednesday, February 26, 2003, 2:27:10 PM, you wrote: JD Can anyone reproduce this problem? [...] JD ? JD $retval=getimagesize('http://armanii.c.crosslink.net/arcticsilver/dtmsig4 .j JD pg'); JD echo

Re: [PHP] checking if module exists

2003-02-26 Thread Chris Boget
I want my script to compress the output using gzip library. But before that, I want to check if gzip library is enabled before calling the compression functions... How do I do that? You can try extension_loaded(); Chris -- PHP General Mailing List (http://www.php.net/) To unsubscribe,

Re: [PHP] checking if module exists

2003-02-26 Thread Marek Kilimajer
function_exists() -- checks if a function exists Jun wrote: I want my script to compress the output using gzip library. But before that, I want to check if gzip library is enabled before calling the compression functions... How do I do that? jun -- PHP General Mailing List

[PHP] resizing .jpg file in php

2003-02-26 Thread Anthony Ritter
I'd like to use (with permission) .jpg files from a webcam from another URL. Once that URL is opened and read via PHP as a file into my site is it possible to resize that image? It measures 640 x 480 pixels and I would like to reduce the image size by 25%. Thank you. Tony Ritter -- PHP

Re: [PHP] niklasRe: [PHP] mysql trouble

2003-02-26 Thread Luis A
oh IN GONNA TRY NOW thanks i scream againg if present truble ) - Original Message - From: Niklas Lampén [EMAIL PROTECTED] To: Php-General [EMAIL PROTECTED] Sent: Wednesday, February 26, 2003 9:13 AM Subject: RE: [PHP] to holmes Re: [PHP] mysql trouble No, he doesn't mean that.

Re: [PHP] checking if module exists

2003-02-26 Thread Jun
another please... not a good idea on production use. Rick Emery [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Write a test script and run it on the target server. If it crashes, it's not enabled. - Original Message - From: Jun [EMAIL PROTECTED] To: Sent: Wednesday,

RE: [PHP] to Bryan Lipscy Re: [PHP] how___??

2003-02-26 Thread Steve Jackson
$link = mysql_connect(remote host, mysql_user, mysql_password) or die(Could not connect: . mysql_error()); how is that ??? do i have to put the same function ? or is diferent? Basically what they are saying is $link is your connection to your database. Remote_host mysql_user and

Re: [PHP] Running system commands

2003-02-26 Thread Chris Hewitt
[EMAIL PROTECTED] wrote: I was thinking the exact same thing but I can actually delete files from these directories using a system command through php. Would that be a different type of permission? Ed On Tue, 25 Feb 2003, Chris Hewitt wrote: [EMAIL PROTECTED] wrote: Before I ask, I have read

[PHP] PDF generation asian languages

2003-02-26 Thread Simon Dedeyne
Hi, Has anyone tried to generate PDF's that contain Japanese or Chinese characters with the PHP functions? I know you have to install the Asian language fontpack for PDF's but even generating the simplest test page leads to the most horrible crashes on my Windows XP system. (using PHP 4.3.0) Any

[PHP] unlink problem... please help...

2003-02-26 Thread Jøran Sørbø
Hi! Im developing a site using php and mysql and need som help... The site is a simple company site and it gets products, pictures etc from the database... Everyhing worls great except deleting product images from the database, and unlink them from the directory... the code i use is: the delete

Re: [PHP] simple problem about authentication

2003-02-26 Thread Oliver Witt
Ernest E Vogelsinger schrieb: At 14:22 26.02.2003, Oliver Witt spoke out and said: [snip] if(isset($user) isset($pw)){ $user = ucwords(strtolower($user)); $PHP_AUTH_USER = $user; $PHP_AUTH_PW = $pw;} [more...] And this works fine for just this

Re: [PHP] unlink problem... please help...

2003-02-26 Thread Ernest E Vogelsinger
At 16:03 26.02.2003, Jøran Sørbø spoke out and said: [snip] if (isset($delimage)) { $result=unlink('$dir_to_upload/$Photo'); $result=mysql_query( update product set Photo='nothing', miniPhoto='nothing', picture='0'

[PHP] Re: resizing .jpg file in php

2003-02-26 Thread Steve Magruder
Anthony Ritter [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] I'd like to use (with permission) .jpg files from a webcam from another URL. Once that URL is opened and read via PHP as a file into my site is it possible to resize that image? It measures 640 x 480 pixels and I would

[PHP] WebTV vs PHP

2003-02-26 Thread Martin Mandl
Has anybody expirienced troubles with clients using some sort of WebTV? I got a bug report saying - sbdy using WebTV has problems with our sites. We are using pure PHP - no JAVA, no JAVAScript ... Thus it's puzzling. The only thing I are sessions. However they are working also with cookies

Re: [PHP] unlink problem... please help...

2003-02-26 Thread Jøran Sørbø
Hi! Ive tried to change the script sometimes now and it still dont work... i still get the error Warning: unlink() failed (No such file or directory) and it wont remove the data form the database $dir_to_upload is defined in config.php wich is included... it works just fine to display image

Re: [PHP] unlink problem... please help...

2003-02-26 Thread Ernest E Vogelsinger
At 16:42 26.02.2003, Jøran Sørbø spoke out and said: [snip] Hi! Ive tried to change the script sometimes now and it still dont work... i still get the error Warning: unlink() failed (No such file or directory) and it wont remove the data form the

Re: [PHP] unlink problem... please help...

2003-02-26 Thread Chris Hayes
At 16:42 26-2-03, you wrote: $result=unlink('$dir_to_upload/$row-Photo'); what do you get when you echo echo htmlspecialchars('$dir_to_upload/$row-Photo'); and do you use the full file path? Images accept relative links but in my experience PHP's file handling functions want the full path. --

Re: [PHP] WebTV vs PHP

2003-02-26 Thread Ernest E Vogelsinger
At 16:49 26.02.2003, Martin Mandl spoke out and said: [snip] Has anybody expirienced troubles with clients using some sort of WebTV? I got a bug report saying - sbdy using WebTV has problems with our sites. We are using pure PHP - no JAVA, no JAVAScript ...

Re: [PHP] niklasRe: [PHP] mysql trouble

2003-02-26 Thread 1LT John W. Holmes
Dude... honestly, lay off the coffee and learn to type. ---John Holmes... - Original Message - From: Luis A [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, February 26, 2003 9:24 AM Subject: Re: [PHP] niklasRe: [PHP] mysql trouble oh IN GONNA TRY NOW thanks i scream againg

[PHP] newbie: installing gd in php4

2003-02-26 Thread Anthony Ritter
Using MS Win 98 / PHP 4 and Apache. I tried running the following script but got an undefined call to: ImageCreate() The following copy is located in my php.ini file...one of which is: .. ;extension=php_gd.dll .. I tried uncommenting this line to no avail. What is

[PHP] conditional question.

2003-02-26 Thread Jason Jacobs
G'day all. I'm trying to hack some code, and I've run into a goofy problem. I have a conditional that looks like this: if ((is_array($HTTP_POST_VARS['cart_quantity'])) (is_array($HTTP_POST_VARS['products_id']))){ //do stuff } The evaluation returns false. What makes this confusing is

[PHP] Re: resizing .jpg file in php

2003-02-26 Thread Anthony Ritter
-- Steve Magruder wrote in message : To reduce its display size in an img tag, specify 640 * .75 for the width (assuming 640 is for width) and 480 * .75 for the height. If you actually want to reduce the size of the image, then look at PHP's image-related functions (and the GD library).

[PHP] Re: resizing .jpg file in php

2003-02-26 Thread Steve Magruder
Anthony Ritter [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] -- Steve Magruder wrote in message : To reduce its display size in an img tag, specify 640 * .75 for the width (assuming 640 is for width) and 480 * .75 for the height. If you actually want to reduce the size

Re: [PHP] conditional question.

2003-02-26 Thread Chris Hayes
At 17:10 26-2-03, you wrote: I have a conditional that looks like this: if ((is_array($HTTP_POST_VARS['cart_quantity'])) (is_array($HTTP_POST_VARS['products_id']))){ //do stuff } The evaluation returns false. What makes this confusing is just before this block, for debugging purposes, I

RE: [PHP] newbie: installing gd in php4

2003-02-26 Thread Cal Evans
did you bounce the service after uncommenting the line? =C= * Cal Evans * Stay Plugged Into Your Audience * http://www.christianperformer.com -Original Message- From: Anthony Ritter [mailto:[EMAIL PROTECTED] Sent: Wednesday, February 26, 2003 10:15 AM To: [EMAIL PROTECTED] Subject:

[PHP] to Bryan Lipscy Re: [PHP] mysql trouble

2003-02-26 Thread Luis A
the mysql server guives to me this error now tk a look ¡Gracias! Hemos recibido sus datos. Warning: mysql_free_result(): supplied argument is not a valid MySQL result resource in c:\apache group\apache\htdocs\1\2\registered.php3 on line 39 Warning: mysql_close(): supplied argument is not a

Re: [PHP] newbie: installing gd in php4

2003-02-26 Thread Martin Mandl
just make sure, the php_gd.dll is in the directory where all your other php-dlls are ... -Original Message- Using MS Win 98 / PHP 4 and Apache. What is the best way to install php_gd.dll so that I can make use of the image library. -- PHP General Mailing List (http://www.php.net/) To

Re: [PHP] newbie: installing gd in php4

2003-02-26 Thread Anthony Ritter
In my php.ini file, this is what it looks like: ... extension_dir = C:\php4\extensions\; directory in which the loadable extensions (modules) reside extension=php_gd.dll Many thanks, TR -- PHP General Mailing List

Re: [PHP] header and writing problem

2003-02-26 Thread Chris Shiflett
--- George Pitcher [EMAIL PROTECTED] wrote: Writing to a file id not permitted before creating the header for the redirect. can anyone suggest a workaround. Have you tried it? I'm not sure who told you this, but they are wrong. Chris -- PHP General Mailing List (http://www.php.net/) To

Re: [PHP] newbie: installing gd in php4

2003-02-26 Thread Siddharth Hegde
I think you have installed GD properly. This is actually due to bad documentation. The function is actually imagecreate() not ImageCreate() C the difference? Let me know if this helps - Original Message - From: Anthony Ritter [EMAIL PROTECTED] Date: Wednesday, February 26, 2003 9:45 pm

[PHP] Directory Permissions?

2003-02-26 Thread Jay Paulson
I was running fileperms() function to find out what a directory is chmod'ed to. However, this doesn't return anything because it has to check a file. My question is there a function that will return what a directory is chmod'ed to? Thanks! Jay -- PHP General Mailing List (http://www.php.net/)

[PHP] question on text file reading.

2003-02-26 Thread David Banning
The company I am working with is using an old database, which doesn't even support memo field beyond 256 characters, so it is probably too difficult, and not worth trying to interface the database with php. I was wondering how easy it would be to have php access the database via SQL. The data we

[PHP] Splitting up big strings

2003-02-26 Thread {R}ichard Ashton
I have the body ov a Usnet article, all of it, in $body. I want to split it into lines. I have tried $lines = explode( X, $body); where I have used X = 0x0A X = '0x0A' X = 0x0D X = '0x0A' X = \r -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

[PHP] Version control, Bug Reporting, Forum, Mailing List

2003-02-26 Thread Christopher Hilling
Hi - I am trying to find an application which has the following creditials Version control - including extensions Bug reporting - including email submission Forum - for multiple projects Mailing list - for multiple projects Language - php Database - mySQL OS - windows and apachie UI - skinable

Re: [PHP] question on text file reading.

2003-02-26 Thread Chris Shiflett
--- David Banning [EMAIL PROTECTED] wrote: The company I am working with is using an old database, which doesn't even support memo field beyond 256 characters, so it is probably too difficult, and not worth trying to interface the database with php. I was wondering how easy it would be to

Re: [PHP] Splitting up big strings

2003-02-26 Thread Jason Wong
On Thursday 27 February 2003 00:54, {R}ichard Ashton wrote: I have the body ov a Usnet article, all of it, in $body. I want to split it into lines. I have tried $lines = explode( X, $body); where I have used X = 0x0A X = '0x0A' X = 0x0D X = '0x0A' X = \r Try \n. -- Jason Wong -

Re: [PHP] Directory Permissions?

2003-02-26 Thread Chris Shiflett
--- Jay Paulson [EMAIL PROTECTED] wrote: I was running fileperms() function to find out what a directory is chmod'ed to. Just so you know, chmod is change mode. I understand what you mean, though; you are wanting to know the permissions of a directory. However, this doesn't return anything

[PHP] to Bryan Lipscy Re: [PHP] mysql trouble

2003-02-26 Thread Luis A
i dont know whyyy he does not inser into the databse the values ?? take a look ?php $DB_HOST = localhost; $DB_USER = db; // Do not do this. Make a different user. $DB_PASS = luisito; $DB_DB = mydb; // connect to the database server $db= @mysql_pconnect ( $DB_HOST , $DB_USER , $DB_PASS

Re: [PHP] Version control, Bug Reporting, Forum, Mailing List

2003-02-26 Thread Chris Shiflett
--- Christopher Hilling [EMAIL PROTECTED] wrote: Hi - I am trying to find an application which has the following creditials Version control - including extensions Bug reporting - including email submission Forum - for multiple projects Mailing list - for multiple projects Language - php

Re: [PHP] to Bryan Lipscy Re: [PHP] mysql trouble

2003-02-26 Thread Jason Wong
On Thursday 27 February 2003 01:00, Luis A wrote: ?php $link = mysql_connect(localhost, nobody); mysql_select_db(mydb, $link); $result = mysql_query(SELECT * FROM opina, $link); echo Nombre: .mysql_result($result, 0, nombre).br; [snip] You need to use the mysql_fetch_*() functions as well.

Re: [PHP] Version control, Bug Reporting, Forum, Mailing List

2003-02-26 Thread Adam Voigt
According to that website, it requires Postgres, not MySQL. On Wed, 2003-02-26 at 12:06, Chris Shiflett wrote: --- Christopher Hilling [EMAIL PROTECTED] wrote: Hi - I am trying to find an application which has the following creditials Version control

[PHP] Too many connections - MySQL

2003-02-26 Thread Stephen Craton
On this site, www.roempire.com, which we host, they are having problems with too many connections. I think that someone messed with the GRANT option. How can we reverse this and allow unlimited connections per site? Or is this a problem with the script? Thanks, Stephen Craton

Re: [PHP] niklasRe: [PHP] mysql trouble

2003-02-26 Thread Jason Wong
On Thursday 27 February 2003 00:08, 1LT John W. Holmes wrote: Dude... honestly, lay off the coffee and learn to type. Shouldn't that be cigars? -- Jason Wong - Gremlins Associates - www.gremlins.biz Open Source Software Systems Integrators * Web Design Hosting * Internet Intranet

[PHP] Re: Too many connections - MySQL

2003-02-26 Thread Martin Mandl
don't use persitent connections ... that will solve your problem Stephen Craton wrote: On this site, www.roempire.com, which we host, they are having problems with too many connections. I think that someone messed with the GRANT option. How can we reverse this and allow unlimited connections per

[PHP] Deleting a page after viewing it

2003-02-26 Thread Paul
I have a confirmation of membership page a user would arrive at after clicking on a URL in an email. After they click on a link in this page I want to delete the page itself so it will only exist for this one use. The URL in the page does go to another Welcome page which is on another server.

[PHP] imagecreate()

2003-02-26 Thread Anthony Ritter
On MS Win 98 / Apache / PHP 4 If somebody out there using Win can check my php.ini file and advise me what I'm doing wrong. I have uncommented: .. extension=php_gd.dll .. and have included: .. extension_dir = C:\php4\extensions I

Re: [PHP] imagecreate()

2003-02-26 Thread Adam Voigt
Did you restart? On Wed, 2003-02-26 at 12:41, Anthony Ritter wrote: On MS Win 98 / Apache / PHP 4 If somebody out there using Win can check my php.ini file and advise me what I'm doing wrong. I have uncommented: ..

Re: [PHP] to Jason Wong Re: [PHP] mysql trouble

2003-02-26 Thread Luis A
OK IF no trouble for ud to send it to me the manual ?? in spanish - Original Message - From: Jason Wong [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, February 26, 2003 12:17 PM Subject: Re: [PHP] to Bryan Lipscy Re: [PHP] mysql trouble On Thursday 27 February 2003 01:00,

Re: [PHP] Deleting a page after viewing it

2003-02-26 Thread Jason Wong
On Thursday 27 February 2003 01:32, Paul wrote: I have a confirmation of membership page a user would arrive at after clicking on a URL in an email. After they click on a link in this page I want to delete the page itself so it will only exist for this one use. The URL in the page does go to

Re: [PHP] to Jason Wong Re: [PHP] mysql trouble

2003-02-26 Thread Jason Wong
On Thursday 27 February 2003 01:32, Luis A wrote: OK IF no trouble for ud to send it to me the manual ?? in spanish b) Single HTML or Multiple HTML or Windows HTML (CHM format) Which format? Also please do not change the subject (ie putting people's name into the subject). -- Jason Wong

[PHP] Re: [PHP-DB] SESSIONS

2003-02-26 Thread Leif K-Brooks
Not $_POST[SUBMIT]. It should be $_POST['SUBMIT']. mike karthauser wrote: on 26/2/03 12:58 pm, MaN at [EMAIL PROTECTED] wrote: And also use $_POST[SUBMIT] or set register_globals On Just use $_POST[SUBMIT] register_globals was turned off for security reasons. You are compromising the

Re: [PHP] Deleting a page after viewing it

2003-02-26 Thread Chris Hayes
At 18:32 26-2-03, you wrote: I have a confirmation of membership page a user would arrive at after clicking on a URL in an email. After they click on a link in this page I want to delete the page itself so it will only exist for this one use. The URL in the page does go to another Welcome page

[PHP] $PHP_SELF with redirected domain

2003-02-26 Thread bill
If I use $PHP_SELF as the action in a form where the domain name is redirected, I get the extra directory. Is there a way around that? Details: The domain name is redirected in .htaccess like this: RewriteCond %{REQUEST_URI} !domain2 RewriteRule ^(.*) %1/$1

Re: [PHP] imagecreate()

2003-02-26 Thread Anthony Ritter
Yes Adam. Any ideas? TR -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] question on text file reading.

2003-02-26 Thread David Banning
On Wed, Feb 26, 2003 at 08:58:43AM -0800, Chris Shiflett wrote: --- David Banning [EMAIL PROTECTED] wrote: The company I am working with is using an old database, which doesn't even support memo field beyond 256 characters, so it is probably too difficult, and not worth trying to interface

Re: [PHP] $PHP_SELF with redirected domain

2003-02-26 Thread Chris Hayes
...and the problem that the form immediately goes to the real url is that people see the real url? What about one of the following: - chop off the subdir again by only putting the last part of $PHP_SELF as form action (f.i. with a combination of substr($PHP_SELF,...,...) and strpos('/') )

Re: [PHP] Splitting up big strings

2003-02-26 Thread {R}ichard Ashton
On Thu, 27 Feb 2003 01:02:54 +0800, Jason Wong wrote: On Thursday 27 February 2003 00:54, {R}ichard Ashton wrote: I have the body ov a Usnet article, all of it, in $body. I want to split it into lines. I have tried $lines = explode( X, $body); where I have used X = 0x0A X = '0x0A' X =

Re: [PHP] String searching peformance

2003-02-26 Thread {R}ichard Ashton
On Wed, 26 Feb 2003 17:47:41 +0800, Jason Wong wrote: On Wednesday 26 February 2003 16:49, {R}ichard Ashton wrote: Do you think that: if (preg_match($re, $posting, $hits)) would slow it down at all. The $buzzwords will be kept in a file to be loaded before each run, every 5 minutes. I could

Re: [PHP] to Jason Wong Re: [PHP] mysql trouble

2003-02-26 Thread Luis A
HTML b)single - Original Message - From: Jason Wong [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, February 26, 2003 12:38 PM Subject: Re: [PHP] to Jason Wong Re: [PHP] mysql trouble On Thursday 27 February 2003 01:32, Luis A wrote: OK IF no trouble for ud to send it to me

[PHP] non transmitted cookie

2003-02-26 Thread Dennis Gearon
Is there anyway for a page to save information on a user's computer which is accessible via java or javascript, but doesn't get sent with each HTML request the way a cookie is? I had this idea, patterned after kerberos: 1/ A user logs into a site via a secure link. 2/ A hash salt is stored on

[PHP] Emacs?

2003-02-26 Thread Sascha Braun
How many Persons in this List are using Emacs as there default Editor? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] imagecreate()

2003-02-26 Thread Chris Shiflett
--- Anthony Ritter [EMAIL PROTECTED] wrote: Yes Adam. Any ideas? TR Please write emails that make sense if you are going to send them to the entire list. I have noticed a few of these me too type of emails today. Chris -- PHP General Mailing List (http://www.php.net/) To unsubscribe,

[PHP] segfault of apache 2.0.44 php 4.3.1

2003-02-26 Thread Alexander Newald
Hello, I installed the latest version of apache and php and thought all went well, but I get a segfault with apache when I try to reload (apachectl graceful) apache: Here the details: kernel: 2.4.18 httpd 2.0.44 php 4.3.1 My way of installing it: cd httpd-2.0.44 ./configure

Re: [PHP] niklasRe: [PHP] mysql trouble

2003-02-26 Thread 1LT John W. Holmes
On Thursday 27 February 2003 00:08, 1LT John W. Holmes wrote: Dude... honestly, lay off the coffee and learn to type. Shouldn't that be cigars? I guess so. He can send the cigars to me!! :) John -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

[PHP] Page processing/display anomaly

2003-02-26 Thread acleave
I have a common header for all the pages on my site. This header has a link with the following code: javascript:popUp550_450('http://www.website.com/page.php?referingpage=?php echo ($_SERVER['SERVER_NAME']); echo ($_SERVER['PHP_SELF']); ?') This code works exactly right on all pages of the

Re: [PHP] imagecreate()

2003-02-26 Thread Anthony Ritter
Fine Chris. Maybe you'd be kind enough to explain how I can get that function to work. I've uncommented the line in the php.ini file. In Mastering PHP (Sybex) on page 559 - Chapter 18, the authors of the textbook - Allen and Hornberger - say when using Win to: ... uncomment

Re: [PHP] Too many connections - MySQL

2003-02-26 Thread 1LT John W. Holmes
There is a setting in MySQL for the max_connections. You just need to increase this. If you're using persistent connections, do some research on them and make sure you really need to be using them. They will eat up your connections and cause you to have this error more quickly. ---John Holmes...

  1   2   >