[PHP] Re: Bug #14360: Script ends on

2001-12-07 Thread Fred
Just out of curiosity, what makes you think the scripting engine stopped at that particular spot? Fred Thomas Seuring [EMAIL PROTECTED] wrote in message 005744005865206102L412*@MHS">news:005744005865206102L412*@MHS... Dear friends, I've opened a Bug I think I've found on PHP, but there

[PHP] session_id()

2001-12-07 Thread Gede Gilijk
This is a simple autentification script using session I try to echo the session_id(). But to my surprise, the value of session_id() is different - in configuration - if I use difference browser. IE : 9ff68d81039d9ece3ba9840328b91488 Opera : 7aa4895172b5a4785c9fb754eaf792aa NN : 1007630964

[PHP] Re: Redirect Function?!!

2001-12-07 Thread Roko Roic
I don't like header('Location: page.php'); so I use a HTTP request class to call another script/page. This does fork another httpd, but that's life :) Roko -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL

Re: [PHP] Re: Redirect Function?!!

2001-12-07 Thread Brian Clark
* Roko Roic [EMAIL PROTECTED] [Dec 07. 2001 03:26]: I don't like header('Location: page.php'); so I use a HTTP request class to call another script/page. This does fork another httpd, but that's life :) Just out of curiosity, what's wrong with header('Location ... ');? -- -Brian Clark --

[PHP] Uploaded Image display problems

2001-12-07 Thread phantom
With thanks to you who have helped me, I have constructed a PHP script that allows the client to upload an image (jpg or gif) that is stored in a MySQL Blob field. And I have a PHP script that will pull the binary data out of the MySQL database and display the upload image for the client. THE

[PHP] Re: Again (still?) problems with php and ldaps

2001-12-07 Thread Yasuo Ohgaki
You also may want to try 4.1.0RC5. http://www.php.net/~zeev/php-4.1.0RC5.tar.gz I'm not sure which bugs have been fix, but there are sevral bug fixes in 4.1.0. -- Yasuo Ohgaki Susanne Benkert wrote: Hi, After recompiling my Php with the newest LDAP-Libraries and Openssl

Re: [PHP] Is there a GUI for MySQL?

2001-12-07 Thread Neil Freeman
How about MySQL Front (www.mysqlfront.de). Couple of 'features' here and there but overall pretty good. Neil Hai Nguyen wrote: Hi, I am a newbie at this. I was just wondering if there is a Graphical User Interface for MySQL? Cheers, Hai Nguyen -- PHP General Mailing List

[PHP] Re: session_id()

2001-12-07 Thread Yasuo Ohgaki
Gede Gilijk wrote: This is a simple autentification script using session I try to echo the session_id(). But to my surprise, the value of session_id() is different - in configuration - if I use difference browser. IE : 9ff68d81039d9ece3ba9840328b91488 Opera :

Re: [PHP] Uploaded Image display problems

2001-12-07 Thread Michael Hall
I can't help you with the problem described below, but I can tell you this: I, like many others, do not store images as BLOBs in a database. I store them in a regular directory (/images), and just store the image name, path or URL in the database. This generally creates less hassles. Mick On

Re: [PHP] session_id()

2001-12-07 Thread Scott Houseman
This is most probably because PHP sessions use browser cookies to store data - thus each browser would have a different session id, as they all store their cookies in separate locations on your PC's hard drive. Regards -- Scott - Original Message - From: Gede Gilijk [EMAIL PROTECTED]

Re: [PHP] Re: session_id()

2001-12-07 Thread Michael Hall
That NN value looks like a UNIX timestamp. Mick On Fri, 7 Dec 2001, Yasuo Ohgaki wrote: This is a simple autentification script using session I try to echo the session_id(). But to my surprise, the value of session_id() is different - in configuration - if I use difference browser.

RE: [PHP] Multidimensional array construction

2001-12-07 Thread Tim Ward
I haven't seen the rest of this thread so this may be irrelevant ... but foreach($array as $key=$value) { $array[$key] = fred; } ... alters an array while traversing it. Your case seems more complicated but I would have thought nesting foreaches in this way would allow you to access the

[PHP] Binary Header

