Re: [PHP] Want a Good Book for Ref on PHP

2001-04-16 Thread Plutarck
Personally, I never even bought a PHP book. I learned from the web only...hehe. First, go to zend.com and check out their tutorial and article sections. Then check out their links section, which just so happens to have links to 17 books, 10 of which are non-english. Check out phpbuilder.com,

Re: [PHP] Want a Good Book for Ref on PHP

2001-04-16 Thread eschmid+sic
On Mon, Apr 16, 2001 at 01:23:46AM -0500, Plutarck wrote: First, go to zend.com and check out their tutorial and article sections. Then check out their links section, which just so happens to have links to 17 books, 10 of which are non-english. Why don't you visit php.net/books.php? There

[PHP] fetching recursive mail parts

2001-04-16 Thread Madis Malv
I have that message (at the end of this message) which has recursive parts. First part is a message itself and second is an attachment. Message part is divided into two parts (text/plain and text/html). Is there any way I can fetch only text/html that is part[0]-part[1] to $body variable with

[PHP] dates

2001-04-16 Thread Alvin Tan
hi all, a little stuck here. trying to pull a bunch of unix timestamps out and show only those that show up today. problem is that when i hit the first match, the rest of the dates don't show. code follows: == $sql = "SELECT * FROM dates"; $result = mysql_query($sql) or

[PHP] General WebServer Question?

2001-04-16 Thread Jason Caldwell
Can anyone recommend (or is there) a utility / app that I can use to hit my webserver (say from another computer outside my subnet) -- any number of times to get an idea of performance - based on my bandwidth and hardware? In other words -- I'd like to do some hard core testing of my website and

[PHP] global env variables not working in php-cgi

2001-04-16 Thread Franklin Hays
I am migrating a site to a new host (westhost.com) and having some issues. PHP was compiled as a cgi instead of a module which is what I have always used. This wasn't really an issue until I realized a lot of my scripts that depended on apaches environment variables ($REQUEST_URI,

[PHP] PHP4.0.4pl1+PdfLib3.03+SCO

2001-04-16 Thread Chris Fry
Pdflib 3.03 compiles OK and builds a static library - /usr/local/lib/libpdf.a. PHP fails to configure - cannot find PDF_show_boxed in the library - pdflib extension requires pdflib 3.x. This command is in the library and the header file. Configure finds my tiff jpeg library

[PHP] fileupload,suexec,virtualhost

2001-04-16 Thread juang
hi. i have a project to build a free hosting where its support php,perl mysql for free. i would like to make a file manager like geocities.com, i used php for file manager. if i use file upload to directory in my server, it shlould 777 mode, is in't? if yes, i think it's not

Re: [PHP] fwrite not writing

2001-04-16 Thread CC Zona
This function suddenly stopped working, and I just can't seem to figure out why. The only change made recently is that now the value of $force at calltime is sometimes true instead of being undefined or null. build_file("file_content","/path/to/file.inc","w",TRUE); function

Re: [PHP] dates

2001-04-16 Thread CC Zona
In article [EMAIL PROTECTED], [EMAIL PROTECTED] ("Alvin Tan") wrote: a little stuck here. trying to pull a bunch of unix timestamps out and show only those that show up today. problem is that when i hit the first match, the rest of the dates don't show. code follows:

RE: [PHP] Want a Good Book for Ref on PHP

2001-04-16 Thread Navid Yar
You know, I was wondering the same thing. My situation is the same. My opinion is that the professional version probably strips out most of the beginner's content and adds more advanced php content and dives into everything in more detail rather than just trying to get a beginner off their feet

RE: [PHP] dates

2001-04-16 Thread Maxim Maletsky
Why don't you look into mYSQL documentation and rewrite your queries, you might be able to end up with one only single query and 3 lines of PHP, instead of the whole bunch as you're trying to do. The reason I advise you that is that mySQL plays some really sweet games with dates, while PHP

Re: [PHP] store array in a file?

2001-04-16 Thread Keyur Kalaria
Hello Jaxon, use serialize() unserialize() as follows: $store_in_file=serialize(your_array); //and store the details of $store_in_file in your file/database. //while retrieving read the data from file/database into store_in_file and then use the following.

