I'm using php 4.1.0. In earlier versions of php i
could access parameters passed throught command line
as $argv[1], $argv[2] and so on. With the version that
i'm usign now it says undefined variable.
What is the new method of accessign command line
parameters ??
At 18.03.2002 17:28, you wrote:
Even if I think you´ll not be able (should not be able) to put
files elswehere than /home/~myname:
On a shared hosting provider, I have an account like:
/home/~myname/www/
and
/home/~myname/resources/
As far as I know, apache can only access what's in the www
On Tuesday 19 March 2002 16:18, Kancha . wrote:
I'm using php 4.1.0. In earlier versions of php i
could access parameters passed throught command line
as $argv[1], $argv[2] and so on. With the version that
i'm usign now it says undefined variable.
What is the new method of accessign command
Hi Marc,
try this:
$string = preg_replace(/^41/, 0, $string);
http://www.php.net/preg_replace
/ and / = delimiters
^ = start of string (line in multiline mode)
So, it translates as, replace a leading 41 in $string with 0.
..or try the ereg function, which has already been mentioned.
James
does anybody has a good suggestion for doing this?
I just would like to pass a number by clicking on an imagemap
to a php script...
Sorry for the novice-ity of this mail,
have a nice day!
simon
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit:
Hello!
I'd like to print an array kinda like the way it was created. Ie., I've
got the following array:
$r[0][0]['name'] = 'joe';
$r[0][0]['gender'] = 'male';
$r[0][0]['prop'] = 'prefs';
$r[0][0][0]['text'] = 'mail';
$r[0][0][0]['set'] = 'yes';
$r[0][0][1]['text'] = 'phone';
$r[0][0][1]['set']
Just declare the link to have variable to be a number depending on point
where user clicks:
www.server.com/mypage.php?number=1
Now the variable $number is set to '1'.
Niklas
-Original Message-
From: Simon De Deyne [mailto:[EMAIL PROTECTED]]
Sent: 19. maaliskuuta 2002 11:50
To:
Thanks to all who posted!
What i was looking for is
object_get_vars(), which,
for some reason, is not
present in my (offline) copy
of the manual.
Thanks again,
fbv
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hi,
I have been trying to use a form to send an email.
I use the mail() function. But I have a bit of problem.
The email send does not display the email is from. So, for example I
send an email using my my webform then when I receive it the from
coloumn in my email browser says nobody.
how do
...because you never shrink $prefix
after output(), try array_pop($prefix);
Alexander Skwar wrote:
Hello!
I'd like to print an array kinda like the way it was created. Ie., I've
got the following array:
$r[0][0]['name'] = 'joe';
$r[0][0]['gender'] = 'male';
$r[0][0]['prop'] =
On Tuesday 19 March 2002 16:18, Kancha . wrote:
I'm using php 4.1.0. In earlier versions of php i
could access parameters passed throught command
line
as $argv[1], $argv[2] and so on. With the version
that
i'm usign now it says undefined variable.
What is the new method of
you have to tell mail() who the email is from.
add in a header similar to: From: [EMAIL PROTECTED]
(read the docs for mail() for syntax)
Dani wrote:
Hi,
I have been trying to use a form to send an email.
I use the mail() function. But I have a bit of problem.
The email send does not
Can someone explain why this works?
$x = 0;
if ($x == foo) {
print yeah;
}
This prints 'yeah', but i can't figure out why...
--
Jan Rademaker [EMAIL PROTECTED]
http://www.ottobak.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit:
Hai
I am new bie to PHP Can any one please give me a
solution for my problem
Thanx in Advance
I am using an form in an PHP page and I am submitting
it to the same page,
After Submitting the form I want to clear the form
details.Please tell how to
clear the form.
Code in first.php is
form
»scott furt« sagte am 2002-03-19 um 05:28:51 -0500 :
...because you never shrink $prefix
after output(), try array_pop($prefix);
Awesome! This works! *THANKS* a lot! I was fighting with this for a
whole day :)
Alexander Skwar
--
How to quote: http://learn.to/quote (german)
I would guess that the string foo evaluates to integer 0 in the comparison
because $x is an integer, so that $x = 0 = true
Use === (in PHP 4) to do type checking as well.
Rudolf Visagie
Principal Software Developer
Digital Healthcare Solutions
mailto:[EMAIL PROTECTED]
Tel: 011 2655478
Cell: 082
Because you are telling the parser to compare a numeric variable against
something called foo which (in your context) has to be numerical too.
Since foo has not been given any value, the parser defaults it to 0. So
foo = 0. So is true that foo=$x=0.
Alex.
- Original Message -
From: Jan
»Rudolf Visagie« sagte am 2002-03-19 um 12:19:04 +0200 :
I would guess that the string foo evaluates to integer 0 in the comparison
Hmm, shouldn't a filled string (foo) evaluate to TRUE, ie. to 1?
Alexander Skwar
--
How to quote: http://learn.to/quote (german) http://quote.6x.to (english)
Yes, if you were comparing to a boolean, but in this case you are comparing
to an integer.
-Original Message-
From: Alexander Skwar [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, March 19, 2002 12:51 PM
To: Rudolf Visagie
Cc: Jan Rademaker; [EMAIL PROTECTED]
Subject: Re: [PHP] Please
For interest's sake the following code:
$x = 0;
if ($x == foo) {
echo This is an integer comparison with foo being .$x.br;
}
$y = true;
if ($y == foo) {
echo This is a boolean comparison with foo being .$y.br;
}
prints:
This is an integer comparison with foo being 0
This is a
Hi,
I am able to produce the following problem 100% in WINDOWS.
Problem is u can not produce success message in new browser context ..
Error: php.exe has generated some errors and will be closed by
windows.
I am facing this problem from last 1 year.
Files
Login.html
AFAIK the problem reported comes from that $x is on the left but foo is on the right.
so you convert foo to int, and because there is not digit in foo it is 0.
?php
$a=4some;
$b=$a+2;
var_dump($b);
?
int(6)
?php
$x=0;
if ($x==foo) echo foobar;
?
?php
$x=1;
if (foo==$x) echo fubar; // same with
- Original Message -
From: TV Karthick Kumar [EMAIL PROTECTED]
To: Balaji Ankem [EMAIL PROTECTED]
Sent: Tuesday, March 19, 2002 12:35 PM
Subject: Re: [PHP] 100% repeatable problem with PHP 4.0.1 in WIN2k
environment.
Hi,
From the surface leve, it looks like your php.exe
Hi! Karthik,
Thankyou for reply!!!
You too will get if u try to execute the following files..
This is not the problem with php.exe.
Every one will get if anybody try to execute the following
logic.
You asked me how u r managing the problem..
I am
Have you examined the PHP error logs?
Have you turned up error reporting to the max (E_ALL)
and examined what it returned?
Have you examined $php_errmsg (if configured in php.ini)?
Have you tried putting echo statements every few lines
to see exactly where and why the script dies?
Balaji
Agreed. I thought that the type of the variable on the left of the
comparison had something to do with it, but then I ran this code:
$x = 0;
if (foo == $x) {
echo This is an integer comparison with foo being .$x. and on the
left of the comparisonbr;
}
$y = true;
if (foo == $y) {
Are you using MSIE?
what file extension are you testing with?
i was having similar problems using this technique
with PDF files. only with MSIE, sometimes it would
print text crap to the screen and sometimes it
would prompt for download.
MSIE is notorious for disregarding headers and
trying
This is because of type conversion, see also manual chapter 'Type juggling'.
foo converted to integer type is also zero, if you try 1foo for
example, it will convert to one.
if you want to check without type conversion use the === operator instead.
bvr.
Jan Rademaker wrote:
Can someone
Hi!
I have a problem with sessions. I have an application that runs in a browser
and on some menu's it window.opens other windows with the same session.
let's say that on the main window I have the interface to a tool to do
traceroute to a host. In that main window I enter the host to
Hi scott,
Yes I examined..
It z dying in if loop (if $n==2) at the statement header(Location:
success.php);
It will be helpful to me if u try to execute those files as I told.
Thanks in advance
Balaji
-Original Message-
From: scott furt [mailto:[EMAIL PROTECTED]]
Sent:
Hi everybody,
is there someone who can tell me how to call a javascript-function by a
php-script.
Thanks for each answer
Marcel
--
registered Fli4l-User #0388
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
*shakes head* i know that $date is a string.
your script is failing because you are trying to
write to directory C:\\ccl_www\\$date, which
does not exist. you have to create it before
you try and write files into it.
jtjohnston wrote:
No!? $date is a string?!
$date = date (MD);
How
Or, if you're on a *nix platform, try using 'tar'
to tar up the entire directory tree, copy the
'tar' file and un-tar it.
or 'cp -R' should work too.
Martin Towell wrote:
Does xcopy support long file names?
-Original Message-
From: Robert V. Zwink [mailto:[EMAIL PROTECTED]]
Sent:
because the first argument of Setcookie is the name
of the cookie you want to set.
(and what the variable will be called on subsequent pages)
SetCookie('username', $username ...) will do what
you're expecting.
Jesse Warden wrote:
I performed a:
setCookie($username, $username, time()+3600,, ,
AFAK it's not possible since PHP is server-side and I guess your
JavaScript is client-side.
Niklas
-Original Message-
From: Marcel Besancon [mailto:[EMAIL PROTECTED]]
Sent: 19. maaliskuuta 2002 14:05
To: [EMAIL PROTECTED]
Subject: [PHP] Calling Javascript-function from php-script ...
Short answer: no.
Long answer: have the PHP script output javascript code
to the browser.
PHP = server-side
Javascript = client-side
Marcel Besancon wrote:
Hi everybody,
is there someone who can tell me how to call a javascript-function by a
php-script.
Thanks for each answer
On another note,
Are there any open-source/freeware PHP scripts that have the
functionality of PHPMyAdmin, but modifiable for my custom tables/needs? The
admin script I could write at this point would be an inferior web
interface for our MySQL DB (only 2 tables), so I'd rather save time
Hello,
I'm building an e-commerce site which uses sessions to
hold my $cart object. This works great but I've two worries:
1) When the user connects through our secure hostname, can I ensure
the browser will send the server the cookie (w/ SESSID)? The user
will shop through domain.com
Hello friends.
I am making a database website where I need to add a small help button for
every field on the form. Whenever the user clicks the small help button, I
wish to show a titleless popup window containing the help text and a close
button. Can someone help me with the php script for
class.overlib does that nicely
http://www.posi.de/phpclass/
-Original Message-
From: Denis L. Menezes [mailto:[EMAIL PROTECTED]]
Sent: mardi 19 mars 2002 13:12
To: [EMAIL PROTECTED]
Subject: [PHP] Making a simple borderless pop up window with a Close
button
Hello friends.
I am
Hi,
i know that one is server-side and the other is client-side. But what i
meant ist the following. I have a script with a form. By submitting this
form and checking out some values php should call a javascript-function
(such as an alert). You see the php-script shall call the
Then you need to do it like this:
? if ($myVal == ---) { ?
script language=JavaScript
alert(DOH!);
/script
? }; ?
But you can not make PHP call javascript functions directly.
Niklas
-Original Message-
From: Marcel Besancon [mailto:[EMAIL PROTECTED]]
Sent: 19. maaliskuuta 2002 14:20
PHP cannot call a javascript function.
but PHP can examine the incoming variables
and then output Javascript to the browser
to do the appropriate work.
for example, calling $text.php?this=5
pops up an alert saying this=5
test.php
?
print script\n.
alert('this='+. $this .);\n.
/script
?
So it seems to be that your header is failing then.
try using the full URL:
http://localhost/.../success.php
instead of just
success.php
and verify that it's spelled correctly and
is lowercase (if on a *nix system)
Balaji Ankem wrote:
No it z not failing if I replace it.
-Original
On Tuesday 19 March 2002 19:59, scott furt wrote:
Are you using MSIE?
what file extension are you testing with?
i was having similar problems using this technique
with PDF files. only with MSIE, sometimes it would
print text crap to the screen and sometimes it
would prompt for download.
On Tuesday 19 March 2002 18:38, Ramesh Nagendra Pillai wrote:
Hai
I am new bie to PHP Can any one please give me a
solution for my problem
Thanx in Advance
I am using an form in an PHP page and I am submitting
it to the same page,
After Submitting the form I want to clear the form
... or mozilla :)
Jason Wong wrote:
On Tuesday 19 March 2002 19:59, scott furt wrote:
Are you using MSIE?
what file extension are you testing with?
i was having similar problems using this technique
with PDF files. only with MSIE, sometimes it would
print text crap to the screen and
Its 12am and I probly did something wrong but anyways...
I have php compiled with --enable-trans-id
Running on RH7.2
PHP 4.1.2
Apache
Question is that when I first view the page the SID is not in URL
As it should not be :)
All my links have the SID attached to it as should be...
After I
Hello friends,
Can someone tell me what is wrong with the foll script?
CREATE TABLE `sailordata` (`sailorid` INT(8) DEFAULT '' NOT NULL,
`lastname` VARCHAR NOT NULL,
`firstname` VARCHAR NOT NULL,
`middlenames` VARCHAR NOT NULL,
`dob` VARCHAR NOT NULL,
`telephone` VARCHAR NOT NULL,
Has anyone created a telnet session in php with sockets and can give me some
help on setting one up?
Thank you,
Ray Hunter
Firmware Engineer I
ENTERASYS NETWORKS
Phone: 801.887.9888
Fax:801.972.5789
Email: [EMAIL PROTECTED] mailto:[EMAIL PROTECTED]
www:
On Tue, 19 Mar 2002, Hunter, Ray wrote:
Has anyone created a telnet session in php with sockets and can give me some
help on setting one up?
Take a look at PHP Shell to see how it's done.
http://www.gimpster.com/php/phpshell/index.php
Cheers,
Nick Winfield.
--
PHP General Mailing List
Hello,
The length of VARCHAR must be specified like;
CREATE TABLE sailordata ( sailorid INT(8) NOT NULL DEFAULT 0,
lastname VARCHAR(255) NOT NULL,
firstname VARCHAR(255) NOT NULL,
middlenames VARCHAR(255) NOT NULL,
dob VARCHAR(255) NOT NULL,
telephone VARCHAR(255) NOT NULL,
Hi friend,
Is there any equivalent statement to header (Location:
user.php);
Because I am getting problem with that line in fresh browser
context.
How to see the php error log? And how to display an error
messages in php?
Thanks and Regards
-Balaji
if(stristr( $file_data, $word )) die( word found );
that will work for one word -- for many words -- I would use:
if(preg_match(/word1|word2|word3/i, $file_data)) die( one or more words
found );
However, that does use preg -- which is MUCH faster than EREG but neither is
as fast as a straight
On Monday, March 18, 2002, at 06:01 PM, Chuck PUP Payne wrote:
The guy paid $6000 for this Mac, and the guy doesn't want to even
hear new hardware. So it doesn't matter I am talk to a wall.
...
I am dealing with just cheap people. So again thanks for all the
comments
and info.
Good
Hi, i've search through the mail archive and couldn't find a solution for
this. Any ideas?
I'm installing Apache_1.3.23+php-4.1.2+OpenLDAP-2.0.23 in a NetBSD 1.5.1.
Apache alone worked fine, so did apache+php. When i added LDAP: i had no
compilation pronblems, but i can't start apache:
On Tuesday 19 March 2002 22:20, Balaji Ankem wrote:
Hi friend,
Is there any equivalent statement to header (Location:
user.php);
Because I am getting problem with that line in fresh browser
context.
The correct usage is:
header (Location: http://www.domain.com/user.php;);
ie
Thanks for the reply!!!
I want equivalent statement to header (Location:
http://www.domain.com/user.php;);
Because I am getting the problem saying php.exe has generated errors
and will be closed by windows. You need to restart the program. An error
log is being created And no error is logged in
hi,
i know this is one of the nearly weekly questions, but i couldn't find an
appropriate answer on marc.theaimsgroup.com.
anyone have good experiences with a commercial-level ISP offering:
- shell
- virtual dedicated hosting enviroment including freedom to compile my own
PHP,
I wouldn't say you NEED a full url, it should handle relative URL's as well.
I don't know if it's part of the specification, but it will work.
As far as your problem I hope that line break isn't in the string and it's
just there because of the email.
-Joe
Jason Wong [EMAIL PROTECTED] wrote in
On Tuesday, March 19, 2002, at 07:12 AM, Denis L. Menezes wrote:
I am making a database website where I need to add a small help button
for
every field on the form. Whenever the user clicks the small help
button, I
wish to show a titleless popup window containing the help text and a
It only works in IE -- it makes use of the 'Full Screen' (F11) option and
tricks IE into doing so... hope you don't want it to work in NS, Opera... or
anything else
=)
-Joe
Erik Price [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
On Tuesday, March 19, 2002,
I would worry about the hard drive failing on an old Mac. (This just
happened to me on an old 7300/180 and a bondi iMac at work). The older macs
use scsi hard drves that are hard to find and next to impossible to find
new. At least with a 7300 it has 3 pci slots and you can put an IDE
controller
Also remember you can pick up a brand new Dell 1.6 ghz P4 w/ 17 inch monitor
for under $700. Then you can run php/apache on Windows if you want (check
out the easy installer at www.nusphere.com) or any number of Linux or BSD
variants.
If your set on a Mac you can pick up a new previous
On Tuesday, March 19, 2002, at 09:47 AM, Joe Webster wrote:
It only works in IE -- it makes use of the 'Full Screen' (F11) option
and
tricks IE into doing so... hope you don't want it to work in NS,
Opera... or
anything else
I never realized that! But, (not that I didn't believe you
I am getting errors when I try to start a session.
I get a permission denied (13) for trying to open the session data.
I also get Failed to write session data (files). Please verify that the
current setting of session.save_path is correct.
I got a few others, but they didn't look to pertinent.
Hi - sorry if i was not clear..
i'm running a mailout script from the console (not via apache). the
problem
is that the mail function is using the default (sendmail MTA). i want the
script to use qmail instead.
I put sendmail_path = /var/qmail/bin/qmail-inject into php.ini but my mail
Lots of people will tell you to use PGP. However since PGP is not *free*,
in that you cannot use it for commercial purposes without a license, I avoid
it. Also it has to be downloaded and installed as most systems do not
include it because of it's non-free open source status.
The best
At 8:48 AM -0600 3/19/02, Geoff Hankerson wrote:
I would worry about the hard drive failing on an old Mac. (This just
happened to me on an old 7300/180 and a bondi iMac at work). The older macs
use scsi hard drves that are hard to find and next to impossible to find
new. At least with a 7300 it
SID is set on the first request. It is only set on subsequent requests if
cookies are disabled on the client. So, disable cookies in your browser, and
then see what happens.
Kirk
-Original Message-
From: Chris Kay [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, March 19, 2002 6:16 AM
To:
Well would you be so kind as to share your knowledge of where to pick up
scsi drives. Remember these are old Mac compatible scsi drives 50 pin or
something like that.
- Original Message -
From: Alnisa Allgood [EMAIL PROTECTED]
To: Geoff Hankerson [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
I can't answer your overall question but I can tell you that a 'resourceful'
hacker can also easily spoof an IP address, or so I'm told ;)
Why not just have the entire session encrypted. The user could browse
around the catalog sessionless and as soon as a cart was necessary (wants to
put
Hello firends,
I have three fields(input boxes) in a php form as follows :
$name
$rank
$age
My MySQL table is called tblAddress. I know how to connect, but I do not
know the Insert statement. Can someone please advise me how I can insert
the above values in the tables tblAdddress in columns
Hi,
I need to search text for @ and replace the mail address around it (i.e.
text between previous and following spaces) so that if I have text
Foobar foobar [EMAIL PROTECTED] foobar foobar.
It'll convert it to
Foobar foobar a href=mailto:[EMAIL PROTECTED];[EMAIL PROTECTED]/a foobar foobar.
On Tuesday, March 19, 2002, at 10:57 AM, Denis L. Menezes wrote:
I have three fields(input boxes) in a php form as follows :
$name
$rank
$age
My MySQL table is called tblAddress. I know how to connect, but I do
not
know the Insert statement. Can someone please advise me how I can
At 9:55 AM -0600 3/19/02, Geoff Hankerson wrote:
Well would you be so kind as to share your knowledge of where to pick up
scsi drives. Remember these are old Mac compatible scsi drives 50 pin or
something like that.
Ahh. 50-pin haven't dealt with one of those in a while. I typically
purchase
Hi,
I think the following lines could help you :
$line = Foobar foobar [EMAIL PROTECTED] foobar foobar;
list($var1,$var2,$var3,$var4,$var5) = explode( ,$line);
echo $var1 $var2 a href=mailto:$var3;$var3/a. .$var4. .$var5;
more or less... i am a newbie in this stuff...
hope it helps you
SR
I came to the PHP list today with the same question/problem.
My cart doesn't require cookies. If the user doesn't have them it just puts the
SESSID in the URL. (Good ol PHP!)
BUT - it's actually happening often that someone linking to our store
from their own website is including the long
If IMAP is entered under Loaded Modules in the apache section of a phpinfo
file, does that mean IMAP has been enabled?
Thanks,
-Mike
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hello,
I have a very long script with several functions in it. I wanted to split
the script into several files, so I created two sub-scripts and one main
script. This is the code from the main script:
?php
include_once(sub_script_1.php);
incude_once(sub_script_2.php);
$temp =
On Tue, Mar 19, 2002 at 08:37:43AM -0800, PHP freak wrote:
BUT - it's actually happening often that someone linking to our store
from their own website is including the long SESSID in the URL
that links to us, to that everyone who follows that link from
that website is getting the same
Hi Shaun,
I would
like to be able to tailor the main webpage to whichever person visits it -
but by using their windows login ID instead of having to get them to enter
a
username when the page is visited... Is this possible?
Yes it is, if the user is logging on to the machine running
Have you remembered to set up PHP's include_path to point to the area where
your scripts are located?
Neil
Mauricio Cuenca wrote:
Hello,
I have a very long script with several functions in it. I wanted to split
the script into several files, so I created two sub-scripts and one main
Looking through the php.ini file brought me to the following setting:
; Check HTTP Referer to invalidate externally stored URLs containing ids.
;session.referer_check
I looked in the manual and found this explanation:
session.referer_check contains the substring you want to check each HTTP
How would you write a regular expression that defines a phone number: ex.
(123)123-1234.
In other words how would you check to see if there were three numerics surrounded by
(), then three numerics with a -, then four numerics.
This is what I have so far as a regular expression.
On Wednesday 20 March 2002 00:46, Mike At Spy wrote:
If IMAP is entered under Loaded Modules in the apache section of a
phpinfo file, does that mean IMAP has been enabled?
Use php_info() to find out.
--
Jason Wong - Gremlins Associates - www.gremlins.com.hk
/*
High heels are a device
I guess you can do it also as:
([1-9]{3})[1-9]{3}-[1-9]{4}
cheers,
--t.
On Tue, 19 Mar 2002, Kris Vose wrote:
How would you write a regular expression that defines a phone number: ex.
(123)123-1234.
In other words how would you check to see if there were three numerics surrounded by
On Wednesday 20 March 2002 01:53, Thalis A. Kalfigopoulos wrote:
I guess you can do it also as:
([1-9]{3})[1-9]{3}-[1-9]{4}
But wouldn't this excludes zeros?
Try:
preg_match(/^\(\d{3}\)\s\d{3}-\d{4}$/, $number)
which matches
(123) 345-6789
--
Jason Wong - Gremlins Associates -
On Tue, 19 Mar 2002, Kris Vose wrote:
How would you write a regular expression that defines a phone number: ex.
(123)123-1234.
In other words how would you check to see if there were three numerics surrounded by
(), then three numerics with a -, then four numerics.
This is what I
On Tuesday 19 March 2002 23:29, you wrote:
Should I change session.save_path? I have no idea of the ramifications of
doing that, therefore I am not touching it unless someone says so.
The error message is quite explicit.
As a quick fix and to confirm whether that is the problem:
Check what
Hi guys,
I am really stuck with this prob. Anyhow php can't read imagefiles after
password protecting the site with htaccess. The file exists, the application
works (after deleting the htaccess function), the path is ok. copy and
pasting the url into the browserwindow returns the image. So whats
hi.. foud the error. For everybody who might cope with the same error:
the prob was that getimagesize requires a path name without protocol like:
/pictures/12.gif
http://server.com/pictures/12.gif does not work with htaccess and imagesize
Thats it. easy hah :-)
Andy
Andy [EMAIL PROTECTED]
Hi all
I have compiled php on a slack box
./configure --with-apxs=/usr/local/apache/bin/apxs ..
make make install
everything Fine
and .php pages are being parsed with php when called thru webserver(apache).
But I can not find any binary named php
which I need to run php scripts from shell.
I believe when you compile php with apxs, it does not create the php binary.
You will have to compile php again without the --with-apxs option and then
copy the php binary to the place where you want ot put it.
HTH
R'twick Nicerogaw
- Original Message -
From: N. Pari Purna Chand [EMAIL
You need to reconfigure PHP without the --with-apxs line in your configure script.
Hope this helps.
Brian
-Original Message-
From: N. Pari Purna Chand [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, March 19, 2002 1:57 PM
To: [EMAIL PROTECTED]
Subject: [PHP] Cannot Find php binary
Hi,
Can any1 send a small script of how to valiade a username using eregi().
I want username to consist only a-zA-Z1-0, _, and -
I can't get it to work correctly
Vlad
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Ok, I am back. My client has gone bought Wintel box, running XP. I have
downloaded and install Apache, Mysql, and PHP 4. But because 4 is a zip, I
have read the install.txt and have set up the httpd.conf but when I got to
check if php is working, I can see the inside of the file
? PHPINFO(); ?
Here is an easy one click install you can download for free
http://www.nusphere.com/ (click download -- you have to register first)
It puts Apache, MySQL, php and perl all in the right places for you.
- Original Message -
From: Chuck PUP Payne [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Thanks I will try it. -- Chuck
On 3/19/02 2:15 PM, Geoff Hankerson [EMAIL PROTECTED] wrote:
Here is an easy one click install you can download for free
http://www.nusphere.com/ (click download -- you have to register first)
It puts Apache, MySQL, php and perl all in the right places for
Have you put ?php tags in your include-files?
Anders
- Ursprungligt meddelande -
Från: Mauricio Cuenca [EMAIL PROTECTED]
Till: [EMAIL PROTECTED]
Skickat: den 19 mars 2002 17:43
Ämne: [PHP] include_once()
Hello,
I have a very long script with several functions in it. I wanted to
1 - 100 of 209 matches
Mail list logo