2001-12-07 Thread Bharath Bhushan Lohray
I would like to know which header is sent when files are downloaded. I have constructed a script which sends binary to the client when he clicks the download button (Helpful on servers that do not permit storage of .zip files) but the binary is displayed on the browser window. Are there any

Re: [PHP] Re: session_id()

2001-12-07 Thread Yasuo Ohgaki
Michael Hall wrote: That NN value looks like a UNIX timestamp. Mick On Fri, 7 Dec 2001, Yasuo Ohgaki wrote: This is a simple autentification script using session I try to echo the session_id(). But to my surprise, the value of session_id() is different - in configuration - if I use

[PHP] sybase_query return

2001-12-07 Thread Calin Uioreanu
Hi, I have a problem. I am using sybase_query to update a statistics table, and then reset an external cache server. These operations come one after another in the script. The ideea is that the new thing will be cached again the next time it's called, but the cache beeing reset will force it to

[PHP] laser supplies

2001-12-07 Thread gampid
VORTEX SUPPLIES YOUR LASER PRINTER TONER CARTRIDGE, COPIER AND FAX CARTRIDGE CONNECTION SAVE UP TO 30% FROM RETAIL ORDER BY PHONE:1-888-288-9043 ORDER BY FAX: 1-888-977-1577 E-MAIL REMOVAL LINE: 1-888-248-4930 UNIVERSITY AND/OR SCHOOL PURCHASE ORDERS WELCOME. (NO CREDIT APPROVAL

Re: [PHP] Re: Redirect Function?!!

2001-12-07 Thread Roko Roic
Brian Clark [EMAIL PROTECTED] wrote in message 20011207082759.GB8750@ganymede">news:20011207082759.GB8750@ganymede... * Roko Roic [EMAIL PROTECTED] [Dec 07. 2001 03:26]: I don't like header('Location: page.php'); so I use a HTTP request class to call another script/page. This does fork

[PHP] Looking for content writers for new IT magazine

2001-12-07 Thread Siim Einfeldt aka Itpunk
Hi Everyone, I`m working on an IT magazine called InfoEdit, and now I have gotten far enough with the back-end to say that the programming will be finished very soon. Now it`s time to get superb content editors for the site. If someone of you feels he/she knows enough about some IT subject and

RE: [PHP] Uploaded Image display problems

2001-12-07 Thread Gareth Hastings
I found this worked fine for me, I used the same method to read the file into the database and the following lines to print the image out. I tested this with images from 1kb -- 945kb both gif/jpg and it worked fine ? $conn = mysql_connect(x, x, x); $db = mysql_select_db (img); $result =

[PHP] HOW to download PHP files without the use of a FTP client

2001-12-07 Thread R. Lindeman
Hello, i hav e big problem i need to download some php files without the use of a FTP client or other . so if you know a solution to my problem please reply thanx -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail:

[PHP] Re: semaphores not automatically releasing at end of script

2001-12-07 Thread Thomas
ANYONE CAN HELP WITH THIS PLEASE??? -- 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 PROTECTED]

RE: [PHP] Re: semaphores not automatically releasing at end of script

2001-12-07 Thread Jon Haworth
You probably have a better chance if you include (a) some code (b) an error message (c) a description of your environment Cheers Jon -Original Message- From: Thomas [mailto:[EMAIL PROTECTED]] Sent: 07 December 2001 11:01 To: [EMAIL PROTECTED] Subject: [PHP] Re: semaphores not

[PHP] Help wih select boxes pls

2001-12-07 Thread Yogesh Mahadnac
Hi! I'm trying to make dynamically related select boxes (e.g. i have a 'State' select box, which, when i select an item in it, it automatically refreshes the select box 'Cities' containing a list of cities in that particular chosen state) Anyone can help me with this please? Thanks

Re: [PHP] Uploaded Image display problems

2001-12-07 Thread phantom
I am starting to wonder if the problem lies in mysql_escape_string and it's manipulation of the binary data before inserting it into the mysql db (INSERT.PHP) I have pretty much the same thing that Gareth has. I did check, the php script does not time out. I have to at least leave the Header:

RE: [PHP] Help wih select boxes pls