[PHP-CVS] cvs: php4 /win32 install.txt

2001-04-16 Thread James Moore
jmoore Mon Apr 16 02:44:21 2001 EDT Modified files: /php4/win32 install.txt Log: - Updating order slighly so the install is easier to follow. Index: php4/win32/install.txt diff -u php4/win32/install.txt:1.1 php4/win32/install.txt:1.2 ---

[PHP] What does url_rewriter.tags do?

2001-04-16 Thread CC Zona
From v4.0.4 change log "Added url_rewriter.tags configuration directive (Sascha)" The option shows up in my phpinfo with default settings "a=href,area=href,frame=src,form=fakeentry", but I can't find any info on what this setting does. The change log entry seems to be the only reference to

RE: [PHP] What does url_rewriter.tags do?

2001-04-16 Thread Emil Rasmussen
Subject: [PHP] What does "url_rewriter.tags" do? What does it do? url_rewriter.tags is a list of HTML elements that will get the PHPSESSID added to them. Its all about sessions: http://www.php.net/manual/en/ref.session.php. Emil -- Emil Rasmussen http://www.noget.net -- PHP General

[PHP] enabling PHP functions only on specific virtual hosts

2001-04-16 Thread indrek siitan
Hi, I'm running a small web hosting server on my machine and offering PHP+MySQL to virtual hosting clients. I've coded an additional PHP module, which I want to be a paid add-on feature to the clients. Is there a way to disable the module or functions (it contains 2 functions) globally and

Re: [PHP] What does url_rewriter.tags do?

2001-04-16 Thread CC Zona
In article [EMAIL PROTECTED], [EMAIL PROTECTED] (Emil Rasmussen) wrote: Subject: [PHP] What does "url_rewriter.tags" do? What does it do? url_rewriter.tags is a list of HTML elements that will get the PHPSESSID added to them. Its all about sessions:

[PHP] Re:user info?

2001-04-16 Thread Miguel Loureiro
Hello, have you saw the result of phpinfo(); try and see in Apache Environment, if make a login use a sessions... Good luck and good code Best Regards Miguel Loureiro [EMAIL PROTECTED]

[PHP] Protecting JavaScripts from being Donwloaded

2001-04-16 Thread Steve Haemelinck
Hi all is it possible to protect your javascripts from being downloaded by visitors ? -- 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] enabling PHP functions only on specific virtual hosts

2001-04-16 Thread Felix Kronlage
On Mon, Apr 16, 2001 at 12:42:50PM +0200, indrek siitan wrote: I've coded an additional PHP module, which I want to be a paid add-on feature to the clients. Is there a way to disable the module or functions (it contains 2 functions) globally and then specifically enable them to certain

Re: [PHP] fwrite not writing

2001-04-16 Thread Plutarck
Ahhh, I see what's going on now. I had more time to read over the code, so now I see what you are trying to do. I'm not sure why it suddenly stopped working, but let's see if you actually need it to work. First of all, I take it that you have content which you want to write into a file.

Re: [PHP] General WebServer Question?

2001-04-16 Thread Plutarck
The first thing you need is benchmarking software. Try an internet search for "webserver performance benchmark". I did it on altavista and got some good leads. For instance this one sounds excellant: http://www.softwareqatest.com/qatweb1.html It's description is "Listing of 190 web test tools

Re: [PHP] Protecting JavaScripts from being Donwloaded

2001-04-16 Thread John Lim
A funny question! I presume you mean you want to protect your javascripts from being read by users, eg compiled. Internet explorer has a script encoder that scrambles your scripts that you can get from microsoft.com. Doesn't work with netscape. Regards, John ""Steve Haemelinck"" [EMAIL

Re: [PHP] PCRE vs. POSIX

2001-04-16 Thread John Lim
Rasmus Lerdorf (inventor of PHP) has said that PCRE is generally faster, but i haven't benchmarked myself. Of course strpos( ) is the fastest. "bill" [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... hi everyone, i have been using perl for quite some time, but

Re: [PHP] global env variables not working in php-cgi

2001-04-16 Thread Plutarck
What version of PHP? I ask because a few test functions aren't available on older versions of PHP4. Try this piece of code: $arr = get_defined_vars(); print_r($arr); (if that doesn't work, try print_r($GLOBALS), but be sure to hit the Stop button on your browser, because it will print off an

