[PHP] --with-gd=DIR

2002-12-06 Thread info
Hello list, I am running a redhat7.3 box and a customer want to get installed php with GD-library support I want to configure php like this: ./configure --with-gd= where is this directory? How can I find the directory where are the correspondent gd-lib/headers-files so that I can

[PHP] Check wheter GD function is working

2002-12-06 Thread info
Hello list, how can I check wheter GD-function is working and running? Oliver Etzel

[PHP] Installation of PHP with gd support

2002-12-06 Thread info
Hi list, anybody here who knows a HowTo of installing PHP with gd support? Oliver Etzel

[PHP] Error GD

2002-12-06 Thread info
Hi Paul, compiled PHP like that ./configure --with-config-file-path=/etc --enable-force-cgi-redirect --with-mysql -with-gd=/usr/local/gd2 --no-create --no-recursion Error Message: In file included from gd.c:83: gd_ctx.c: In function `_php_image_output_ctx': gd_ctx.c:70: structure has no member n

[PHP] Where can I find a new HowTo of compiling php with gd support???

2002-12-06 Thread info
Hi folks, a single and simple question : Where can I find a new HowTo of compiling php with gd support??? Incl Bugtraps? Oliver Etzel

Re: [PHP] Installation of PHP with gd support

2002-12-06 Thread info
Hello Paul M, yes I succeded with the following stable Version 4.3. Here is the link: http://snaps.php.net/php4-STABLE-200212061430.tar.gz Works fine! Thank u Oliver - Original Message - From: Paul Marinas To: [EMAIL PROTECTED] Sent: Friday, December 06, 2002 5:57 PM Subject

Re: Re[2]: [PHP] Error GD

2002-12-06 Thread info
': ithc>> gd.c:1176: structure has no member named `free' ithc>> make[3]: *** [gd.lo] Fehler 1 TR> I think the function name got changed to gdFree(), I'll try to find more info if TR> I can TR> -- TR> regards, TR> Tom I was close :)

[PHP] re-compiling php4

2002-12-09 Thread info
Hello List, Even though I´d compiled and installed my source php4.3 sucessfull I will get the following compiling information by php.info: Configure Command './configure' '--with-gd' '--with-zlib' and nothing else. Even though I´d compiled it with the following flags with removed conf

[PHP] make error

2002-12-09 Thread info
Hi PHP-List, after re-compiling my new and stable version of php-4.3.0-dev on a redhat 7.3 box I compilied this version in order to use the benefits of gd with the following compiling options: ./configure --prefix=/usr/local/php_stable7 ... --with-gd=/usr ... and when I run make I will get the

Re: [PHP] Re: make error

2002-12-09 Thread info
Hi Lokesh, And I did run php.info >On my SuSe 8.1, phpinfo() contains the Did you ever compile php? - Original Message - From: Lokesh Setia To: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Monday, December 09, 2002 3:03 PM Subject: [PHP] Re: make error Hi there,

[PHP] error on make

2002-12-09 Thread info
Hi PHP-List, after re-compiling my new and stable version of php-4.3.0-dev on a redhat 7.3 box I compilied this version in order to use the benefits of gd with the following compiling options: ./configure --prefix=/usr/local/php_stable7 ... --with-gd=/usr ... and when I run make I will get the

Re: [PHP] Re: make error

2002-12-09 Thread info
Hi Lokesch, Output is for gd gd GD Support => enabled GD Version => bundled (2.0 compatible) GIF Read Support => enabled PNG Support => enabled WBMP Support => enabled Any Hints? Oliver - Original Message - From: Lokesh Setia To: [EMAIL PROTECTED] Sent: Monday, December 09,

Re: [PHP] re-compiling php4

2002-12-09 Thread info
Hi Jason, Hi all, >> Even though I´d compiled and installed my source php4.3 sucessfull I will >> get the following compiling information by php.info: >For best results when recompling. Completely remove the old source directory >then untar a fresh new copy. Did it. Yes - working fine. This tip

Re: [PHP] re-compiling php4

2002-12-09 Thread info
Did it and was working fine . Thank u Jason - Original Message - From: Jason Wong To: [EMAIL PROTECTED] Sent: Monday, December 09, 2002 4:37 PM Subject: Re: [PHP] re-compiling php4 On Monday 09 December 2002 20:58, [EMAIL PROTECTED] wrote: > Hello List, > Even though I´