2001-12-07 Thread Jon Haworth
Hi! I'm trying to make dynamically related select boxes (e.g. i have a 'State' select box, which, when i select an item in it, it automatically refreshes the select box 'Cities' containing a list of cities in that particular chosen state) Good article on this at Zend:

[PHP] file with authentication for HTTP

2001-12-07 Thread Nic Skitt
Hi all, Aplogies if this question has already been asked, Is it possible to authenticate using HTTP when requesting a file from another webserver. In other words: Assuming you needed to authenticate for the following, how would you do it? $fcontents = file ('http://www.php.net'); Cheers

[PHP] Re: HOW to download PHP files without the use of a FTP client

2001-12-07 Thread Thomas
I had a similar situation, I just made a simple editor on a PHP website, and then edited the files from any other computer. You can the editor script over a SSL secure connection or at least have it passworded if you are worried about security, but either way its safer and simpler than FTP. --

[PHP] Re: Help wih select boxes pls

2001-12-07 Thread Thomas
This is a client-side situation, so PHP probably wont help much. Some people do it with javascript and others use it by submitting forms and refreshing the page everytime it is changed. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

[PHP] Re: Looking for content writers for new IT magazine

2001-12-07 Thread Thomas
I might be interested, I will email you about doing a column. -- 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 PROTECTED]

Re: [PHP] Uploaded Image display problems

2001-12-07 Thread phantom
hehe. Just for fun I decided to save a copy of the file in a /images folder and then save it into MySQL. Now when I get a bad image in MySQL I also have a bad image in the /images folder. When I have a good image in MySQL I have a good image in /images. So that tells me the problem happens

[PHP] Re: trigger words

2001-12-07 Thread Julio Nobrega Trabalhando
Yes! But since one must learn by trying, I will give you some general rules. Okay, make it work as a function. You need the page url to grab and the word to search. So it's a function with two arguments: function do_it ($page_url , $word) { Then inside the function you fopen() the $page,

[PHP] Re: Binary Header

2001-12-07 Thread Thomas
You need to send a Content-Type header, I believe it is octet-stream or something similar to that. -- 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

Re: [PHP] Binary Header