Re: [PHP] PCRE vs. POSIX

2001-04-16 Thread Felix Kronlage
On Mon, Apr 16, 2001 at 07:16:06PM +0800, John Lim wrote: Rasmus Lerdorf (inventor of PHP) has said that PCRE is generally faster, but i haven't benchmarked myself. Of course strpos( ) is the fastest. Joerg Krause has posted an URL for a webpage for benchmarking reg-expressions. Sorry, I

Re: [PHP] Protecting JavaScripts from being Donwloaded

2001-04-16 Thread Plutarck
If you mean Javascript that is in your HTML code, it is both practically and theoretically impossible to do so. HTML source is wide-open to anyone who wants to look at it, and there is little/nothing you can "really" do about it. Some sites try and hide their HTML source, but it servers only to

Re: [PHP] unregister part of array in session

2001-04-16 Thread Tobias Talltorp
I did it! Too much work for something as simple as this though IMO. I think I will write a function for this... ? session_start(); $newarray = $HTTP_SESSION_VARS["array"]; unset ($newarray["one"]); $array = $newarray; session_register("array"); ? Thanks, // Tobias ""Yasuo Ohgaki"" [EMAIL

[PHP] the search for Ade Smith

2001-04-16 Thread alt.music
hello; This may be a long shot but I'll give it a go. I'm trying to track down an Ade Smith from the UK that I used to know. he would be a bout 30 now and originally came from Bath. he also used to work for a company called "More Balls Than Most". Is this you? If so get in touch. If not,

[PHP] resource id #2

2001-04-16 Thread Greg K
I am trying to run a query and in my log I am getting a message the message resource id #2. $query=mysql_query("Select pass from members where uname='$username'"); $result = mysql_query($query) or die("You are not authorized to be here."); Can someone tell me what I am doing wrong and guide

Re: [PHP] unregister part of array in session

2001-04-16 Thread Yasuo Ohgaki
PHP4 session may not work as it should, unless you use it consistent way. i.e. Use session_(un)register() and only use globals, OR enable track_vars and disable register_globals and only use $HTTP_SESSION_VARS w/o session_(un)register(). It may work even if register_globals is on. I didn't test

[PHP] Mailing list script ?

2001-04-16 Thread Toxik - Fabian Rodriguez
Hello, I'd like to know if there is a script with the same (or more) functionality as SubscribePro at: http://cgi.elitehost.com/subpro/ ... in PHP of course :) Thanks for any info, Fabian Rodriguez - Associate Dir., Outsourcing and Business development Toxik Technologies Inc. - www.Toxik.com

[PHP] PEAR

2001-04-16 Thread Boget, Chris
Unless I'm missing something, I've looked all over the PHP site for a link to PEAR but have been unable to find one (including in the PEAR section of the manual, where you would think it would be...). Could someone please provide a link? Chris

Re: [PHP] resource id #2

2001-04-16 Thread Morgan Curley
try $query="Select pass from members where uname='$username'"; $result = mysql_query($query) or die("You are not authorized to be here."); the mysql_query command is executing the statement morgan At 10:40 AM 4/16/2001, Greg K wrote: I am trying to run a query and in my log I am getting a

Re: [PHP] PEAR

2001-04-16 Thread Ulf Wendel
Boget, Chris" schrieb: Unless I'm missing something, I've looked all over the PHP site for a link to PEAR but have been unable to find one (including in the PEAR section of the manual, where you would think it would be...). Could someone please provide a link? http://pear.php.net/ Don't be

RE: [PHP] PEAR

2001-04-16 Thread Boget, Chris
Unless I'm missing something, I've looked all over the PHP site for a link to PEAR but have been unable to find one (including in the PEAR section of the manual, where you would think it would be...). Could someone please provide a link? http://www.php.net/manual/en/pear.php Ok, where

Re: [PHP] resource id #2

2001-04-16 Thread Tobias Talltorp
$query=mysql_query("Select pass from members where uname='$username'"); $result = mysql_query($query) or die("You are not authorized to be here."); ? $query=mysql_query("Select pass from members where uname='$username'"); $result = mysql_query($query); // If the number of rows is less than