[PHP] How to test php.info from command line

2002-12-09 Thread info
Hello All, >How to test php.info from command line: #echo "" | php to the standard output (screen) - or if you want to a file like this way: #echo "" | php > /tmp/test_php.txt Oliver Etzel .eu - domain are coming soon www.t-host.com -- PHP General Mailing List (http://www.php.net/) To unsubs

[PHP] a simple test script for testing gd

2002-12-09 Thread info
Hello list, Anybody here who knows a simple php-script for the puspose of testing gd-related tasks eg like dynamic construction of buttons??? Oliver Etzel

[PHP] PHP_SELF Variable

2002-12-10 Thread info
Hello List, anybody knows how to set the PHP_SELF variable? Short answers are welcome... Oliver Etzel

Re: [PHP] PHP_SELF Variable

2002-12-10 Thread info
Hello Leif, hello all, after successfully compiling and installing php.4.3-dev from tarball there in my info.php the variable Variable Value PHP_SELF  PHP_SELF has no value. How can I set this? Oliver Etzel

Re: [PHP] PHP_SELF Variable

2002-12-10 Thread info
Hello Johannes, hello all, I compiled it as CGI-php and the variable $_SERVER['PHP_SELF'] has no value either. What can I do on order to give PHP_SELF the right value? Oliver Etzel On Tuesday 10 December 2002 12:36, info AT t-host.com wrote: > after successfully compiling a

Re: [PHP] PHP_SELF Variable

2002-12-10 Thread info
_SELF'] has no value either. > >What can I do on order to give PHP_SELF the right value? > >Oliver Etzel > On Tuesday 10 December 2002 12:36, info AT t-host.com wrote: > > after successfully compiling and installing php.4.3-dev from tarball > >

Re: [PHP] PHP_SELF Variable

2002-12-10 Thread info
Hello Leif, hello all, register_globals is on How can I use the superglobal array? And here is how my php behave: when I run the following script: info70.php 1) from commandline then [SCRIPT_NAME] => info70.php is set correctly 2) direkt via http request from browser then PHP_SELF = htdocs3/b

[PHP] PHP_SELF on a php CGI

2002-12-10 Thread info
Hello Leif, hello all, i compiled successfully php-4.3-dev deom tarball as CGI on RedHat7.3 register_globals is on And here is how my php behave: When I run the following script: info70.php 1) from commandline then [SCRIPT_NAME] => info70.php is set correctly 2) direkt via http request from

[PHP] Problem with PHP_SELF

2002-12-10 Thread info
Hello Leif, hello all, i compiled successfully php-4.3-dev deom tarball as CGI on RedHat7.3 register_globals is on And here is how my php behave: When I run the following script: info70.php 1) from commandline then [PHP_SELF] => info70.php is set correctly 2) from browser then PHP_SELF = h

[PHP] PHP-4.3-dev - What is it for?

2002-12-11 Thread info
Hello all, simple question: I successfully compiled and installed PHP-4.3-dev from tarball on a RH7.3 box. What is the meaning of "dev" in PHP-4.3-dev? Can I use it as a fully working PHP distribution? Oliver Etzel

[PHP] PHP-4.x many ways of compiling/installing with GD-support

2002-12-11 Thread info
Hello list, simple question: I´ve heard that it is possible to compile php with dg-support on two ways 1) first way: Distribution dependant with the gd-files and libraries, eg. gd.c, gd.lo, gd.o coming with the distribution of the compiled php-4.x-tarball compiled the follwing way: ./configure

[PHP] right or wrong - Two ways of compiling/installing with GD-support

2002-12-11 Thread info
Hello list, simple question: I´ve heard that it is possible to compile php with dg-support on two ways 1) first way: Distribution dependant with the gd-files and libraries, eg. gd.c, gd.lo, gd.o coming with the distribution of the compiled php-4.x-tarball compiled the follwing way: ./configure

[PHP] GD installation - Simple Question

2002-12-11 Thread info
Hello list, simple question: I´ve heard that it is possible to compile php with dg-support on two ways 1) first way: Distribution dependant with the gd-files and libraries, eg. gd.c, gd.lo, gd.o coming with the distribution of the compiled php-4.x-tarball compiled the follwing way: ./configure

[PHP] Stable version of php-4.2