2001-12-07 Thread Girish Nath
Hi Try sending the following header for .zip files header (Content-Type: application/x-zip-compressed); Regards Girish - Original Message - From: Bharath Bhushan Lohray [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, December 07, 2001 9:40 AM Subject: [PHP] Binary Header

[PHP] Re: HOW to download PHP files without the use of a FTP client

2001-12-07 Thread Johan
i hav e big problem i need to download some php files without the use of a FTP client or other . so if you know a solution to my problem please reply Do you have possibility to use the PHP FTP functions? Or do you not havr ftp access?? regards, Johan -- PHP General Mailing List

[PHP] RE: trigger words

2001-12-07 Thread Tim Ward
Yes, use a combination of file and string (or regex) functions to scan the file for the string you want. Tim -- From: Deron [SMTP:[EMAIL PROTECTED]] Sent: 07 December 2001 02:21 To: [EMAIL PROTECTED] Subject: trigger words Is there an

Re: [PHP] Re: Redirect Function?!!

2001-12-07 Thread Miles Thompson
RFC 2616 is your friend 14.30 Location The Location response-header field is used to redirect the recipient to a location other than the Request-URI for completion of the request or identification of a new resource. For 201 (Created) responses, the Location is that of the new resource

[PHP] Image problem

2001-12-07 Thread Peter Lalka
Hi. I've instaled and cofigured php4 on WinNT with Apache Web server. I can't use any fuction of Image manipulation, 'cause I get this error message: ImageGif: No GIF support in this PHP build In phpinfo() is listed that: gd lib. enabled, zlib lib. enabled. What do I still miss there? Peter.

[PHP] Get links from a page

2001-12-07 Thread Julio Nobrega Trabalhando
Hi all, I was sure I saw something like this on this list one month ago. But I search for like dozens of word combination to find this post (or anything related to), and was unsuccesful. Anyone has a quick snippet that will scan a bunch of text characters and return the links as an array

Re: [PHP] file with authentication for HTTP

2001-12-07 Thread Miles Thompson
NO answer, but two more questions: 1. Do you want the authentication on your site to extend to the other? 2. Why not have the other site do it's own authentication? I've noticed this. On a client's publishing site I have two forms of authenitication. ONe for subscribers, hacked together by

[PHP] Remove carriage returns

2001-12-07 Thread RoyW
I have a memo type field in a form and I am looking for the PHP command to strip the carriage returns from the field before inserting into a database. ??? Thx! -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail:

[PHP] Re: Remove carriage returns

2001-12-07 Thread Johan
Royw wrote: I have a memo type field in a form and I am looking for the PHP command to strip the carriage returns from the field before inserting into a database. addslashes(); htmlentities(); ?? Regards, Johan -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail:

[PHP] Re: Image problem

2001-12-07 Thread Johan
I've instaled and cofigured php4 on WinNT with Apache Web server. I can't use any fuction of Image manipulation, 'cause I get this error message: ImageGif: No GIF support in this PHP build In phpinfo() is listed that: gd lib. enabled, zlib lib. enabled. What do I still miss there? In the

[PHP] Re: Get links from a page

2001-12-07 Thread lallous
this should work, if (preg_match_all('/a .+?href=([\'])(.+?)\1/is', $mem, $result)) { $linksarray = $result[2]; } Julio Nobrega Trabalhando [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Hi all, I was sure I saw something like this on this list one

Re: [PHP] Re: Image problem

2001-12-07 Thread Peter Lalka
Thanks, in phpinfo list really isn't support for GIF:( How can I manipulate jpeg images? Which functions are for this img. format? P. |+- || Johan [EMAIL PROTECTED] | ||

[PHP] [ Re: [PHP] Re: Image problem]

2001-12-07 Thread Johan Holst Nielsen
Original Message From: - Fri Dec 07 14:52:01 2001 X-Mozilla-Status: 0001 X-Mozilla-Status2: Message-ID: [EMAIL PROTECTED] Date: Fri, 07 Dec 2001 14:51:56 +0100 From: Johan Holst Nielsen [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED] Organization: 1WAY2PRINT A/S

[PHP] Good, secure, easy to configure/use PHP website management tool?

2001-12-07 Thread Brinkman, Theodore
I'm looking to add a PHP-based website management tool to a web server I'm running, so updates can be done remotely without having to open ports for FTP. Can anybody recommend a good package that's easy to configure? - Theo -- PHP General Mailing List (http://www.php.net/) To

[PHP] Good php-tool for administer users on mysql?

2001-12-07 Thread Stefan Rusterholz
Does anyone know a webbrowser/php based tool which allows to administer user privileges in mysql easily? Thanks in advance Stefan Rusterholz, [EMAIL PROTECTED] -- interaktion gmbh Stefan Rusterholz Zürichbergstrasse 17 8032 Zürich

[PHP] Good php-tool for administer users on mysql?

2001-12-07 Thread Stefan Rusterholz
Does anyone know a webbrowser/php based tool which allows to administer user privileges in mysql easily? Stefan Rusterholz, [EMAIL PROTECTED] -- interaktion gmbh Stefan Rusterholz Zürichbergstrasse 17 8032 Zürich -- T. +41 1 253 19

Re: [PHP] Good php-tool for administer users on mysql?

2001-12-07 Thread Kurth Bemis
At 09:56 AM 12/7/2001, Stefan Rusterholz wrote: phpmyadmin - its great! get it at phpwizard.net ~kurth Does anyone know a webbrowser/php based tool which allows to administer user privileges in mysql easily? Thanks in advance Stefan Rusterholz, [EMAIL PROTECTED]

Re: [PHP] Good php-tool for administer users on mysql?

2001-12-07 Thread Stefan Rusterholz
Yes phpMyAdmin IS great, but it does only allow you to access the 'mysql' db with 'user' table in it. It doesn't provide anything to make it easier to create new user accounts (user accounts != tables) and setting the users privileges :( thats what I'm searching for. Stefan Rusterholz, [EMAIL

[PHP] how to free some memory

2001-12-07 Thread Berthold
Hello! How can I free some memory after using it in an huge array? Testing with $oldX = array(); doesn't even free the memory... :-( -- Berthold -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To

Re: [PHP] Good php-tool for administer users on mysql?

2001-12-07 Thread Stefan Rusterholz
Sorry, ignore my last mail. I was wrong. phpMyAdmin indeed does provide a surface for adding users and setting privileges. Sorry. Stefan Rusterholz, [EMAIL PROTECTED] -- interaktion gmbh Stefan Rusterholz Zürichbergstrasse 17 8032 Zürich

[PHP] Version To Version

2001-12-07 Thread Robert Covell
A question about different release versions of PHP. Why do things like png from gd 1.8 work in 4.0.4p1 and stops working in 4.0.6? We had to go back to 4.0.4p1. I have seen similar things with mysql support. We used the same config script for each version. Any ideas? -- PHP General

Re: [PHP] how to free some memory

2001-12-07 Thread R'twick Niceorgaw
unset($oldX); - Original Message - From: Berthold [EMAIL PROTECTED] To: PHP-General [EMAIL PROTECTED] Sent: Friday, December 07, 2001 9:52 AM Subject: [PHP] how to free some memory Hello! How can I free some memory after using it in an huge array? Testing with $oldX = array();

[PHP] How to UNSUBSCRIBE ???

2001-12-07 Thread fazer
UNSUBSCRIBE :) {[f-a-z-e-r]}-- mailto:[EMAIL PROTECTED] --- -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the

Re: [PHP] Version To Version

2001-12-07 Thread Neil Freeman
I'm using gd png in 4.0.6 with no problems (Windows). What problems are you having? Robert Covell wrote: A question about different release versions of PHP. Why do things like png from gd 1.8 work in 4.0.4p1 and stops working in 4.0.6? We had to go back to 4.0.4p1. I have seen similar

RE: [PHP] How to UNSUBSCRIBE ???

2001-12-07 Thread Nathan Cassano
Whats wrong? Is it that you don't like us anymore? Why would you want to unsubscribe? Please inspect the bottom of any PHP list email to find you answer. -Original Message- From: fazer [mailto:[EMAIL PROTECTED]] Sent: Thursday, December 06, 2001 8:25 AM To: [EMAIL PROTECTED] Subject:

RE: [PHP] Version To Version

2001-12-07 Thread Robert Covell
Don't have the error handy anymore but it was something to the effect of: ImageCreatPNG is not supported in 4.0.6 or something like that. When I went back to 4.0.4pl it was fine. Very weird. -Original Message- From: Neil Freeman [mailto:[EMAIL PROTECTED]] Sent: Friday, December 07,

Re: [PHP] Version To Version

2001-12-07 Thread Valentin V. Petruchek
Your problem is GD, not PHP. Use gd library corresponding to PHP 4.0.6 and PNG will be ok (tested by myself). Zliy Pes - Original Message - From: Robert Covell [EMAIL PROTECTED] To: Neil Freeman [EMAIL PROTECTED]; Php-General [EMAIL PROTECTED] Sent: Friday, December 07, 2001 7:08 PM

[PHP] Dynamic Document Creation

2001-12-07 Thread [ rswfire ]
Hello, Does anyone have any scripts or know a location to point me to where I can dynamically create Microsoft Word documents using PHP. I need to create some nicely formatted forms. I could do this as text, however, this solution is not perfect because I don't know of an escape sequence

Re: [PHP] Dynamic Document Creation

2001-12-07 Thread Valentin V. Petruchek
It's from manual do not remember it's chapter exactly: // starting word $word = new COM(word.application) or die(Unable to instanciate Word); print Loaded Word, version {$word-Version}\n; //bring it to front $word-Visible = 1; //open an empty document $word-Documents-Add(); //do some weird

[PHP] Apache log files

2001-12-07 Thread Dan McCullough
I was looking for the name of the addon to webalizer that makes it nice looking and better features. I have looked over and over again, but I cannot find it, anyone know the name? dan = dan mccullough Theres no such thing as a

Re: [PHP] Dynamic Document Creation

2001-12-07 Thread Kurt Lieber
On Friday 07 December 2001 09:43 am, you wrote: Does anyone have any scripts or know a location to point me to where I can dynamically create Microsoft Word documents using PHP. You said you wanted to create some nicely formatted forms -- what's wrong with HTML and style sheets? Assuming

Re: [PHP] Dynamic Document Creation

2001-12-07 Thread Robert Samuel White
These forms are for offline distributionthe information in the form is collected from an online database... On Friday 07 December 2001 09:43 am, you wrote: Does anyone have any scripts or know a location to point me to where I can dynamically create Microsoft Word documents using PHP.

Re: [PHP] Dynamic Document Creation

2001-12-07 Thread Miles Thompson
Wheee! Sounds like fun. If you're headed for the latest version of Word (XP), XML would be the way to go. I would expect specs available at either StarOffice (Open Office) or MSFT. There's also nice formatting with HTML. Miles Thompson At 12:43 PM 12/7/2001 -0500, [ rswfire ] wrote: Hello,

Re: [PHP] Dynamic Document Creation

2001-12-07 Thread Robert Samuel White
Thank you, Valentin. Your solution sounds like the one I am looking for! It's from manual do not remember it's chapter exactly: // starting word $word = new COM(word.application) or die(Unable to instanciate Word); print Loaded Word, version {$word-Version}\n; //bring it to front

[PHP] application design.

2001-12-07 Thread Kunal Jhunjhunwala
Hey, Does anyone have any tips or papers on how to design a successfull aplication in PHP? How to seperate each layer of information. I've read all the documents @ phpbuilder, but was wondering how everyone else out there went about making there appz. Regards, Kunal Jhunjhunwala -- PHP General

[PHP] application design.

2001-12-07 Thread Kunal Jhunjhunwala
Hey, Does anyone have any tips or papers on how to design a successfull aplication in PHP? How to seperate each layer of information. I've read all the documents @ phpbuilder, but was wondering how everyone else out there went about making there appz. Regards, Kunal Jhunjhunwala -- PHP General

Re: [PHP] Version To Version

2001-12-07 Thread Rasmus Lerdorf
You probably used different ./configure flags to build the two. Neither MySQL nor GD/PNG stopped working for me going from 4.0.4 to 4.0.6. -Rasmus On Fri, 7 Dec 2001, Robert Covell wrote: A question about different release versions of PHP. Why do things like png from gd 1.8 work in

[PHP] Trying to pass a variable through a form...

2001-12-07 Thread Bryant Brabson
Your homework is finished! TonyForm.html: HTML FORM ACTION=Tony1.php METHOD=post Name: INPUT TYPE=text NAME=lname br INPUT TYPE=Submit VALUE=Go /FORM /HTML tony1.php ? $lname = $HTTP_POST_VARS['lname']; ? html body ? echo (Welcome $lname); ? A HREF=Tony2.php?name=?echo($lname) ? Link /A

[PHP] database with php code

2001-12-07 Thread Sergio Mergen
Hello in my database i have records that contain php code. i want to put these content on a php file. Here´s the problem: Suppose the content returned from the Db is: $codeFromDB = ?do some processing?; if i do: echo $codeFromDB; i´d be writing the content to the returned html

Re: [PHP] database with php code

2001-12-07 Thread Andrey Hristov
strip the ? and ? from the strings and do eval(); HTH Regards, Andrey Hristov - Original Message - From: Sergio Mergen [EMAIL PROTECTED] To: php List (E-mail) [EMAIL PROTECTED] Sent: Friday, December 07, 2001 9:39 PM Subject: [PHP] database with php code Hello in my database i

[PHP] problem with pdf_set_font

2001-12-07 Thread Philippe Allart
Hi, I've recently ugraded to apache-1.3.19-6 and pdflib-3.02-52 via SuSE 7.1. An application which worked before has now a problem with pdf_set_font. First, it didn't find pdflib.upr, which however were present in the font dirctory of pdflib. I've found in the doc that the location of this

Re: [PHP] database with php code

2001-12-07 Thread Sergio Mergen
thanks guys.. your suggestion worked.. but there´s a problem.. the code i´m storing on a database mixs phpcode with html, like this: ?echo php code? br now it´s html br ?echo now it´s php again? how can i deal with that?? one solution would be to split the string into a php code array and a

[PHP] Mutex Access Available?

2001-12-07 Thread Thomas
Is there any mutex access with PHP or just the SysV semaphores? -- 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 PROTECTED]

RE: [PHP] database with php code

2001-12-07 Thread Mark Roedel
I vaguely remember there being something about this in the user notes at http://php.net/eval If I remember correctly, it was something along the lines of adding a ? to the beginning of your string, and a ? to the end. --- Mark Roedel | Blessed is he who has learned to laugh

RE: [PHP] application design.

2001-12-07 Thread Jason Lotito
I would suggest Web Application Development with PHP 4.0 ISBN: 0-7357-0997-1 Excellent book, covering developing applications, methodologies, concepts and theories, and using PHP to do the work. A bit old (July 2000) but covers well the concepts. Jason Lotito [EMAIL PROTECTED]

[PHP] are this bug fixed ?

2001-12-07 Thread Alawi
http://www.securitywatch.com/newsforward/default.asp?Aid=8684

[PHP] incorrect results from is_dir

2001-12-07 Thread Tom Beidler
I'm getting TRUE from is_dir when no directory exists. Here's my code; //Find out if there is an image folder existing $image_folder = floor ($service_datex[1]) . _ . floor ($service_datex[2]) . _ . $service_datex[0] . _ . $site_id; chdir('site_images'); if (is_dir($image_folder) == TRUE) {

Re: [PHP] are this bug fixed ?

2001-12-07 Thread Rasmus Lerdorf
Not really a bug. If you do not trust users who are writing scripts on your system, you are basically out of luck. There are all sorts of things you can do in a PHP script that will chew away on system resources. -Rasmus On Fri, 7 Dec 2001, Alawi wrote:

[PHP] MySQL Native Function in PHP Query Not Working?

2001-12-07 Thread ISE
Hello, Can someone explain to me why the below SQL query when executed with the PHP mysql functions does not work? (it returns nothing) SELECT * FROM table WHERE aid=LAST_INSERT_ID() If I replace the MySQL function LAST_INSERT_ID() with a integer, it works fine so its not the query. Further,

Re: [PHP] database with php code

2001-12-07 Thread Sergio Mergen
nice ! Sérgio Mergen I vaguely remember there being something about this in the user notes at http://php.net/eval If I remember correctly, it was something along the lines of adding a ? to the beginning of your string, and a ? to the end. --- Mark Roedel |

[PHP] Another Newbie

2001-12-07 Thread Elsi
While not new to programming, I am new to PHP and to Linux, hence these 'getting started' questions. I recently installed Red Hat Linux 6.2 and have discovered that it came with PHP (3.0.15) already installed and configured. I've written a couple of [simple] forms handling routines and am

[PHP] Finding num of days b/t two dates.

2001-12-07 Thread Alex Fritz
If somebody could help me with this, it would save me a lot of heartache. I thought that this would be simple, but I can't seem to find a function anywhere in PHP that has this capability and I can't seem to find any external libraries for anything actually. I need to be able to give PHP a

[PHP] Comparison between string failing

2001-12-07 Thread mweb
Hello, I can't understand why the piece of test code below produces the output : OK HERE VALUE 0:image/pjpeg; UPLOAD FAILED = ; VALUE =1:image/pjpeg; Basically I use or print several times the value $MYFILES['file_recensione']['tmp_name'][1] and it looks like it changes values from

[PHP] PREG

2001-12-07 Thread Matthew Moreton
Hi people. I am having some trouble with the PREG functions in php. Here's what I am trying to do... First of all I am reading in a file which is 1.5mb's in size, it could be many more, going up to 8mb's, the contents of the file is input to a string. The format of the file is as follows...

Re: [PHP] Finding num of days b/t two dates.

2001-12-07 Thread Steve Cayford
Here's one way to do it by converting dates into timestamps. ?php $date1 = mktime(0,0,0,10,1,2001); // in the form (hours, minutes, seconds, month, day, year) $date2 = mktime(0,0,0,10,1,2000); $timedif = $date1 - $date2; print(strftime(date 1 is %b %d, %Y, $date1) . br\n); print(strftime(date

RE: [PHP] PHP + MySQL problem (strange behavior)

2001-12-07 Thread Javier Muniz
Unfortunately, mysql returns no error string. MySQL doesn't appear to think it's an error, as it does apply changes to the row I'm trying to change, it simple isn't applying the CORRECT change to said row :) -Javier -Original Message- From: David Robley [mailto:[EMAIL PROTECTED]] Sent:

RE: [PHP] Re: Image problem

2001-12-07 Thread Andrew Chase
PHP needs to be compiled with libjpeg and libpng in addition to the GD library to use those formats respectively. The PHP manual section covering image functions (including those for manipulating JPEGs and PNGs) is at http://www.php.net/manual/en/ref.image.php -Andy -Original

[PHP] RegEx gurus help...

2001-12-07 Thread Brian V Bonini
I need to replace all relative links in an html doc with absolute links on the fly weather it be an image link, img src='/_imgs/imgs_nav/transPix.gif' width='10' height='13' img src='../_imgs/imgs_nav/transPix.gif' width='10' height='13' a URL, a href=/dealers/index.asp a link to an external JS

[PHP] phpautodoc

2001-12-07 Thread Malcolm Clark
I'm trying to get this GNU stuff from http://sourceforge.net/projects/phpautodoc to work. These are the instructions for use --- [php] phpdoc.php [php interpreter options] file(s) [-- -o output path] Scans the specified PHP source files (given directories are searched recursively -

[PHP] ASP aplication object

2001-12-07 Thread Max
Hi, Is exist something similar in PHP? Regards. Max. -- 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 PROTECTED]

[PHP] Re: Comparison between string failing

2001-12-07 Thread Fred
I would like to start by saying that your code is horribly confusing. Try taking all those commented out parts out of the script before you post to the group. That said, your problem is that you left out a closing curly brace. Try this: global $MYFILES;