RE: [PHP] PEAR

2001-04-16 Thread Boget, Chris
Could someone please provide a link? http://pear.php.net/ Don't be too disappointed about the website, some work on it is in progress I can tell. :p There is an error when you access that page. Chris

Re: [PHP] resource id #2

2001-04-16 Thread Ulf Wendel
Greg K schrieb: I am trying to run a query and in my log I am getting a message the message resource id #2. $query=mysql_query("Select pass from members where uname='$username'"); $result = mysql_query($query) or die("You are not authorized to be here."); Can someone tell me what I

Re: [PHP] PEAR

2001-04-16 Thread Ulf Wendel
"Boget, Chris" schrieb: Unless I'm missing something, I've looked all over the PHP site for a link to PEAR but have been unable to find one (including in the PEAR section of the manual, where you would think it would be...). Could someone please provide a link?

[PHP] (Absolute beginner) .PHP3 and .HTM

2001-04-16 Thread ulrichk
My configuration: Win98 / Xitami / PHP3 / MySQL PHP is installed in the path of Xitami. path xitami\cgi-bin\HELLO2.PHP3 "http://localhost/cgi-bin/hello2.php3" It works! My bloody newbie question: Where must I put HELLO3.HTM so that it can be run from the localhost "http://localhost/hello3.htm"

[PHP] session variable problem

2001-04-16 Thread SERKAN BALKANLI (EB Bk.-Analist Prog.)
i am starting and registering session variable succesfully that i can see the file on the server , but when it comes to use or display i can not , the variable has no value ... the "session.save_handler = files" is in php.ini , i tried to change it to user but that occured a fatal error

Re: [PHP] Want a Good Book for Ref on PHP

2001-04-16 Thread Christian Reiniger
On Monday 16 April 2001 08:23, you wrote: Personally, I never even bought a PHP book. I learned from the web only...hehe. Same here. Well, actually I *did* buy a book - "Core PHP programming". I started reading it, saw that it basically only covers (a) introductory programming in general

Re: [PHP] include path per script

2001-04-16 Thread Ulf Wendel
Martn Marqus schrieb: Is it posible to change the value of include_path in a php script without changing it in php.ini? Try ini_set() friends, http://www.php.net/manual/en/function.ini-set.php . Ulf -- Neu: PEAR Menu 3 - Navigationsstrukturen dynamisch dargestellt

Re: [PHP] General WebServer Question?

2001-04-16 Thread Christian Reiniger
On Monday 16 April 2001 09:30, you wrote: Can anyone recommend (or is there) a utility / app that I can use to hit my webserver (say from another computer outside my subnet) -- any number of times to get an idea of performance - based on my bandwidth and hardware? Apache comes with "ab"

Re: [PHP] (Absolute beginner) .PHP3 and .HTM

2001-04-16 Thread Seung-woo Nam
Change the extension of hello3.htm to php3. The second one doesn't work because the web server only runs the php enginge when the file has a php extension (it depends on the server setting but usually just .php should work fine). PHP code can be embedded within HTML so basically you don't have to

Re: [PHP] Want a Good Book for Ref on PHP

2001-04-16 Thread Ulf Wendel
Christian Reiniger schrieb: On Monday 16 April 2001 08:23, you wrote: Personally, I never even bought a PHP book. I learned from the web only...hehe. Same here. Well, actually I *did* buy a book - "Core PHP programming". I started reading it, saw that it basically only covers (a)

Re: [PHP] MySQL Results NULL Error

2001-04-16 Thread Jason Stechschulte
On Thu, Apr 12, 2001 at 10:20:28PM -0400, Chris Anderson wrote: If I grab values from fields and they contain nothing, and I retrieve them using mysql_field_array, it will give an index out of range. Is there a way to prevent the error or do I have to keep putting a @ in front of the variable

[PHP-CVS] cvs: php4 / TODO-4.1.txt

2001-04-16 Thread Andrei Zmievski
andrei Mon Apr 16 06:54:10 2001 EDT Modified files: /php4 TODO-4.1.txt Log: More todo stuff. Index: php4/TODO-4.1.txt diff -u php4/TODO-4.1.txt:1.3 php4/TODO-4.1.txt:1.4 --- php4/TODO-4.1.txt:1.3 Sat Apr 14 03:30:05 2001 +++ php4/TODO-4.1.txt

