Re: [PHP] Re: limit access to php page

2013-05-29 Thread Glob Design Info
On 5/29/13 6:14 PM, Jim Giner wrote: On 5/29/2013 7:11 PM, Tim Dunphy wrote: Hello list, I've created an authentication page (index.php) that logs into an LDAP server, then points you to a second page that some folks are intended to use to request apache redirects from the sysadmin group (red

Re: [PHP] mysql_connect noob question

2013-04-23 Thread Glob Design Info
atabase, $port ); Glad to see the maturity level of posters on this list, as in most of IT these days is that of a bunch of squabling 5-year olds. On 4/23/13 5:47 AM, Tedd Sperling wrote: On Apr 21, 2013, at 3:33 PM, Glob Design Info wrote: What question did I not answer? That proves that you&#x

Re: [PHP] mysql_connect noob question

2013-04-21 Thread Glob Design Info
Ever heard of the MySQL C Connector? http://www.karlkraft.com/index.php/2010/06/02/mysql-and-objective-c/ :-) On 4/21/13 4:33 PM, Stuart Dallas wrote: On 22 Apr 2013, at 00:16, Glob Design Info wrote: Except that I want to use my script and form - precisely because I have already sunk

Re: [PHP] mysql_connect noob question

2013-04-21 Thread Glob Design Info
A very complex solution that takes time to learn, configure, and install, vs. a single file I can toss on the server. Over-engineering is what is daft. On 4/21/13 4:33 PM, Stuart Dallas wrote: On 22 Apr 2013, at 00:16, Glob Design Info wrote: Except that I want to use my script and form

Re: [PHP] Re: mysql_connect noob question

2013-04-21 Thread Glob Design Info
As shown in the OP I am already doing that in the PHP scipt: $host = "instance43490.db.xeround.com:8904"; And then passing that as the 1st param to mysql_connect On 4/21/13 4:23 PM, Stuart Dallas wrote: On 22 Apr 2013, at 00:14, Glob Design Info wrote: However, I may have found t

Re: [PHP] mysql_connect noob question

2013-04-21 Thread Glob Design Info
Even more strange: It doesn't work from the form with or without the domain (but on the command line it does), but.. IF I add the $_REQUEST access *and* use the user that the *MySQL* install has, and *not* the xeround user name (my email), then it *does* work! WEIRD. On 4/21/13 3:59 P

Re: [PHP] mysql_connect noob question

2013-04-21 Thread Glob Design Info
SUCCESS! However. if ( $_REQUEST['Submit'] ) { makes it work (using my own form button ID). Why it doesn't work without this on my machine is beyond me. But it doesn't. Could it be somehow there is something about accessing the $_REQUEST that changes something? I am baffled as to the ca

Re: [PHP] mysql_connect noob question

2013-04-21 Thread Glob Design Info
Tried that. Still didn't work. I appears to be the port. On 4/21/13 3:40 PM, Stuart Dallas wrote: On 21 Apr 2013, at 23:01, Glob Design Info wrote: I should note my user name in this case *is* an email address, however the dots in that address are *not* being converted to underscor

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)

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
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] 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
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] 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] 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

[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

[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

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

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
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
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-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-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
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
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
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
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

[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?

[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

RE: [PHP] PHP httpd debug question

2009-11-17 Thread John Beaulaurier -X (jbeaulau - Advanced Network Info at Cisco)
(jbeaulau - Advanced Network Info at Cisco) Cc: php-general@lists.php.net Subject: Re: [PHP] PHP httpd debug question Hi, I am not getting what are you asking but if you want to run two httpd then you have to run those on different ports. For this you can change "Listen 80" to &q

[PHP] PHP httpd debug question

2009-11-16 Thread John Beaulaurier -X (jbeaulau - Advanced Network Info at Cisco)
Hello, phpMyAdmin crashes when access is attempted each time, and I need to run an httpd backtrace. I have a question though. There is another httpd instance running on the same host. If I run httpd -X will it interfere with the other httpd process running, or will it be a separate process

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] 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; //

[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

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

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

[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

[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: 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] 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: 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] 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

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] 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

[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

[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

[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

[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] 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] 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] 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

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] 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] 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

[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
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

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 --

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] 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.

[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

[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

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

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] 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

[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] 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] 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] 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] 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] 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_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

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

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 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
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

[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

[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] 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

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´

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: 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,

[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 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] 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

[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

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 :)

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

[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

[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] 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] 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] --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

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] 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] 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] 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 .

[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] 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

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

  1   2   >