The register globals function must be turned ON in your php.ini for the first method
to work.
-Original Message-
From: Max Buvry [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, 2 October 2002 2:38 AM
To: [EMAIL PROTECTED]
Subject: [PHP] Cookie
Hi,
I use : apache 1.3.26, php 4.2.3, post
I'm pretty sure this is a global variables problem.
There is an option in your ini.php file that refers to 'global variables'
You need to set this on, otherwise reference to them with the absolute
variable name.
Best Regards
Bob Irwin
Server Admin & Web Programmer
Planet Netcom
- Original M
Hi,
I use : apache 1.3.26, php 4.2.3, postgresql 7.2 (under solaris 7).
I attempt to modify my old sources which run with the previous versions
and I meet a problem with the cookie.
I read that we can see the contents of a cookie with 2 methods :
echo $testcookie
echo $_COOKIE["testcookie"]
You want to retain ownership, AND take contributions?
Generally it'd be an either/or proposition wouldn't it?
Justin French
on 02/10/02 2:26 PM, Khalid El-Kary ([EMAIL PROTECTED]) wrote:
> hi,
> i wanted to add something, i want to receive contribtions from developers as
> well to make the pa
imagecopyresampled($dst_img,$src_img,50,0,0,0,$new_w,$new_h,imagesx($src_img
),imagesy($src_img));
i have this
basically if i half the width of the ratio scaled image , it puts the entire
image into that area not just half the image like a crop would ?
"Mike Mannakee" <[EMAIL PROTECTED]> wrote
It's not impossible if the site is not opened up to full public access, and he is
using different proxy settings on each browser.
Check those.
-Original Message-
From: Chris Shiflett [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, 2 October 2002 4:23 PM
To: Chris Nielsen
Cc: [EMAIL PROTECT
This seems absolutely impossible. Can you verify that you are using the
*exact* same URL with each browser? I would recommend copy/pasting the
URL from each into a text document or something to be sure every slash,
etc., is identical.
This will also ensure that you are accessing these scripts
±êÁÄǤâÁÄðÇ·éñŵå¤EEE
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Paul Nicholson wrote:
>If ($days > 30) {
>$days = "" . $days . "";
>}elseif ($days > 45) {
>$days = "" . $days . "";
>}
>
Just a side note - the elseif when used like this is superfluous.
If $days is not greater than 30, then it must be 30 or less. Thus, it
will never be greater than 4
try www.sloppycode.net
* © Sloppycode.net All rights reserved.
* @title Html Source class - api for getting/posting to websites
* @author C.Small
* @version 1.0
or phpclasses.org
Elias,
"Chris Nielsen" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> I hav
> I've been wondering about developing scripts that the end-user might
run
> on
> php < 4.1.0. I've heard allot of ways except for one that I recently
> thought
> of.
> How about using:
> -
> if(!isset($_GET)) { global $HTTP_GET_VARS; $_GET = &$HTTP_GET_VARS; }
> -
> ? That allows you to
> Environment: PHP 4.2.3/IIS/Win2k Server
>
> I tried to enable the PHP_MSSQL.dll module, but got the above error.
> Does anyone know what is causing this?
>
> I've tried sharing (web sharing) the folders, and looked around the
server
> configuration...I found nothing that would explain this.
>
Thanks for that Robert *it works*, now i have 1 more problem, after
uploading to my web server i get this...
Warning: fopen("wtest.txt", "wb+") - Permission denied in
/home/canberra/public_html/bomonster/canberra.php on line 6
Dunno why either, the directory is not protected, can you help me with
I have a single php file that I want to do some different things (only one
at a time, based on a conditional):
display a form to the user for input
submit information from (above) form to database
list information in database (that has been INSERTed by the above)
I want this file to be able to c
Works fine for me...
IE 6.023
Flash 6.0
if I click on 'stallions' I get a list of the stallions with pics.
If I choose a horse from the dropdown menu, I get a picture of a horse with
a flash textbox full of details. Not all of them do this though - some are
missing info and pics - I'm assuming
from the client end, you can't
from the server end, you can use curl.
HTH
Martin
-Original Message-
From: Chris Nielsen [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, October 02, 2002 3:09 PM
To: [EMAIL PROTECTED]
Subject: [PHP] How to send POST info without a form?
I have a single php fil
I'm running PWS on WinXP Pro. I can't test my php stuffs in Netscape cause
it says Access Denied when I try to access any php file. They work fine in
IE6.
Any ideas?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hello,
On 10/02/2002 01:15 AM, Khalid El-Kary wrote:
> hi,
> i have developped an XML parser that's easy to use and very fast, and i
> have run two websites using it.
>
> http://creaturesx.ma.cx
> http://creaturesx.ma.cx/osman/jokes/index.php (not complete website)
>
> the question comes now w
am assuming tis up the top ( it loads other menu names) and the white space
down the bottom. but either way it don't
> -Original Message-
> From: Justin French [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, 2 October 2002 2:29 PM
> To: Rebekah Garner; [EMAIL PROTECTED]
> Subject: Re: [PHP
do you mean load into the menu as in populate the menu? if so then that is
working but if u mean u click on a link then nothing comes up
> -Original Message-
> From: Rebekah Garner [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, 2 October 2002 2:15 PM
> To: [EMAIL PROTECTED]
> Subject: [P
What f'n text field?
Justin
on 02/10/02 2:15 PM, Rebekah Garner ([EMAIL PROTECTED]) wrote:
> Okay, this may be a bit off topic, BUT we just finished a website using PHP,
> MySql and Flashwell, I need someone...anyone to check out this URL for me
> and click on the Stallions menu, and tell
hi,
i wanted to add something, i want to receive contribtions from developers as
well to make the parser be better
_
Send and receive Hotmail on your mobile device: http://mobile.msn.com
--
PHP General Mailing List (http://www
Hi,
I'm learning php from a book but because of global off I have have
several "Undefined index" message! I don't want to change the default
setting in my php.ini because I want to learn the good way.
What I'm doing wrong?
Undefined index: categorie
if ($_POST['categorie'] == "New") {
Undefined
hi,
i have developped an XML parser that's easy to use and very fast, and i have
run two websites using it.
http://creaturesx.ma.cx
http://creaturesx.ma.cx/osman/jokes/index.php (not complete website)
the question comes now what's best way to contribute this parser to the PHP
community without
Okay, this may be a bit off topic, BUT we just finished a website using PHP, MySql and
Flashwell, I need someone...anyone to check out this URL for me and click on the
Stallions menu, and tell me if anything loads into the text field. The client swears
that it isn't, but it is dammit. Or i
> ummyou'd have to include that line at the top of every function that
> uses get(or any of the other) vars(scoping reasons) or somehow pass it via
> a reference to the function. I've always added the line at the top.
At the top of each _function_? Urgs. Sounds like a hell of a lot of work.
Hello,
PN>Hey,
PN>Whats the php version on the window machine? register_globals on?
I am using php4 and also the register_globals are On only..
PN>Try:
PN>src="Gif/nextque.gif"
PN> border="0">
Already i have tried this code also..Can anyone please tell me how to go
about with this ??
Regards
thanks - I will have to look through things...
you explanation made sense, and I believe I can get it to work that way. I
think I'm going to try Tom's Java script first, and use this is a fail safe.
Jeff
"Justin French" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECT
phpMyAdmin(.org) is a GUI web interface for managing MySQL databases. it's
open source, so if you like what you see, you can dig around in the code and
"borrow"... they pop-up confirmations on delete and empty type queries.
as for a simple confirmation script... I don't really have the time righ
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Hey,
Whats the php version on the window machine? register_globals on?
Try:
HTH!
~Pauly
On Tuesday 01 October 2002 11:53 pm, Uma Shankari T. wrote:
> Hello ,
>
> border="0">
>
> While clicking this link the $hid value get incremented and fetch the
Hello ,
While clicking this link the $hid value get incremented and fetch the value
from the database according to that..the same thing is working in linux
platform and it is not working for the windows platform..the value is not
getting increment..Can anyone please tell me how to go about
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
oppsI need those reversed.
-
switch (TRUE) {
case ($days > 45):
$days = "" . $days . "";
break;
case ($days > 30):
$days = "" . $days . "";
break;
}
-
If ($days > 45) {
$days = "" . $days . "";
}
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Hey,
[snip]
> If any script shall be executeable on such an old PHP release, this method
> sounds really good. But, for security reasons i would prefer to ship this
> in an extra script, which the user has explicitly to include (Maybe just
> paranoia)
> Hey gang,
> I've been wondering about developing scripts that the end-user might run on
> php < 4.1.0. I've heard allot of ways except for one that I recently
> thought of.
> How about using:
> -
> if(!isset($_GET)) { global $HTTP_GET_VARS; $_GET = &$HTTP_GET_VARS; }
> -
> ? That allow
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
yeah, I know...duh! *yawn* long nite...I'll see y'all in the morn. :)
~Paul
On Tuesday 01 October 2002 11:22 pm, Chris Shiflett wrote:
> Paul Nicholson wrote:
> >If ($days > 30) {
> >$days = "" . $days . "";
> >}elseif ($days > 45) {
> >$days
Anyway... cool way to use switch
Obviously i've been working too much with C, that i never thought of a way,
you could use the conditional-expression in the "case", not in the switch ;)
Sascha
> switch (TRUE) {
> case ($days > 45):
> $days = "" . $days .
> ""; break; case
thanks.
please email me,or links??
_
Do You Yahoo!?
"·¢¶ÌÐÅÓ®ÊÖ»ú,¿ìÀ´²Î¼ÓÑÅ»¢¾ÞÐÇÐã!"
http://cn.ent.yahoo.com/star/midautumn/index.html
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.ph
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Hey,
ok, I'm not sure if I totally understand what you're trying to do but.I'll give
it my best. Try:
switch (TRUE) {
case ($days > 30):
$days = "" . $days . "";
break;
case ($days > 45):
$days = ""
A, ok. You know am still having problems with elseif, else, Ok, thanks I
will give it a try.
Chuck
On 10/1/02 11:03 PM, "Chris Shiflett" <[EMAIL PROTECTED]> wrote:
> Chuck,
>
> I'm not sure what you're trying to do, but I think you might just want
> to order it the other way around.
>
>
4.2.3
> thanks.
>
> Can you email me???
>
> _
> Do You Yahoo!?
> "·¢¶ÌÐÅÓ®ÊÖ»ú,¿ìÀ´²Î¼ÓÑÅ»¢¾ÞÐÇÐã!"
> http://cn.ent.yahoo.com/star/midautumn/index.html
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.p
Hey,
I am trying to better understand something, I learned a couple weeks ago
that if I do this...
If ($field == "value1") {
$field = "change to new value";
Now I have use this to change -00-00 to . And the following.
If ($days > "30") {
$days "" . $days . "";
}
Want I want to d
Hi,
Wednesday, October 2, 2002, 12:21:29 PM, you wrote:
JB> OK Tom - that script worked beautiful.
JB> there are a few different applications that I need this for, and I'm
JB> wondering if you can either help me with the coding, or refer me to a
JB> webpage that can get me started in the right d
and just when I thought this day couldnt get any more confusing:|
-Original Message-
From: Chuck "PUP" Payne [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, 2 October 2002 12:50 PM
To: PHP General
Subject: [PHP] Wanting to better understand
Hey,
I am trying to better understand s
Chuck,
I'm not sure what you're trying to do, but I think you might just want
to order it the other way around.
if ($days > "45")
{
# $days is 46 or more
do stuff
}
elseif ($days > "30")
{
# $days is 31-45
do other stuff;
}
else
{
# $days is 30 or less
more stuff;
[EMAIL PROTECTED] wrote on Wed, Oct 02, 2002 at 03:22:26AM +0200:
> Post it as a bug please. It looks like one, anyway it will be closed
> if its not.
done, as bug #19703 safe_mode allows include-ing of http documents
http://bugs.php.net/bug.php?id=19703
thanks,
--
Tomasz Orzechowski
latest version is:
4.2.3
not 7.2
tyler
On Wed, 2 Oct 2002 10:36:08 +0800 (CST)
¼ÒÎÄ ·½ <[EMAIL PROTECTED]> wrote:
> thanks.
>
> Can you email me???
>
> _
> Do You Yahoo!?
> "·¢¶ÌÐÅÓ®ÊÖ»ú,¿ìÀ´²Î¼ÓÑÅ»¢¾ÞÐÇÐã!"
> http://cn.ent.yahoo.com/s
thanks.
Can you email me???
_
Do You Yahoo!?
"·¢¶ÌÐÅÓ®ÊÖ»ú,¿ìÀ´²Î¼ÓÑÅ»¢¾ÞÐÇÐã!"
http://cn.ent.yahoo.com/star/midautumn/index.html
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Sorry,it's my fault.
I want to know the latest PHPLIB version.
Can you email me PHPLIB??
thanks a lot .
=
##
//Javen Fang//
//Froma CHina//
###
_
Do You Yahoo!?
"·¢¶ÌÐÅÓ®ÊÖ»ú,¿ìÀ´²Î¼ÓÑÅ»¢¾ÞÐÇÐã!"
http://cn.e
Justin...
could I talk you into giving me an example in code of this? (I would really
appreciate it)
where is this phpmyadmin? I'm not seeing a function, and I searched php's
website for this string, and I'm not finding anything.
Jeff
"Justin French" <[EMAIL PROTECTED]> wrote in message
[EMA
OK Tom - that script worked beautiful.
there are a few different applications that I need this for, and I'm
wondering if you can either help me with the coding, or refer me to a
webpage that can get me started in the right direction.
I need to collect a value that will be used in a query. (assu
Confirmation is easy -- the client has the right to ask for this component.
It's the method in which you want to confirm (javascript, pop-ups, etc) that
is the problem.
It can be as simple as:
submit form
page asking are you sure you want to blah blah blah
submit yes or no
action taken
No javas
Tom,
I am going to work with this command, and see if I can get it to work.
Thanks,
Jeff
"Tom Rogers" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Hi,
>
> Wednesday, October 2, 2002, 11:52:34 AM, you wrote:
> TR> Hi,
>
> TR> Tuesday, October 1, 2002, 1:36:
LOL - I've been using VB for about 6 years, and I'm just beginning to
convert over to php.
the application I am writing is for prepaid phone cards. if they are going
to activate a pin, inactivate, or recharge then I want a confirmation box.
I would prefer to also have a box pop up to get the va
Hi,
Wednesday, October 2, 2002, 11:52:34 AM, you wrote:
TR> Hi,
TR> Tuesday, October 1, 2002, 1:36:43 PM, you wrote:
JB>> is there a way to for an input box to come up looking for a value? I know
JB>> there are a few ways I could resolve my current issue, but I would prefer to
JB>> display an i
Hi,
Tuesday, October 1, 2002, 1:36:43 PM, you wrote:
JB> is there a way to for an input box to come up looking for a value? I know
JB> there are a few ways I could resolve my current issue, but I would prefer to
JB> display an inputbox, and use that value in my query.
JB> basically I would do a
$attachdata[$x] = imap_base64($attachment);
on that part sometimes the attachdata get empty so i did a IF but at that
point i'm stuck. If i output it raw it will simply not work. Please help !
Here the code :
if ($AsAttach == "Y")
{
for ($x=0;$x PID : $pid[$x] Type : $type[$x] ";
$attachment =
Post it as a bug please. It looks like one, anyway it will be closed if its
not.
--
Nicos - CHAILLAN Nicolas
[EMAIL PROTECTED]
www.WorldAKT.com - Hébergement de sites Internet
"Tomasz Orzechowski" <[EMAIL PROTECTED]> a écrit dans le message de news:
[EMAIL PROTECTED]
> should PHP with safe_mode
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Hey gang,
I've been wondering about developing scripts that the end-user might run on
php < 4.1.0. I've heard allot of ways except for one that I recently thought
of.
How about using:
-
if(!isset($_GET)) { global $HTTP_GET_VARS; $_GET = &$HTTP_
Try looking at the following paper, it looks very good.
http://conf.php.net/pres/slides/oci/paper.txt
HTH
Todd.
> -Original Message-
> From: Juan Antonio Ruiz Zwollo [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, 2 October 2002 11:28 AM
> To: [EMAIL PROTECTED]
> Subject: [PHP] Connect t
$attachdata[$x] = imap_base64($attachment);
on that part sometimes the attachdata get empty so i did a IF but at that
point i'm stuck. If i output it raw it will simply not work. Please help !
Here the code :
if ($AsAttach == "Y")
{
for ($x=0;$x PID : $pid[$x] Type : $type[$x] ";
$attachment =
What you seem to be looking for are the javascript functions, alert, confirm
and/or prompt. for a billion examples see...
http://www.google.com/search?num=20&hl=en&lr=&ie=UTF-8&oe=UTF-8&newwindow=1&;
safe=off&q=confirm+alert+prompt&btnG=Google+Search
Todd.
> -Original Message-
> From: J
Hi!
I've been writing PHP scripts for a long time but never needed to get data
from an Oracle database. Till now.
Can somebody give me a hand? The Oracle database is running on another
server.
The information I have been given is:
host (e.g. somewhere.somewhere.com)
username (e.g. USER_NA
Hi,
I asked a question similar to this earlier, but I thought it may have
required simplification/rewording. According to the doco,
imagecreatefromstring has the following declaration:
resource imagecreatefromstring ( string image)
Does anyone know how an image can be transformed into a string
pop-up windows, reminds me of the days of visual basic programming
I know you can display dialog boxes using javascript, but not sure if they will
take a value in them, just like a confimirmation type box, like "Are you sure?
"
To the point, check some javascript references out, I know ther
I don't understand. Twice.
Tell us what you need, slowly and clearly.
Justin French
on 02/10/02 10:35 AM, Jeff Bluemel ([EMAIL PROTECTED]) wrote:
> anybody???
>
> anyway to pop up an inputbox that will get a variable? also, and yes / no
> or ok / cancel boxes I can make pop up?
>
>
>
I was sure I'd tried it, but $_POST works now.
Thanks guys.
"Jay Blanchard" <[EMAIL PROTECTED]> wrote in message
000501c2697d$ded95a10$8102a8c0@000347D72515">news:000501c2697d$ded95a10$8102a8c0@000347D72515...
> [snip]
> My form is actually using method="post". And I did use $_POST. Can't
> reme
Well, $_POST['userName'] is now working, but I could have sworn I was trying
that last night and it was returning the same error. Oh well, thanks for the
help guys.
"Chris Nielsen" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> I have a simple form:
>
>
> E
should PHP with safe_mode enabled allow include-ing of files via http://
or not? The way I read the docs it shouldn't and I would expect it to
not allow such includes if it enforces permissions and open_basedir and
such.
i browsed around on bugs.php.net but cannot find anything revevant. is
thi
Don't think it can be done... at least not the way you describe. *maybe* it
can be done with javascript, but I'd try to do it this way:
1. user completes form, clicks submit
2. your scripts don't send any output to the browser (ie, it's not a page,
it's a script), generate the auto-responders, w
anybody???
anyway to pop up an inputbox that will get a variable? also, and yes / no
or ok / cancel boxes I can make pop up?
"Jeff Bluemel" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> is there a way to for an input box to come up looking for a value? I
Sorry...
I think:
http://www.php.net/manual/en/function.phpversion.php
will be more inline with what you want...
-Brad
Alex Shi wrote:
> Is there any way to report PHP version?
>
> --
> ---
> TrafficBuilder Network:
> http://www.bestadv.net/index.cfm?ref=7029
>
> --
> PHP
On Tue, 1 Oct 2002, Alex Shi wrote:
> Is there any way to report PHP version?
Sure. What version of PHP are you using? ;)
~Chris
P.S. - if you didn't find that amusing, just check out
http://www.php.net/manual/en/function.phpversion.php
--
PHP General Mailing List (http://w
You can get it out of this variable:
_SERVER["SERVER_SOFTWARE"]
tyler
On Tue, 1 Oct 2002 20:03:25 -0400
"Alex Shi" <[EMAIL PROTECTED]> wrote:
> Is there any way to report PHP version?
>
>
> --
> ---
> TrafficBuilder Network:
> http://www.bestadv.net/index.cfm?ref=702
perhaps glean it from the SERVER_SOFTWARE variable?
-Brad
Alex Shi wrote:
> Is there any way to report PHP version?
>
> --
> ---
> TrafficBuilder Network:
> http://www.bestadv.net/index.cfm?ref=7029
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe,
Hi,
I didn't realized that PHP had been going so fast that it was creating
problems for compatiblility.
Here is my situation: PHP on my development server is 4.0.6 while
on the application server it is PHP 4.2.2. I bet you all know that there's
a huge basic differences between the two but I d
Environment: PHP 4.2.3/IIS/Win2k Server
I tried to enable the PHP_MSSQL.dll module, but got the above error.
Does anyone know what is causing this?
I've tried sharing (web sharing) the folders, and looked around the server
configuration...I found nothing that would explain this.
Please help.
-
yes, that would work much better.
tyler
On Tue, 01 Oct 2002 20:11:21 -0400
Brad Bonkoski <[EMAIL PROTECTED]> wrote:
> Sorry...
> I think:
> http://www.php.net/manual/en/function.phpversion.php
> will be more inline with what you want...
> -Brad
>
> Alex Shi wrote:
>
> > Is there any way to re
Is there any way to report PHP version?
--
---
TrafficBuilder Network:
http://www.bestadv.net/index.cfm?ref=7029
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
That's because in the newer versions of php the register globals
directive is set to off by default...If you turn that directive on
and then restart apache, you will be able address GET/POST vars
normally (by their identical var name)
- Mike D
>Hi,
>
>I didn't realized that PHP had been go
THanks!
"John W. Holmes" <[EMAIL PROTECTED]> wrote in message
000f01c269a4$a7329be0$7c02a8c0@coconut">news:000f01c269a4$a7329be0$7c02a8c0@coconut...
> > I didn't realized that PHP had been going so fast that it was creating
> > problems for compatiblility.
> >
> > Here is my situation: PHP on m
Hello...
Don't know if this has been discussed but I saw a book on PHP5 listed on
Amazon, saying that PHP5 would be released in the fall of 2002? Was
wondering if there has been any information posted about this?
-Brad
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: h
Who cares about a new version number, these
days you have to think in much grander terms.
Redesign the packaging without changing the
product one bit, do a massive AD campaign,
rename PHP, release a few press releases
that you're now under new management...
arrange for the arrest of a few
"PHP
> I didn't realized that PHP had been going so fast that it was creating
> problems for compatiblility.
>
> Here is my situation: PHP on my development server is 4.0.6 while
> on the application server it is PHP 4.2.2. I bet you all know that
there's
> a huge basic differences between the two but
Greetings all,
I have been trying to get LDAP to compile properly using PHP 4.1.2 with
little success. This is a RedHat 7.3 platform using Apache 1.x as the web
server, adding PHP as a DSO.
When compiling PHP I use
./configure --with-ldap --with-mysql --with-apxs=/usr/local/apache/bin/apx
I use the mail function tons, never had a problem. I am working with a client with a
different
hosting vendor, they are using PHP 4.2.3, which I guess was a recient upgrade, anyway
I was
informed by the client that he wasnt getting email submissions from the website, but
he was
getting other e
They are dreaming in technicolour.
-Rasmus
On Tue, 1 Oct 2002, Brad Bonkoski wrote:
> Hello...
>
> Don't know if this has been discussed but I saw a book on PHP5 listed on
> Amazon, saying that PHP5 would be released in the fall of 2002? Was
> wondering if there has been any information posted
I was wondering the same thing...
There was a URL to an interview with Zeev Suraski posted on here once where
he was talking about the new featuresbut it was in german :(
Jarrad
-Original Message-
From: Brad Bonkoski [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, 2 October 2002 9:44
Alex
You can change back to the old way of parsing vars by simply changing the
"register_globals" setting to "on" in your PHP config. Though this is
certainly not recommended (mainly for security concerns).
Good PHP coding practice suggests that you use superglobals when you wish to
access sessi
I think:
string getcwd ( void)
would do the trick. (dirname() requires that you know the path of a file and
want to extract just the directory path)
-Brad
"John W. Holmes" wrote:
> OK. My bad. That's why I see DOCUMENT_ROOT on sourceforge is /var/www/,
> while my scripts are in /home/groups/p/pr
Of course compiled versus interpreted code is a pretty major difference, so
it would be hard for me to say it is "like" a compiled language like C/C++
just because is borrows some of the syntax. I have seen only very generic
classifications, but IMHO I would lean more towards saying it is a scrip
Locking it after insertion? *thinking..like locking my front door so it
will never open again* Don't think this is a feature we would want. You
can, however, control it with your PHP code, assign a "lock" field in the
record, or other ways Or you could create another database with
another
> I am trying to understand in deatil exactly what PHP is, I know that
it is
> a
> scripting markup type language, but.
>
> Is it correct to say that PHP is essentially just C++ code wrapped in
PHP
> blocks which are embedded in HTML?
Well, more of a C/C++ syntax, actually. PHP has a lot of
OK. My bad. That's why I see DOCUMENT_ROOT on sourceforge is /var/www/,
while my scripts are in /home/groups/p/pr/project/htdocs/.
Sorry for causing confusion in the ranks. :)
So what the OP wants is dirname() ??
---John Holmes...
> -Original Message-
> From: Chris Shiflett [mailto:[EM
> Check out:
> http://www.php.net/manual/en/function.getcwd.php
>
> HTH
> -Brad
Certainly does, thanks.
I suppose if I'd thought to look at the manual contents rather than
trying to construct a *search* I might have found that
Oh well, so much to learn so little time.
Thanks
Tony
--
P
You want DOCUMENT_ROOT. If you have a file
/home/groups/myproject/htdocs/file.php
then, from within that file.php, DOCUMENT_ROOT is
/home/groups/myproject/htdocs/
I think it would be $_SERVER['DOCUMENT_ROOT'] in newer versions of PHP.
---John Holmes...
> -Original Message-
> From: To
I've installed GD library on my server and I've compiled PHP with GD
support, but some functions like 'imagecreate' doesn't work. I've the
same fatal-error:
Fatal error: Call to undefined function: imagecreate()
How can I solve it?
Best Regards
Alessandro
__
Ota itsellesi luotettava kotima
PHPTriad 2.2 will work on XP. No, Sokkit is not out yet. Sokkit will
most definitely work on XP as that's what I'm developing it on.
Stephen wrote:
> Is this even out yet? I have PHPTriad 2.2 I'm pretty sure.
>
> - Original Message -
> From: "Tyler Longren" <[EMAIL PROTECTED]>
> To: "St
Did you even try to find the answer by yourself? You could have found
the answer to this on the PHPTriad(now called Sokkit) homepage:
http://www.phpgeek.com/sokkit/
The answer is listed under "Sokkit Requirements".
tyler
On Tue, 1 Oct 2002 17:19:13 -0500
"Stephen" <[EMAIL PROTECTED]> wrote:
>
Why not fix the problem instead of working around it.
I think you already solved this, but the error message tells you exactly
what's wrong. Headers are sent when you output anything to the browser,
and your output started on redirect.php:3, that means line 3.
---John Holmes...
> -Origina
*cringe*
No, document root is a defined directory, not an attribute of a specific
file. It is used to map the root URL to a directory on the filesystem.
For example, when you request http://www.google.com/, that final slash
in the URL is the resource you are requesting. In this case, it is the
1 - 100 of 218 matches
Mail list logo