[PHP] Wrox - Beginning PHP4 Ch12 example problem

2001-04-16 Thread Dave Mateer
Happy Easter to all! In the user viewer example at the end of Chapter 12 - has anyone had problems with the source downloaded from their website? The story so far with my trials of this example: downloaded source created table in mysql and populated it (with the SQL script provided) First

[PHP-CVS] cvs: php4 / TODO

2001-04-16 Thread Sebastian Bergmann
sbergmann Mon Apr 16 06:55:18 2001 EDT Modified files: /php4 TODO Log: Daniel fixed this for PHP 4.0.6. Index: php4/TODO diff -u php4/TODO:1.120 php4/TODO:1.121 --- php4/TODO:1.120 Tue Feb 27 01:16:48 2001 +++ php4/TODO Mon Apr 16 06:55:18

[PHP] php sessions and proxies.

2001-04-16 Thread Larry Hotchkiss
Here is the scenario. I have a pure html form where a user login and pass is gathered and sent to a php script via the post method. The php script authenticates against a DB starts a session and uses the header function to send a header with the sessionid back to the browser. Everything

Re: [PHP] global env variables not working in php-cgi

2001-04-16 Thread Franklin Hays
Hello. The version is php-4.02 built on Sep 22, 2000. |What version of PHP? I ask because a few test functions aren't available on |older versions of PHP4. | |Try this piece of code: | |$arr = get_defined_vars(); | |print_r($arr); This gave me an error on get_defined_var() so I tried

Re: [PHP] php-lib questions

2001-04-16 Thread Mark
Here is the script "request.php" 62 lines, 1585 characters ? include ("layout.php"); page_open(array("sess" = "Repository_Session")); if (!isset($s)) { $s=0; }; $sess-register("s"); site_header("Request a Document - Document Cart"); echo 'P align=leftfont face="Arial, Helvetica,

Re: [PHP] global env variables not working in php-cgi

2001-04-16 Thread Plutarck
Btw, the reason you got all the output is why I said to hit the browser Stop button. Technically it will run forever. The GLOBALS array contains an a array called GLOBALS, which contains GLOBALS, endlessly. It will never ever end ;) It's fixed in 4.0.2. get_defined_vars isn't available till

RE: [PHP] accepting credit cards

2001-04-16 Thread Jeff Pearson
Tyler, There are MANY ways you can do this. At some point htough, they will have to leave your site but it can be set up so it is invisible to the user. I work for a credit card processing company writing web based software for processing payments. If you have any questions, feel free to shoot

Re: [PHP] Want a Good Book for Ref on PHP

2001-04-16 Thread Plutarck
Woh, that book looks excellant. I think I may order it, actually. It is absolutely _hell_ to find a good advanced programming or internet technology book. If the book doesn't expect you to be a moron (how many morons are interested in the implementation of TCP/IP, anyway?), it expects you to

Re: [PHP] global env variables not working in php-cgi

2001-04-16 Thread Plutarck
The GLOBALS array contains an a array called GLOBALS, which contains GLOBALS, endlessly. It will never ever end ;) It's fixed in 4.0.2. That was a typo. What I mean to say is that it's fixed in 4.0._4_, not _2_. -- Plutarck Should be working on something... ...but forgot what it was.

[PHP] Variables not getting passed when I post info

2001-04-16 Thread Brandon Orther
Hello, I made a GD script that made an image with the name of whatever page I was in in my web site. I would post info to it like this: http://www.domain.com/jpeg-out.php?title=FrontPage what ever I put for title it would make the image. After reinstalling php4 on my win2000 box with apache

Re: [PHP] Want a Good Book for Ref on PHP

2001-04-16 Thread Phillip Bow
I started with the Professional PHP Programming book. It covers all of the info a beginner would need in good detail. I haven't taken a look at the Beginner's book, but I would suggest getting the Professional one as it provides everything you need to get started, and then jumps right into the

Re: [PHP] Variables not getting passed when I post info

