http://phpwhois.org/
Ashley M. Kirchner wrote:
I'm looking for a script, or class, that I can feed a domain name to
and get back whois information, preferably already parsed into things
like, the registrar, the registrant, ns servers, created/expire dates...
Regardless of who the registrar
> Every body , I want to make a provision for the suer , by which , they
can
> select number of files from a list box and upload them to the server
in
> PHP.
They have to select each file individually. Each file must be uploaded
through it's own input element.
The details of how to do these t
I'm looking for a script, or class, that I can feed a domain name to
and get back whois information, preferably already parsed into things
like, the registrar, the registrant, ns servers, created/expire dates...
Regardless of who the registrar is. Anyone?
--
M | I haven't lost my mind; it'
Hello
Every body , I want to make a provision for the suer , by which , they can
select number of files from a list box and upload them to the server in
PHP.
Any suggestion is highly appreciated.
Regards
Trilochan
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: htt
Hello
Every body , I have written some programs in c , I want to run those
programs in my PHP script. Is there any way to do that .
Any suggestion is highly appreciated.
Regards
Trilochan
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
I apologise for calling you a PHP Professional, clearly I was mistaken.
;)
-Original Message-
From: John W. Holmes [mailto:[EMAIL PROTECTED]]
Sent: Sunday, 19 January 2003 4:36 PM
To: 'Sean Malloy'; [EMAIL PROTECTED]
Subject: RE: [PHP] SQL+php
It's _for_ PHP Professionals. If I read a
I did do that, and have yet to turn up a useful result. That is why I asked.
"David T-G" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
> I see a lot of these type of answers on the list at the moment.
>
> I'm sick of receiving smart ass answers from people. It wastes my
time,
> and
> my bandwidth.
>
> Either answer the fucking question, even if it hasn't been asked
> correctly,
> or don't reply at all.
>
> Given you are a 'PHP
> .it's an log for a VoIp network, evrey voip has an ip and i whant
> that instad of the VoIp's IP to put his name, instad of "1.1.1.1:xxx"
must
> be "jhon doe form yyy city", it's easier to read for the people who
that
> follow the logs. .. that's it ...
So where do you get the name from. You
I mean how can I edit icon???
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
on 19/01/03 2:45 PM, -<[ Rene Brehmer ]>- ([EMAIL PROTECTED]) wrote:
> I haven't found the server array in the manual (yet anyway), so I'm not
> sure what exactly it is you're doing ... so a bit of 'splaining would be
> nice ... I'm only on my 4th month of PHP'ing afterall ...
http://www.php.net/
Hi Justin French,
On Sun, 19 Jan 2003 12:01:45 +1100, you wrote about "Re: [PHP] 2 Qs:
Passing current URL with session and how to avoid session timeout???"
something that looked like this:
>1. If you require the back button to work forever, then do not use sessions,
>because they're not designed
Hi Cal Evans,
On Sat, 18 Jan 2003 10:17:01 -0600, you wrote about "RE: [PHP] 2 Qs:
Passing current URL with session and how to avoid session timeout???"
something that looked like this:
>I guess I'm dense this morning. In response to 1:
>
>$_SESSION['mother']=$_SERVER['PHP_SELF'];
Didn't know th
php-general Digest 19 Jan 2003 03:23:15 - Issue 1831
Topics (messages 132094 through 132157):
Re: Select multiple boxes
132094 by: Cal Evans
132097 by: Gregory Chagnon
132098 by: John W. Holmes
132099 by: Cal Evans
Re: Ever complained about lousy PHP programm
Hi,
Sunday, January 19, 2003, 5:50:51 AM, you wrote:
j> hi, i'm hoping someone can help me out here - im trying to pass a variable from a
string in the href tag, however my sql breaks when i put a var in the statment.
j> when i replace $foo with a number, the page works fine. can someone please t
This would do it:
Timothy Hitchens (HiTCHO)
Open Source Consulting
e-mail: [EMAIL PROTECTED]
> -Original Message-
> From: Leif K-Brooks [mailto:[EMAIL PROTECTED]]
> Sent: Sunday, 19 January 2003 12:36 PM
> To: [EMAIL PROTECTED]
> Subject: [PHP] Changing order of just one array item?
>
I need to change where one item is ordered in an array. I know how to
sory an array, but I need to move one item up/down in the array. Example:
$array is:
0 => "element one"
1 => "element two"
2 => "element three"
3 => "element four"
I call array_order_up($array[1]) and $array is now:
0 => "elem
:)))
.it's an log for a VoIp network, evrey voip has an ip and i whant
that instad of the VoIp's IP to put his name, instad of "1.1.1.1:xxx" must
be "jhon doe form yyy city", it's easier to read for the people who that
follow the logs. .. that's it ...
On Sun, 19 Jan 2003, Justin French wrote
where the F*** are you getting july from??? which number do you want to
convert to a month, or am i totally missing it?
you need to be DESCRIPTIVE in what you want to acheive.
we're not a mind readers!
Justin
on 19/01/03 11:59 AM, Paul Marinas ([EMAIL PROTECTED]) wrote:
> i am trying to sel
something like that only i don't whant to alter the database, the fields
in the database must remains unchanged, only, on page i whant to display
diferent data.
On Sun, 19 Jan 2003, Sean Malloy wrote:
> If you want to do it within the query itself, take a look at the mysql
> replace command
>
>
If you want to do it within the query itself, take a look at the mysql
replace command
REPLACE(str,from_str,to_str)
SELECT REPLACE(,,) FROM table
or you can do it using PHP once the query has executed, on a record by
record basis, within a while/for loop or whatever.
-Original Message-
JJ --
...and then JJ Harrison said...
%
...
% Does anyone know of a free php webhost? (Banners, poop-ups etc are
% exceptable).
You should ask google first:
Advanced SearchPreferencesLanguage ToolsSearch Tips
free web hosting php___ Google Search
...
Searched the web
on 19/01/03 9:59 AM, John W. Holmes ([EMAIL PROTECTED]) wrote:
>> Is there a way for a php page to automatically increment a number and
>> store
>> it every time the page is loaded.
>>
>> I want to generate an invoice number that goes up 1 everytime the HTML
>> form
>> is sent to it.
>
> I assum
i am trying to select some fields form a database but in there the data is
something like "172.10.192.22:100", not very frendly, and instad of those
numbers i whant to display on my web page something like "july"...that's
it ..:)
On Sat, 18 Jan 2003, John W. Holmes wrote:
> How about you describ
1. If you require the back button to work forever, then do not use sessions,
because they're not designed to be a forever thing.
2. I do this sort of stuff by building my own URL from $_SERVER components:
The reason why I base64_encode() it is so that the vars=values of the
previous page don't
How about you describe exactly what you're trying to do and why and then
someone can help you.
---John W. Holmes...
PHP Architect - A monthly magazine for PHP Professionals. Get your copy
today. http://www.phparch.com/
> -Original Message-
> From: Paul Marinas [mailto:[EMAIL PROTECTED]]
I see a lot of these type of answers on the list at the moment.
I'm sick of receiving smart ass answers from people. It wastes my time, and
my bandwidth.
Either answer the fucking question, even if it hasn't been asked correctly,
or don't reply at all.
Given you are a 'PHP Professional' John, I
> Dose anyone know how to search and replace a string in a
> mysql_query output.
Yes.
---John W. Holmes...
PHP Architect - A monthly magazine for PHP Professionals. Get your copy
today. http://www.phparch.com/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: ht
If your customer views these items as different products then store them as
separate records in the same table.
My $0.02
Hugh
- Original Message -
From: <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Saturday, January 18, 2003 11:55 AM
Subject: [PHP] Multiple sizes for products
Hi all,
Dose anyone know how to search and replace a string in a
mysql_query output.
Thanks, Paul
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
All I'm doing is making a hyperlink that sends the selected item from the
catalog to the add to shopping cart script. The code now looks like this...
$value = rawurlencode("add_to_cart.php?item_num=" . $item_num .
"&quantity=1&sale_price=" . $our_price .
"&unit=" . $unit .
"&short_d
You need to urlencode() selectively; in this case, only the
short_desc needs to be encoded, so you would have a statement
something like
echo
"add_to_cart.php?item_num=$item_num&quantity=$quantity".
"&sale_price=$sale_price&unit=$unit&short_desc=".
url_encode($short_desc)."&wholesaler=$whole
It seems that error is from an ill-formed MySql statement. Try this,
$descripQuery = "SELECT descrip from project_descrip where rowid=$foo";
echo $descripQuery ; // put in this echo after the query.
$descripResult = mysql_query($descripQuery);
echo mysql_error(); file://put this echo after query ex
Oops...
-Forwarded Message-
From: Brad Pauly <[EMAIL PROTECTED]>
To: Joab Stieglitz <[EMAIL PROTECTED]>
Subject: Re: [PHP] Number Sign in String Variables
Date: 18 Jan 2003 16:40:40 -0700
> OK. I urlencoded the URL and now the URL passes correctly...
>
> add_to_cart.php%3Fitem_num%3DST
1. You can "create" the current page with a combination of PHP_SELF,
QUERY_STRING, etc... Take a look at a phpinfo() page to see all of the
variables.
2. You can use ini_set() in your code to change the settings for your
sessions or an .htaccess file if your on *nix.
---John W. Holmes...
PHP A
One quick note, if you DO NOT have access to a database, you could store
that incremented number to a file. And open and retrieve, and increment
every time you need. If you need to take this approach checkout php.net and
search for "fopen".
"Don Mc Nair" <[EMAIL PROTECTED]> wrote in message
[EMA
> OK. I urlencoded the URL and now the URL passes correctly...
>
>
add_to_cart.php%3Fitem_num%3DSTT32700%26quantity%3D1%26sale_price%3D52.7
8%
> 26
>
unit%3DBX%26short_desc%3DENVELOPE%2C100%25COT%2024%23%2CGY%26wholesaler%
3D
> US
> %26cost%3D37.700
>
> ... but I get the following error:
>
> Fo
I have done something similar:
write a script that takes an Article ID, and displays the text. So to
displat article #3, you would call it like getArticle.php?id=3.
Skelton for getArticle.php
- take id and store in $id
- Select FullBody from Articles where ID = $id
- $body = query['FullBody']
- the
OK. I urlencoded the URL and now the URL passes correctly...
add_to_cart.php%3Fitem_num%3DSTT32700%26quantity%3D1%26sale_price%3D52.78%26
unit%3DBX%26short_desc%3DENVELOPE%2C100%25COT%2024%23%2CGY%26wholesaler%3DUS
%26cost%3D37.700
... but I get the following error:
Forbidden
You don't have per
Hello all!
I have a number of scripts that upload 5 files at a time each.
The first one creates the dir using umask(000)and mkdir($dir,0777)
which gives the first five files perms 777, which is what I want.
I have the subsequent scripts check if the dir exists and if not does the same
thing with
> hi, i'm hoping someone can help me out here - im trying to pass a
variable
> from a string in the href tag, however my sql breaks when i put a var
in
> the statment.
> when i replace $foo with a number, the page works fine. can someone
please
> tell me what im doing wrong?
>
> here is the error
> I'm making this web site, where the owner or administrator will be
able to
> upload new products and these products come in different sizes. Now, I
> made
> a table in MySQL o store the products but only with a VARCHAR field
where
> the administrator will store the sizes like "12, 14, 16 and 18".
> Is there a way for a php page to automatically increment a number and
> store
> it every time the page is loaded.
>
> I want to generate an invoice number that goes up 1 everytime the HTML
> form
> is sent to it.
I assume you're talking about incrementing for everyone that accesses
your site. F
Using PHP 4.1.2 I need to PGP sign a piece of text and detached the signature. I have
read a lot in the archives and and about the better exec() calls in 4.3.
However I cannot find a reference that indicates the best way to pass a set of
arguments out of a PHP script to PGP.
I need to use pgp2
--- Cal Evans <[EMAIL PROTECTED]> wrote:
> I usually just pass this kind of info around on the URL.
>
>
http://mypage.com/mypage.php?prevURL=http://mypage.com/lastpage.php
>
> if I have to pass a full query string then I urlencode()
> it first and urldecode() it on the other side.
Just as a bit
--- [EMAIL PROTECTED] wrote:
> how can I call a register session from within a
> class and make sure that the session is allready
> active and if not just print a warning.
This is closely related; you can check to see whether
headers have already been sent:
http://www.php.net/manual/en/function.h
--- Peter Janett <[EMAIL PROTECTED]> wrote:
> Sessions themselves use cookies, though, right?
> So, if you want your app to work for those who
> don't have cookies, you have to pass the session
> data in the url string, at least that's my
> understanding.
That's not quite right.
Session managemen
>return strtr($string, "SOZsozY...
Just curious why the search starts with unaccented "SOZsozY"?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On Sunday 19 January 2003 03:50, jennifer wrote:
> hi, i'm hoping someone can help me out here - im trying to pass a variable
> from a string in the href tag, however my sql breaks when i put a var in
> the statment. when i replace $foo with a number, the page works fine. can
> someone please tell
Hi
Is there a way for a php page to automatically increment a number and store
it every time the page is loaded.
I want to generate an invoice number that goes up 1 everytime the HTML form
is sent to it.
Thanks
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http:/
Hi all,
I'm making this web site, where the owner or administrator will be able to
upload new products and these products come in different sizes. Now, I made
a table in MySQL o store the products but only with a VARCHAR field where
the administrator will store the sizes like "12, 14, 16 and 18".
hi, i'm hoping someone can help me out here - im trying to pass a variable from a
string in the href tag, however my sql breaks when i put a var in the statment.
when i replace $foo with a number, the page works fine. can someone please tell me
what im doing wrong?
here is the error i get:
Warn
Svein O. Bennæs wrote:
I'm trying to write a script that extracts some search-queries from a
logfile, but I'm having problems finding the right function to solve this
problem.
Below you'll find 4 lines from the log - the words I'm trying to extract are
(for now) written in capital letters, and th
another one for you
function removeaccents($string) {
return strtr($string,
"SOZsozY¥µÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏÐÑÒÓÔÕÖØÙÚÛÜÝßàáâãäåæçèéêëìíîïðñòóôõöøùúûüýÿ",
"SOZsozYYuAAACDNOOYsaaaconooyy");
}
Best Wishes & Happy New Year
Paul Roberts
[EMAIL PROTECTED
I'm trying to write a script that extracts some search-queries from a
logfile, but I'm having problems finding the right function to solve this
problem.
Below you'll find 4 lines from the log - the words I'm trying to extract are
(for now) written in capital letters, and they are always found betw
Ernest E. Vogelsinger suggested:
>$chars_in = array('Á',''á','É','é'); // you get it
>$chars_out = array('A','a','E','e'); // this too
>preg_replace($chars_in, $chars_out, $string_to_parse);
I initially got a 'no ending delimiter' error but after adding /'s to the
$chars_in it was just what the
At 19:11 18.01.2003, Ian M. Evans said:
[snip]
>Thanks for the response. I guess I wasn't too clear in my original post. I'm
>not looking to turn an accented letter into its numeric equivalent, I'm
>looking to strip the accent so that Renée Zellweger becomes
At 17:25 18.01.2003, -<[ Rene Brehmer ]>- said:
[snip]
>Not sure about quick, but the only way I've found that works with 100%
>guarantee everytime is to take the string and check it character by
>character, and if the ascii value is > 128, simply replace it
Rene:
Thanks for the response. I guess I wasn't too clear in my original post. I'm
not looking to turn an accented letter into its numeric equivalent, I'm
looking to strip the accent so that Renée Zellweger becomes Renee Zellweger.
Any thoughts there?
--
PHP General Mailing List (http://www.ph
> For example, this URL:
>
> add_to_cart.php?item_num=SOU3432410&quantity=1&sale_price=24.92&unit=BX
> &short_desc=ENVELOPE,25%COT 24#,IY&wholesaler=US&cost=18.690
>
> gets cut off at the # sign, so $wholesaler and $cost come out empty.
>
> Any suggestions to get around this?
You could use urle
Hi
I have created a simple script that pulls the three latest news entries from
a mySQL database and displays it on a webpage. At the end of the preview
paragraph of the news story there is a hyperlink to access the full text
specific to that preview. How would I do this? Any ideas would be
ap
reply to both mail list and O.P.
- Original Message -
From: "Stephen of Blank Canvas" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Saturday, January 18, 2003 08:42
Subject: [PHP] Does remote file(image) exist ?
> Hi Everyone,
>
> Sorry I have no example code at all for this at al
OK. I found the problem, and it isn't PHP or MySQL related. It's an HTML
problem. I'm passing the string from one script to another, and the # sign
is screwing up the URL.
For example, this URL:
add_to_cart.php?item_num=SOU3432410&quantity=1&sale_price=24.92&unit=BX
&short_desc=ENVELOPE,25%COT
-<[ Rene Brehmer ]>- wrote:
something like this (untested):
for ($i = 0; $i < strlen($string_to_parse); $i++) {
$char = substr($string_to_parse, $i, 1);
if (ord($char) > 128) {
$output_string .= "".ord($char).";";
}
else {
$output_string .= $char;
}
}
You may need to test for value
If you looked at the usercomments for file_exists you would see it saying to
look at the fopen page for a example
In the usercomments for fopen there is a post saying this:
jamie.watt at murchison.com.au
03-Feb-2000 01:39
To check if a file exists using http or ftp use the following:
$fp = @
Hi Everyone,
Sorry I have no example code at all for this at all, I know some people
don't like that but I just do not know where to start so am asking for
help.
I have a system there users can put a picture of themselves by method of
URL in a MySQL field, however many of this image URL's do no
exactly how do you "load" an icon? What are you loading it into?
=C=
*
* Cal Evans
* Stay plugged into your audience.
* http://www.christianperformer.com
*
-Original Message-
From: hei [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, July 31, 2001 3:18 PM
To: [EMAIL PROTECTED]
Subject: [PHP]
Hi Ian M. Evans,
On Fri, 17 Jan 2003 14:04:15 -0500, you wrote about "[PHP] Converting
accented characters or numeric equivalents to non-accented" something that
looked like this:
>Does anyone have a quick PHP function for converting accented characters to
>their non-accented forms? It would real
Can I use php to load a icon?(.ico .exe .)
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
> Sessions themselves use cookies, though, right? So, if you want your app to
> work for those who don't have cookies, you have to pass the session data in
> the url string, at least that's my understanding.
Cookies are used by default. However, if cookies are disabled in a
client, a session iden
I guess I'm dense this morning. In response to 1:
$_SESSION['mother']=$_SERVER['PHP_SELF'];
and then
Go Back
or better yet...
Go Back
as to #2:
I usually just pass this kind of info around on the URL.
http://mypage.com/mypage.php?prevURL=http://mypage.com/lastpage.php
if I have to pass a ful
Hi gang
Been trying to figure out this session stuff, but since I was unable to
make the manual sample into something workable, I instead decided to
actually try and make the session do what I need it for: Passing the URL
of the caller page to the page that's being called.
1. Only I can't figure
What you are describing is a "2 List Mover". PHP is a server-side language
and as such knows nothing about what is going on on the client. Therefore
you have limited options. My favorite is :
In your form's onSubmit() put code to load all the values into a hidden
field. (Assuming you have defined
> The problem is I have 2 seelect boxes...it's for creating a user and
> adding
> them to a list of available groups...so I have one select box that is
> initially empty called memberOf and another box that has all of the
> available groups listed in it called availableGroups. I have a script
> th
The problem is I have 2 seelect boxes...it's for creating a user and adding
them to a list of available groups...so I have one select box that is
initially empty called memberOf and another box that has all of the
available groups listed in it called availableGroups. I have a script that
can move
Peter Janett wrote:
Sessions themselves use cookies, though, right? So, if you want your app to
work for those who don't have cookies, you have to pass the session data in
the url string, at least that's my understanding.
With sessions, its only the session ID that is put in the cookie or url
Olinux wrote:
I prefer single quotes on stuff that doesn't need to
be parsed. In most cases this is more efficient,
though probably not noticed except on a large scale.
I also think it makes it easier to include html
strings (because double quotes don't need to be
escaped) and I find it easier to
whoops. Sorry, didn't read the question. Wrong answer. John gave the correct
answer.
=C=
*
* Cal Evans
* Stay plugged into your audience.
* http://www.christianperformer.com
*
-Original Message-
From: Cal Evans [mailto:[EMAIL PROTECTED]]
Sent: Saturday, January 18, 2003 8:41 AM
To: Greg
php-general Digest 18 Jan 2003 14:53:08 - Issue 1830
Topics (messages 132074 through 132093):
Re: Gridwidget - javascript
132074 by: David Rice
132077 by: Jason Wong
Select multiple boxes
132075 by: Gregory Chagnon
132092 by: Cal Evans
132093 by: John
> Is there any way to get all of the elements in a SELECT MULTIPLE box,
not
> just the ones that are selected? Thanks!
No. You create the box, so you should know all of the possible values.
---John W. Holmes...
PHP Architect - A monthly magazine for PHP Professionals. Get your copy
today. http
use [] in your select box name. When it comes back in the $_POST array you
will have an array of options. It breaks HTML standard therefore it is a
Bad Thing (tm) but it does work.
Don't pick me
Pick me
Selecting both results in:
$_POST['mySelect'][1] == "Don't pick me"
$_POST['mySelect'][2]
Since no one else has asked, I'll bite. Why not just use str_rot13()?
The biggest problem I have with your code is that you didn't learn enough
about the language to know that this was already in the code. As a newb, you
need to set down with your favorite version of the manual (I keep the
windo
Yes, just user $_SERVER['PHP_SELF'] as the action of your form. This will
cause the page to call itself. Then you can branch your processing on the
existence of a SUBMIT button (or whatever) and handle the query.
I do all my pages this way because it keeps all the code in a single page.
It's easie
On Saturday 18 January 2003 20:11, Ezequiel Sapoznik wrote:
> It is possible to run a query in php when the user press a button an return
> the result in the same page?
Yes.
--
Jason Wong -> Gremlins Associates -> www.gremlins.biz
Open Source Software Systems Integrators
* Web Design & Hosting *
It is possible to run a query in php when the user press a button an return
the result in the same page?
Thanks!
Ezequiel
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
my php version is 4.3.0 :)
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hello
I checked the PHP manual and couldn't find anything on this...
When I call session_register() an implicit call to session_start() is
executed. So if the session handling uses cookies to track the session and
the call to session_register() is not before any output this will cause a
header
I want to do this for multiple files. I tried to do this with a foreach
-loop but I think I made some mistakes with the array "userfile". In
this example userfile is just the "name" in the input tag. When
uploading multiple files userfile is -ofcourse- an array like this:
name='userfile[]'. Now
"Steve Yates" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> After much testing, I think I may have it. It appears that MySQL is
> dropping a trailing space from the value being inserted into the database!
> For example if the encrypted string is "(.A®¢m
Until now I haven't had the need for a free PHP host because what I have
done has been commercial.
However, In this case I am doing the website for my PC Gaming clan. We are
one step below needing php to do alot of stuff.
Does anyone know of a free php webhost? (Banners, poop-ups etc are
exceptab
Hello,
On 01/17/2003 11:40 PM, Stephen wrote:
I was just wondering if there were any PHP review sites that review free
and paid scripts? If so, where?
If your script is in the form of a PHP class of objects, you may want to
try uploading it to the PHP Classes site. You will not get explict
re
I prefer single quotes on stuff that doesn't need to
be parsed. In most cases this is more efficient,
though probably not noticed except on a large scale.
I also think it makes it easier to include html
strings (because double quotes don't need to be
escaped) and I find it easier to work my code i
Hi,
I've just spent the night upgrading my RedHat 6.2 server to:
Apache1.3.27
PHP4.3.0
MySQL3.23.54a
Mod_SSL2.8.12
OpenSSL0.9.7
ZendOptimizer2.1.0
Now I'm getting (inconsistently):
PHP Fatal error: Unsupported operand types in
/web/domain/html/includes/item.inc
> How do I access $DOCUMENT_ROOT when register_gobals is set off? I think
> there's an array, something like $HTTP_ENV_VARS['DOCUMENT_ROOT'] but I can't
> find it in the documentation.
http://www.php.net/variables.predefined
Regards,
Philip
--
PHP General Mailing List (http://www.php.net/)
To
Everyone from this thread needs to reread this:
http://www.php.net/variables.external
Regards,
Philip
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
95 matches
Mail list logo