2002-12-11 Thread info
Hello list, anybody here know where I can get a stable linux version of php-4.2? Oliver Etzel

[PHP] Compiling php-4.2.3 - make error

2002-12-11 Thread info
Hi List, I compiled php-4.2.3 on my RH7.3 box that way ./compile ... --with-gd=/usr ... gd and gd-devel are from RH7.3 base installation I get the following error whil running -> make : In file included from gd.c:83: gd_ctx.c: In function `_php_image_output_ctx': gd_ctx.c:70: structure has no

Re: [PHP] GD installation - Simple Question

2002-12-12 Thread info
Hello Phillip, hello Sean, thank you very much, for answering the question of --with-gd - compiling. I am not using 4.3 . I did it with php-4.2.3 Did I got it right - to use the bundled-gd I have to use the compiling-flag: --enable-gd ?? But when I run ./configure --help there isn´t s

[PHP] php --with-GD

2002-12-14 Thread info
Hello List, I want to know all about copiling, installing and configuring php with gd-support. Anybody knows. Oliver Etzel

[PHP] php --with-gd support

2002-12-14 Thread info
Hello List, I want to know all about copiling, installing and configuring php with gd-support. Anybody knows a good site or book to read about? Oliver Etzel

[PHP] PHP with GD Support

2002-12-17 Thread info
Hello list, ich want to install php.4.2.3 with gd-suport. Any hints are welcome. Oliver Etzel

Re: [PHP] Re: php --with-gd support

2002-12-17 Thread info
Hi Bogdan, sorry I am new to PHP where can I find a manual of PHP? Oliver Sorry, I only saw the first line in your message ("I want to know all about...") - somehow assumed the 2nd to be part of the sig on first reading - and hurried to be cynical. Can't help you with a good site/book.

Re: [PHP] Get your *own* IP...?!

2003-01-07 Thread info
Hello Michael, please go to your Bash-Shell. There you type: MYIP=`/sbin/ifconfig ppp0 grep inet | cut -d: -f2 | cut -d" " -f1` ; $MYIP has now your dyn IP Adress. Best regards, Oliver Etzel --- [EMAIL PROTECTED] Phone +49 89 54071102 N

Re: [PHP] Get your *own* IP...?!

2003-01-07 Thread info
Oh man, Then you write a short script, that whenever IP changes then start it anew. You don´t have to make it public. - Original Message - From: Chris Hewitt To: [EMAIL PROTECTED] Sent: Tuesday, January 07, 2003 1:20 PM Subject: Re: [PHP] Get your *own* IP...?! [EMAIL PR

[PHP] compiling php

2003-01-08 Thread info
Hello list, just a simple question regarding php - compiling: when I compile php --with-gd="/usr..." How can I get the exact directory of gd (or gd-libs)??? Qualified answers are welcome. Oliver Etzel

Re: [PHP] Get your *own* IP...?!

2003-01-07 Thread info
Hello all, Oh my god As a perl hacker I did it that easy way: Please go to your Linux Bash-Shell. There you type: MYIP=`/sbin/ifconfig ppp0 grep inet | cut -d: -f2 | cut -d" " -f1` ; $MYIP has now your dyn IP Adress. Best regards, Oliver Etzel --

[PHP] compiling php-4.3.0 error message : BrowserMatch regex could not be compiled.

2003-01-23 Thread info
Hello, I compiled php-4.3.0 succesful --with-apxs="...path-to-apxs" after make and make install on a RedHat8.0 box. I started my apache-1.3.27 and got the follwing error message: " Syntax error on line 956 of /usr/local/apache/conf/httpd.conf: BrowserMatch regex could not be compiled. " Any h

Re: [PHP] problem with php-4.3.2 and gblib 2 on apache server

2003-07-10 Thread info
t; Can anybody tell me what's wrong or how to get gdlib 2 working? > > Was php compiled with gd support? manual > Image functions for info. > > -- > Jason Wong -> Gremlins Associates -> www.gremlins.biz > Open Source Sof

[PHP] "Lel Bruce Peto" updating more energy news...

2003-06-21 Thread info
"Lel Bruce Peto" updating more energy news... S Korean SK Global's domestic creditors agree to keep firm afloat Domestic creditors of South Korean conglomerate SK group's debt-ridden trading arm SK Global Tuesday voted in favor of keeping the company afloat by rescheduling its debt and converting

[PHP] cookie problem...

2002-09-12 Thread info
we are using apache 1.3.12 server, php 4.2.3 on linux. Before, we didn't write cookies.txt on harddisk. We changed some configuration in httpd.conf like. We disabled mod_proxy module and then cookie had been wrote. But now, we are not reading cookie variables from cookies.txt (Netscape). I konw p

[PHP] Cookie doen't get in variable!

2002-09-12 Thread info
we are using apache 1.3.12 server, php 4.2.3 on linux. Before, we didn't write cookies.txt on harddisk. We changed some configuration in httpd.conf like. We disabled mod_proxy module and then cookie had been wrote. But now, we are not reading cookie variables from cookies.txt (Netscape). I konw p

[PHP] How can I start up a new and recompiled version of source PHP???

2002-11-09 Thread info
Hello PHP-ppl, please help me with an easy question. I want to recompile my sorce-installation from tarball, because I forgot an essential flag, the --enable-ftp flag: ./configure . --enable-ftp --other-flags Orderly I erased the config.cache file, the make distclean After running .

Re: [PHP] How can I start up a new and recompiled version of source PHP???

2002-11-09 Thread info
Hello Edwin, Thank you for answering my question : >- [snip] > How can I start up this new and recompiled version of PHP??? >[/snip] That´s all ?? Even for a -"NOT-DSO" but CGI-Installation.??? How can I check that all things were compiled? Hope for help. Oliver Etzel lowcost domains lowc

[PHP] starting recompiled php as a cgi-interpreter

2002-11-09 Thread info
Hi PHP-List, Oh sorry, more concrete for an easy question: How can I start up this new and recompiled version of PHP which was recompiled -not as a DSO- but runs PHP as a CGI-Interpreter??? How can I start this fresh and recompiled PHP as a CGI-Interpreter?? How to start and fire up? Please he

Re: [PHP] starting recompiled php as a cgi-interpreter

2002-11-11 Thread info
Hi Maxim, can you please be so kind to forward me the according link to the manual regarding the installation of php as cgi. On the www.php.net site there is not much about php as a cgi interpreter. Thank u Oliver Etzel lowcost domains lowcost serverhousing www.t-host.de - Original Mess

[PHP] Trying to submit form to frame and pass php var

2003-09-13 Thread info
Hello I was wondering if someone could help me out. Trying to submit form to frame and pass php var at the same time. and... Link look like: Delete What I need to do though, is run this exact script while

[PHP] PHP Sydney meeting for April

2001-04-23 Thread info
Hello PHPers, The next PHP Sydney User Group meeting is tomorrow night Tuesday April 24, 2001 Starts at 7:00pm At Greythorn Pty Ltd Level 7 50 Margaret Street Sydney NSW 2000 Just around the corner from Wynyard. If you arrive before 6:00pm, just walk in. Between 6:00pm and 7:00pm, someone will mee

[PHP] make error

2002-02-21 Thread info
Hi, I've downloaded the newset PHP sources, made ./configure --with-mysql --with-apxs what was succesfully but when I type make it starts compiling but an error occures: Making all in Zend make[1]: Entering directory `/c/php-4.1.1/Zend' /bin/sh ../libtool --silent --mode=compile gcc -DHAVE_CONFIG