2001-04-16 Thread Ulf Wendel
Brandon Orther schrieb: I made a GD script that made an image with the name of whatever page I was in in my web site. I would post info to it like this: http://www.domain.com/jpeg-out.php?title=FrontPage what ever I put for title it would make the image. After reinstalling php4 on my

[PHP] is it safe to stripslashes() on all form variables?

2001-04-16 Thread Noah Spitzer-Williams
would there be any problems caused if i used the stripslashes() function on all posted variables from a form to eliminate sql query errors? - Noah -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: [PHP] is it safe to stripslashes() on all form variables?

2001-04-16 Thread Plutarck
As long as you don't need to ever store a forward slash :) Beyond that, nope. stripslash() away. -- Plutarck Should be working on something... ...but forgot what it was. ""Noah Spitzer-Williams"" [EMAIL PROTECTED] wrote in message 9bf7ec$m1m$[EMAIL PROTECTED]">news:9bf7ec$m1m$[EMAIL

[PHP] ldap_search...no results!

2001-04-16 Thread Miguel Carvalho
if a do ldapsearch -o ",o=xyz" "ent=entry1,uid=ldap,ou=People,o=xyz", it works just fine. How can i access the entry "ent=entry1,uid=ldap,ou=People,o=xyz" using ldap_search/ldap_list or ldap_read? I have tried ldap_search... but i can not find how to write the filter. Can any one, please

[PHP-CVS] cvs: php4 /ext/fbsql php_fbsql.c

2001-04-16 Thread Frank M. Kromann
fmk Mon Apr 16 09:27:12 2001 EDT Modified files: /php4/ext/fbsql php_fbsql.c Log: Fixing memory leek on CancelFetch. Index: php4/ext/fbsql/php_fbsql.c diff -u php4/ext/fbsql/php_fbsql.c:1.10 php4/ext/fbsql/php_fbsql.c:1.11 ---

[PHP] PEAR_Error

2001-04-16 Thread Boget, Chris
Is there any sample code for the above PEAR class around anywhere? Chris

Re: [PHP] session variable problem

2001-04-16 Thread Tobias Talltorp
The reason for the fatal error is that you can only store the sessions in three (or four) ways, files, in a database or in the memory. What variable has no value? Have you started the session before you try to access the values? session_start(); echo $your_value; (Or preferably) echo

[PHP] True Appreciation

2001-04-16 Thread Jason Caldwell
Many THANKS! I find this newsgroup to be one of the *best* I've come across! Responses are quick, usually detailed and always right on target... You guys and gals rock! Jason -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

Re: [PHP] PEAR_Error

2001-04-16 Thread Ulf Wendel
"Boget, Chris" schrieb: Is there any sample code for the above PEAR class around anywhere? You should ask this on the dedicated pear-general list. Examples are all over in the PEAR source. I preferr to use a simple wrapper for it like

Re: [PHP] enabling PHP functions only on specific virtual hosts

2001-04-16 Thread Felix Kronlage
On Mon, Apr 16, 2001 at 07:17:24PM +0200, indrek siitan wrote: but is there an enable_functions keyword to explicitly enable those functions in httpd.conf (this should be possible with the php_value keyword, as far as I understood from the manual). no. But you can put a .htaccess in the

[PHP] install problem

2001-04-16 Thread Michael Geier
I have not run into this problem before...so here goes. [root@bfarm1 php-4.0.4pl1]# make Making all in Zend make[1]: Entering directory `/root/php-4.0.4pl1/Zend' /bin/sh ../libtool --silent --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../main -DXML_BYTE_ORDER=12 -g -O2 -c

[PHP] Blur some text please

2001-04-16 Thread Brandon Orther
Hello, Does anyone know of an image library that plugs right into php that has a blur function so I can create a drop shadow effect for text? Thanks Brandon -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL

[PHP] Installing PHP Extentions for IIS - W2K - Is it possible?

2001-04-16 Thread SED
Hi, I was downloading the latest version of PHP (Win32 Binaries) for IIS server, but no external extensions are included. Why? Is it not supported for IIS server? I'm having great difficulty adding those extensions manually (editing the PHP.ini), I always get errors like following example shows

[PHP] Link to a html in PHP Code