[PHP] Costum Error Page

2001-12-07 Thread Daniel Urstöger
Hi ! I hope you can help me with that problem :) I have created a costum error page, and this one is working really fine, already. Was quite easy, but the problem I have now: Somebody trys to access the file: iamnothere.html The requests, doesn´t find the file, so apache redirects the request

Re: [PHP] Costum Error Page

2001-12-07 Thread Ashley M. Kirchner
Daniel Urstöger wrote: How could I check, which file apache tried to access, and didn´t found ? That would be a pretty nice function for my PHP skript .. Check your REQUEST_URI variable. -- H | Life is the art of drawing without an eraser. - John Gardner

[PHP] Getting started - what do I need?

2001-12-07 Thread Indera
Hello, I have never used php or mysql before and want to know what tools I should use so that I can start learning php and mysql. I would like to build basic things like a login page and forms that append the data to a database. I went to the bookstore and think the book PHP fast and easy web

Re: [PHP] Getting started - what do I need?

2001-12-07 Thread Michael Hall
Yes indeed, PHP and MySQL are free ... welcome to the world of open source software! What type of computer operating system are you using? Does it have a web server? You may want to consider downloading Apache as well (also free). There are lots of helpful tutorials on the net that can get you

Re: [PHP] Getting started - what do I need?

2001-12-07 Thread Matthew Moreton
I would suggest downloading PHPtriad. It installs Apache, PHP and mySQL all set up and ready to go. http://www.phpgeek.com to get it. The only resources I have used to teach myself php and mysql is the documentation provided at www.php.net and www.mysql.com respectively. Good luck Matt

[PHP] why didnt you come watch me like you said you would?

2001-12-07 Thread
Diese Daten wurden Ihnen von Ihrem OnlineFormular geschickt. Es wurde erstellt von ([EMAIL PROTECTED]) am 8 Dezember ,Samstag , 2001 um 07:57:27 --- : hey babe, it's karina remember me? if you don't im 5'8 with brown hair

Fw: [PHP] Need a script that will read Apache Log files and generate reports

2001-12-07 Thread Papp Gyozo
maybe this is what you need. - Original Message - From: Chris Allen [EMAIL PROTECTED] To: Dan McCullough [EMAIL PROTECTED]; PHP General List [EMAIL PROTECTED] Sent: Monday, November 26, 2001 11:21 PM Subject: Re: [PHP] Need a script that will read Apache Log files and generate

  1   2   >