[PHP] URL Encode >

2001-04-09 Thread info
Hey there, does anybody have any info regarding urlencode and rawurlencode - I understand that raw is supposed to be used with directory structures and urlencode with appended vars but when I ran a test I could use either. Does anybody have any info or examples which demonstrate which should be

Re: [PHP] URL Encode >

2001-04-09 Thread info
Thanks Chris, but I understand urlenconde and urldecode - what I need to see in an example where rawurlencode as opposed to urlencode is used and why. Thanks, Abe - Original Message - From: "Christopher Allen" <[EMAIL PROTECTED]> To: "info" <[EMAIL PROTECTE

[PHP] how to capture INF return from exp()

2010-03-09 Thread Info
Hello List, I am using the math function exp( $arg ) http://php.net/exp ... using argument values ranging between 0 to 1500. When I get into larger numbers, such as 750, the function returns an undocumented "INF". Presumably the "INF" means the number exceeds processing capacity. It would be nic

[PHP] alternative to mysql_real_escape_string()

2005-04-11 Thread info
e and password fields. Would a. plus b. above provide reasonably good protection to inhibit sql injection attacks, or what is the best database independent approach using php and not a database function? Thank you for any help. Robin. http://www.globalissa.com info[at]globalissa.com -- PHP Ge

[PHP] returning an array from a function?

2007-10-26 Thread info
Hello all, function convert( $latitude, $longitude ) { $mve_latitude = $latitude; // actually other processing within this function determines this $mve_longitude = $longitude // actually other processing within this function determines this $mve_both = $mve_latitude . ", " . $mve_longitude; //

Re: [PHP] returning an array from a function?

2007-10-27 Thread info
Hello List, Your help produced a refined function. The function converts a Google Map latitude and longitude into an equivalent Microsoft Virtual Earth latitude and longitude. Here is an example of how the function works, along with source code: http://www.globalissa.com/articles/convert_googl

[PHP] Re: Web Application Design Literature

2007-05-29 Thread info
Steve, I have some experience developing web applications. My suggestion is to choose literature/code that uses PHP 4.x IF you plan on distributing the web application to multiple sites. But if instead you plan to have a single site web application, then use the literature/code for the latest an

[PHP] RE: find (matching) person in other table

2007-05-31 Thread info
ncerely, rob http://phpyellow.com === Date: Wed, 30 May 2007 15:30:59 -0500 From: Afan Pasalic <[EMAIL PROTECTED]> To: php-general Subject: find (matching) person in other table hi, the code I'm working on has to compare entered info from registrati

[PHP] How do YOU initialize the form variables?

2007-05-31 Thread info
for making PHP initialize the many variables on that form? I'm looking to get an understanding of 95% of the possible ways developers are initializing their php variables from a form post. How do YOU initialize the form variables? If you prefer to post your reply direct to info @ phpyellow

[PHP] Re: Single Sign On

2007-06-04 Thread info
Sudheer, Another simple alternative is to pass the id to each site, and then make a cookie out of the id. If the user has the cookie then they authenticate, else, send them back to sign in at my.example2.com Sincerely, rob http://phpyellow.com === Sudheer wrote: >Date: Mon, 04 Jun 2007 08:06:52

Re: [PHP] [RFC] HTTP timezone

2007-06-09 Thread info
Well, there is some use for a correct user timezone. I wrote php code that offers a different css file depending on the server time of day. So for example at noon it would use nice bright colors, and at midnight blacks and red, and ... you get the picture. Trouble was, this representation only w

Re: [PHP] [RFC] HTTP timezone

2007-06-10 Thread info
I agree with Tijnema he's hit the nail on the head. And the inability to handle daylight time really is a big potential snag - who in North America isn't on daylight time at some point in the year? If the timezone data is unreliable then no thinking developer will use it. The question then beco

[PHP] Web Development Overnight!!!

2004-12-13 Thread info
Dear php-general@lists.php.net, Subj: Web Development Overnight!!! == That's right! A complete website done for you overnight! == You provide the t

[PHP] Re: Dummy question about knowing marked checkboxes

2005-05-30 Thread info
The name property currrently set as the value of name='interesses' ... should be different for each different checkbox. Then you test for the value of 'on' or 'off'. If the checkbox is checked then the default value will be 'on'. In your code you have set values but those are not strictly neces

[PHP] htmlArea - a 'client editor'

2005-06-03 Thread info
Ryan A: Do you mean htmlArea? http://www.dynarch.com/projects/htmlarea/ .. we used htmlArea in one of our projects and were quite happy with the simple user interface. It had a couple of bugs ... but maybe the newer release has squashed these? Check with the developer. Rob. http://www.globalis

[suspicious - maybe spam] [PHP] [suspicious - maybe spam] [EMAIL PROTECTED]|%a!<%k$7$?7o$G$9(B

2005-08-17 Thread info
http://awg.webchu.com/nanpara/?user1 2$BEYL\$N%a!<%k$K0Y$C$F$7$^$$BgJQ?=$7LuM-$j$^$;$s!#(B $B$5$F!"@hF|%a!<%k$5$;$FD:$$$?!y!z0lK|1_(B(1000$B%]%$%s%H(B)$BJ,%W%l%<%s%H!z!y$N7o$G$9$,!"(B $Bhttp://awg.webchu.com/nanpara/?user1 [EMAIL PROTECTED]"(B $B!y!z0lK|1_(B(1000$B%]%$%s%H(B)$BJ,%W

[suspicious - maybe spam] [PHP] [suspicious - maybe spam] $BM_5aITK~$J1|MM$r%O%a%F8+$^$;$s$+(B

2005-08-20 Thread info
- $B5U!o8r:](B $B"v5U!o8r:](B - [EMAIL PROTECTED],[EMAIL PROTECTED];~Be$O=*$j$^$7$?!#Ev%5%$%H$O5U!o4uK>[EMAIL PROTECTED],[EMAIL PROTECTED]<+M3$KA*$Y$k%7%9%F%`$r:NMQ$7$F$$$^$9!#(B $B"[EMAIL PROTECTED](B $B!D(B [EMAIL PROTECTED]>DD$7$F(BOK!! [EMAIL

[PHP] creating a login/registration/admin function/app

2005-09-10 Thread info
e web pages with just one line of code (after self installation on any web server). This freeware app is called admin-login-only and it performs basic single user (administration) session based authentication. More info: http://www.globalissa.com/showcase.php?n=13&p=15 FREE Downl

RE: [PHP] Modifying data in forms with values

2005-09-13 Thread info
Robert, Murray's suggestion is good. Here is some code to produce the current value of 'county' in a select list: Aberdeenshire Angus Argyll & Bute Avon Ayrshire Bedfordshire Berkshire Borders Western Isles Here's a basic select list article: http://www.globalissa.com/articles/articleSe

[PHP] mysql/php date functions..

2005-09-26 Thread info
Hello Bruce, While the date functions are well documented - http://php.net/date - here is a little example to manipulate the date with php, rather than mysql: // set the new expiry date // DATE FUNCTIONS FOR THE EXPIRY MODULE // first perform date arithmetic $listingExpiry = mktime (0,0,0,date("m

[PHP] First connection?

2001-02-11 Thread Info
Hi, Fifteen years ago I did lots of Informix SQL on Unix -- including transaction processing -- BUT I find there isn't a lot of immediate help from that experience -- I tried using some webmonkey examples as "basic training" for php with MySQL and got nowhere. I'm on Red Hat with Apache 1.3.9

[PHP] Newbie -- tutorial exercises reveal too much -- pdf download not "saveable"

2001-02-13 Thread Info
Hi, I don't have adequate space to have PHP and MySQL on my local machine. Yes, need a new and better box. So, used my net site for some exercises. That is not satisfactory because I must reveal password and such in plain text to execute a php/mysql script. Maybe only a resource poor newb

[PHP] Editor with line counter for WIN95

2001-02-15 Thread Info
Notepad, Wordpad and MS Word are my available choices. Word interpret my PHP so how to inhibit that? so I can get a line count and get closer to my many newbie errors ..OR.. I need a recommendation of an inexpensive editor. I am reading digest so please CC or direct mailto:[EMAIL PROTECTED]

Re: [PHP] mail() function hangs

2002-06-10 Thread Peterhead Info
I have read that the mail function doesn't come back if it fails ... but from what you are saying, the function didn't fail ... - Original Message - From: "Phil Schwarzmann" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, June 10, 2002 4:07 PM Subject: [PHP] mail() function hang

[PHP] Name of the Frame

2002-01-01 Thread Duikplas Info
Hi all, Happy new Year to you all. CAn anybody tell me the way to know, while compiling your page, what the name is of frame/window where your page is gonna be presented in? Thanx for the suggestions. Met vriendelijk groeten (Kind regards) Robert Elsenaar Duikplas "AquaView" Website: www.duik

[PHP] Problem with Printer-friendly script

2002-01-03 Thread ski-info
I am in the process of producing a script which will allow me to produce printer-friendly versions of my dynamically produced web pages. For the most part it is working but take a look here... www.ski-info-online.com/skiResort-print1.php?id=Alpbach If you click the "Print Review" but

[PHP] Help, I can't understand the 'arg_separator' directive

2001-03-26 Thread loic-info
Hi! My system : win 98SE, Apache 1.3.19 & the latest php4.0.5-RC1 binaries from www.php4win.de My problem is that I can't understand how the 'arg_separtor' directive works. Here is my test script : '); ?> test with simple '&' test with '& amp;' Note that the second lin

[PHP] Re: Suggestions of GPL plugin-system?

2007-01-30 Thread Globalissa Info
Hello All (cc Ivo), We have numerous modules in various software titles and these are included by a simple conditional statement. If they exist, then include them. Example: ... another example: // your code here This works well for modules because if they don't exist th

[PHP] Re: Intercepting fopen, mysql_connect, and similar functions for migration

2007-06-10 Thread Globalissa Info
Hello Kelly, u I don't think there is any lasting value or time saving in changing bad code, instead, my suggestion is to throw out the "badly written" code altogether and start with something else you can actually work with. ... but if you're going to keep it: Following is a description of

[PHP] PHP installation on RedHat

2003-06-14 Thread Info Best-IT
Anyone know where I can get a better step by step how to for installation of PHP with DOM, XSLT, and XPATh support on Red Hat? PHP.NET is not so hot... /T -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] mysql_connect noob question

2013-04-19 Thread Glob Design Info
I know this has probably been answered already. When I pass a user name and password from a form to my PHP script and then pass those to mysql_connect it doesn't connect. When I paste those exact same values into mysql_connect as string literals it works. Can anyone tell me why this happens?

Re: [PHP] mysql_connect noob question

2013-04-19 Thread Glob Design Info
19, 2013 at 10:43 PM, Glob Design Info wrote: I know this has probably been answered already. When I pass a user name and password from a form to my PHP script and then pass those to mysql_connect it doesn't connect. When I paste those exact same values into mysql_connect as string litera

Re: [PHP] mysql_connect noob question

2013-04-19 Thread Glob Design Info
onnect to remote DB $WSDB_LINK = mysql_connect( $host, $form_user, $form_pass ); if( !$WSDB_LINK ) { error_log( "NeverStranded: cannot connect to the database." ); } else { .. } ?> On 4/19/13 2:13 PM, Matijn Woudt wrote: On Fri, Apr 19, 2013 at 10:59 PM, Glob Design Info wrote:

Re: [PHP] mysql_connect noob question

2013-04-19 Thread Glob Design Info
t.php* on line *29* (But with the real user name, not just '') Thanks, On 4/19/13 3:28 PM, tamouse mailing lists wrote: On Fri, Apr 19, 2013 at 3:43 PM, Glob Design Info wrote: I know this has probably been answered already. When I pass a user name and password from a form to

Re: [PHP] mysql_connect noob question

2013-04-19 Thread Glob Design Info
form cause it to fail. On 4/19/13 5:47 PM, David Robley wrote: Glob Design Info wrote: Sorry. The error displayed is: *Warning*: mysql_connect() [function.mysql-connect <http://localhost/wservices/function.mysql-connect>]: Access denied for user ''@'ip70-162-142-180.ph.p

Re: [PHP] mysql_connect noob question

2013-04-19 Thread Glob Design Info
No, no spaces. I am wondering if I need to use htmlspecialchars() On Apr 19, 2013, at 7:17 PM, Jim Giner wrote: > On 4/19/2013 9:33 PM, Glob Design Info wrote: >> They aren't on the same server. The DB is on xeround.com, the web server >> is localhost. >> >> T

Re: [PHP] mysql_connect noob question

2013-04-19 Thread Glob Design Info
Dunno. The code definitely has the underscore. On Apr 19, 2013, at 9:11 PM, Jim Giner wrote: > On 4/20/2013 12:23 AM, Glob Design Info wrote: >> No, no spaces. >> >> I am wondering if I need to use htmlspecialchars() >> >> On Apr 19, 2013, at 7:17 PM, Jim Gin

Re: [PHP] mysql_connect noob question

2013-04-20 Thread Glob Design Info
he script: and see precisely what is being passed in from your form. On Apr 19, 2013 10:50 PM, "Glob Design Info" wrote: No, no spaces. I am wondering if I need to use htmlspecialchars() On Apr 19, 2013, at 7:17 PM, Jim Giner wrote: On 4/19/2013 9:33 PM, Glob Design Info wrote:

Re: [PHP] mysql_connect noob question

2013-04-20 Thread Glob Design Info
Goog suggestion. The user name is an email address so it does contain @. Password is all pure lowercase ASCII. Wonder if the shift-2 is causing the problem? On 4/20/13 4:44 AM, Matijn Woudt wrote: On Sat, Apr 20, 2013 at 10:36 AM, tamouse mailing lists < tamouse.li...@gmail.com> wrote: No, t

Re: [PHP] mysql_connect noob question

2013-04-20 Thread Glob Design Info
Same error. That just turns those into string literals. On 4/20/13 5:48 AM, David OBrien wrote: $form_user = $_POST[ 'user' ]; $form_pass = $_POST[ 'password' ]; # Connect to remote DB $LINK = mysql_connect( $host, $form_user, $form_pass ); And yes, my $host param is correct. Have you tried

Re: [PHP] mysql_connect noob question

2013-04-20 Thread Glob Design Info
Night now this is just a test server. On the real thing I'll do it right. On 4/20/13 10:58 AM, Tedd Sperling wrote: On Apr 20, 2013, at 11:44 AM, Stuart Dallas wrote: On 20 Apr 2013, at 16:25, Jim Giner wrote: Why are you allowing anyone to connect to your database from a form? A little

[PHP] Re: mysql_connect noob question

2013-04-21 Thread Glob Design Info
Thanks for that great response Geoff. That very well may be what is wrong, however, my problem is I don't have admin access to this server - it hosted in a BaaS site where they do all the admin. They do provide mysql command line access and it works, but it won't let me log in as root, not even

[PHP] Re: mysql_connect noob question

2013-04-21 Thread Glob Design Info
Thanks Geoff, I am aware of the security implications. I will deal with that later. Right now I am just trying to get the WS architecture working. I am logging in with the creds the hosting provider gave me (xeround.com) When I use those creds on the mysql command line, or hard-code them in the

Re: [PHP] Re: mysql_connect noob question

2013-04-21 Thread Glob Design Info
necting to a remote server, not localhost. I have already documented both the exact HTML and PHP code in this thread and so see no need to post it elsewhere. On Apr 21, 2013, at 6:32 AM, Stuart Dallas wrote: > On 21 Apr 2013, at 11:20, Glob Design Info wrote: > >> I don't under

Re: [PHP] Re: mysql_connect noob question

2013-04-21 Thread Glob Design Info
On Sun, Apr 21, 2013 at 5:20 AM, Glob Design Info wrote: >> I am aware of the security implications. I will deal with that later. Right >> now I am just trying to get the WS architecture working. > > I'm wondering, if you can get it to work with the creds in the script,

Re: [PHP] mysql_connect noob question

2013-04-21 Thread Glob Design Info
What question did I not answer? I am developing a web portal that has to display the tables in the DB via a form/script. The web page has a login with user and password. Right now I am just trying to connect. On Apr 21, 2013, at 7:12 AM, Tedd Sperling wrote: > On Apr 21, 2013, at 9:32 AM, Stu

Re: [PHP] mysql_connect noob question

2013-04-21 Thread Glob Design Info
Except that a) I already have my form and script done, b) don't have time to learn phpMyAdmin, c) want to know why the script doesn't work as-is. On Apr 21, 2013, at 12:46 PM, David OBrien wrote: > Not meaning to beat the proverbial dead horse > > I am developing a web portal that has to displ

Re: [PHP] mysql_connect noob question

2013-04-21 Thread Glob Design Info
ast not visibly). On Apr 21, 2013, at 8:39 AM, tamouse mailing lists wrote: > On Fri, Apr 19, 2013 at 3:43 PM, Glob Design Info wrote: >> I know this has probably been answered already. >> >> When I pass a user name and password from a form to my PHP script and then >&g

Re: [PHP] Re: mysql_connect noob question

2013-04-21 Thread Glob Design Info
On 4/21/13 3:27 PM, Stuart Dallas wrote: On 21 Apr 2013, at 20:29, Glob Design Info wrote: If that is the case then why does logging in with exactly the same params from a UNIX shell work fine? Command line login supposedly would be adding the @localhost or @IP_address as well but isn&#

Re: [PHP] mysql_connect noob question

2013-04-21 Thread Glob Design Info
not, I'll have to look for another solution (like C which I have been using for 20 years). On 4/21/13 3:37 PM, Stuart Dallas wrote: On 21 Apr 2013, at 22:43, Glob Design Info wrote: Except that a) I already have my form and script done, b) don't have time to learn phpMyAdmin, c)

  1   2   >