2001-04-16 Thread Johannes Rumpf
Hi! I'm a pretty newby, so I have a question: How can I make a link to html or php or any other page in the internet in my PHP code? should be like Command ( "Http://www.xyz.com") Just like a link in a html site would be clicked. Thanx, greetings from austria, Johannes Rumpf --

Re: [PHP] Link to a html in PHP Code

2001-04-16 Thread Luis
Johannes Rumpf wrote: Hi! I'm a pretty newby, so I have a question: How can I make a link to html or php or any other page in the internet in my PHP code? should be like Command ( "Http://www.xyz.com") Just like a link in a html site would be clicked. Thanx, greetings from austria,

Re: [PHP] global env variables not working in php-cgi

2001-04-16 Thread Franklin Hays
|But from looking at your output, there is definately something screwy with |their setup. | |In phpinfo, what are the settings for track_vars (if listed) and |global_vars? track_vars is set to ON for local and master. register_globals is set to ON for local and master. there isn't a listing

php-general Digest 16 Apr 2001 18:18:43 -0000 Issue 631

2001-04-16 Thread php-general-digest-help
php-general Digest 16 Apr 2001 18:18:43 - Issue 631 Topics (messages 48708 through 48787): Re: fwrite not writing 48708 by: Plutarck 48717 by: CC Zona 48729 by: Plutarck Re: Want a Good Book for Ref on PHP 48709 by: Plutarck 48710 by:

[PHP] How do i include ASP script into PHP...??!

2001-04-16 Thread Joe Truong
How can i include ASP scripts into PHP files or is it posible? thanxz -Joe -- 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] Link to a html in PHP Code

2001-04-16 Thread Ulf Wendel
Johannes Rumpf schrieb: I'm a pretty newby, so I have a question: How can I make a link to html or php or any other page in the internet in my PHP code? should be like Command ( "Http://www.xyz.com") Just like a link in a html site would be clicked. print 'a href="http://www.circle.ch"The

[PHP] function to add %20 in place of blank spaces

2001-04-16 Thread Nando2
I'm trying to remember what is the function to replace blank spaces with %20. Can anyone remind me of that? Thanks, C.F.

RE: [PHP] function to add %20 in place of blank spaces

2001-04-16 Thread Boget, Chris
I'm trying to remember what is the function to replace blank spaces with %20. Can anyone remind me of that? urlencode(); Chris

[PHP] RFC: Storing User Info

2001-04-16 Thread Ashley M. Kirchner
I'm looking for comments on this one. I'm developing a site that will have user logins on it. What's the best way to do this? What to store, and how? - Are people more inclined to use a username when they need to log in to something, or would asking for an email (as the userID)

Re: [PHP] fwrite not writing

2001-04-16 Thread CC Zona
In article 9bejks$gl6$[EMAIL PROTECTED], [EMAIL PROTECTED] ("Plutarck") wrote: I'm not sure why it suddenly stopped working, but let's see if you actually need it to work. First of all, I take it that you have content which you want to write into a file. Correct? If so, why does it

[PHP] siimple cookie problem

2001-04-16 Thread kmurrah
Can someone help me with an elementary cookie problem? I want to capture a variable, write to a cookie, and be able to access it from other pages. I've done that, and it works well BUT, if I capture the same variable a second time (with a different value), it still remembers the first

[PHP] set_error_handler()

2001-04-16 Thread Boget, Chris
Can you use the above function to set the error handler to a custom class? If so, how? I've been having no luck no matter what I do... Chris

Re: [PHP] What's XML's Purpose??

2001-04-16 Thread Szii
Do realize, of course, that you can return a dataset from a database in XML, and store it client side. Wanna sort by name? Reorg the dataset. In HTML you'll have to make another round trip. Wanna see your data sorted by time? Reorg the dataset. XML, while a little more tricky, does have some

Re: [PHP] set_error_handler()

2001-04-16 Thread Morgan Curley
If I'm not mistaken set_error_handler() takes a string that is the name of a function, I am sure in that function you can instantiate whatever class you want. morgan At 03:57 PM 4/16/2001, Boget, Chris wrote: Can you use the above function to set the error handler to a custom class? If so,

Re: [PHP] function to add %20 in place of blank spaces

2001-04-16 Thread Felix Kronlage
On Mon, Apr 16, 2001 at 03:28:11PM -0300, Nando2 wrote: I'm trying to remember what is the function to replace blank spaces with %20. Can anyone remind me of that? urlencode() urldecode() -fkr -- gpg-fingerprint: 076E 1E87 3E05 1C7F B1A0 8A48 0D31 9BD3 D9AC 74D0

[PHP] compile Modules

2001-04-16 Thread Yurais Fernández Leal
Hi there Could someone tell me how do I compile a php module. look, I mean compile fro example the imap module as an external module so I can call it from php.ini Yes yes yes I know I can compile it inside the PHP binary, but I need to know how to make the mod_imap.so mod_mysql.co, etc any

Re: [PHP] session variable problem

2001-04-16 Thread Mesut TUNGA
Merhabalar, firstly do you use windows or linux? id you use windows you shoul give the session_save_path to the script. ( session_save_path("c:\\user\\tmp"); ) if you use linux and no changes in your .ini files, your sessions store in /tmp directory... ?php session_start(); $id = 123;

Re: [PHP] fwrite not writing

2001-04-16 Thread Szii
if($force or !file_exists($filepath) or !filesize($filepath)) May I suggest if ($force || (!file_exists($filepath)) || (!filesize($filepath))) Probably won't make much difference, but I've never used the "or" clause and cannot vouch for it's effectiveness. Also, put a check in after the

RE: [PHP] set_error_handler()

2001-04-16 Thread Boget, Chris
If I'm not mistaken set_error_handler() takes a string that is the name of a function, I am sure in that function you can instantiate whatever class you want. I thought about that. But ideally, what I'm trying to do is trap the errors with a class method (after instantiating) then print

Re: [PHP] is it safe to stripslashes() on all form variables?

2001-04-16 Thread Yasuo Ohgaki
If you strip slashes, it will make a security hole. For example, SELECT * FROM tablename WHERE name = '$name'; what if $name is \'garbage\';DROP TABLE tablename;SELECT \'something After stripslashes($name) SELECT * FROM table WHERE name = 'garbage';DROP TABLE tablename;SELECT 'something';

[PHP] fwrite not writing (simpler example), PHP 4.0.4pl1, Apache/1.3.14

2001-04-16 Thread CC Zona
Suggestions so far have focused on parts of the function other than fwrite, so I'm trying again with a stripped-down example. After spending many hours trying to make this very simple function work again, I'm beginning to think fwrite in broken--either in 4.0.4pl1 (?!) or in my build of it

[PHP] php like cgi

2001-04-16 Thread Ulysses Almeida
Hi.. I'm tring to use a php-script like cgi, but the only thing i got is "Internal Server Error..." That's my test-script.. --- #!/bin/php -q ?php echo "Content-type: text/html\n\n"; echo "Hello World!\n"; ?

[PHP] include files with PHP 3.0.16

2001-04-16 Thread Tim Thorburn
Hi, I'm currently working on a rather large site and have just completed the navigation portion of it. I'd like to make use of server side includes so that if I have to make changes down the road, I won't have to chance potentially 100s of files. Normally I use !--#include

RE: [PHP] include files with PHP 3.0.16

2001-04-16 Thread James Atkinson
Is there an equivalent to !--#include file="filename.inc"-- in PHP? And will it work in version 3.0.16. I've gone through the online manual but found nothing that would help in this situation. include("filename.inc"); or require("filename.inc"); http://www.php.net/include

Re: [PHP] include files with PHP 3.0.16

2001-04-16 Thread CC Zona
In article [EMAIL PROTECTED], [EMAIL PROTECTED] (Tim Thorburn) wrote: Is there an equivalent to !--#include file="filename.inc"-- in PHP? And will it work in version 3.0.16. I've gone through the online manual but found nothing that would help in this situation.

Re: [PHP-CVS] cvs: php4 /ext/gd config.m4

2001-04-16 Thread Sascha Schumann
+ + if test "$with_freetype_dir" != "no" ; then + CHECK_TTF="" + else +CHECK_TTF="$withval" + fi + Can you describe in plain words what this is supposed to do? Note that $withval is not defined outside the scope of AC_ARG_WITH(..). - Sascha

  1   2   >