If your request is going through a proxy, $_SERVER["REMOTE_ADDR"] will
contain the ip address for the proxy. The proxy might add a
HTTP_X_FORWARDED_FOR header to the request which will contain the ip address
of the client to the proxy, which should be where the request originated. It
is possible fo
Dear all,
i just move my previous php script to a new server and found that it is not working on
the new machine. funny thing is that previously, say i am putting form items like
in the form page, and then i can striaghtaway read the item1 value by using $item1
variable. but now, reading $
On Tuesday 30 March 2004 09:40, Ketvin wrote:
> Dear all,
>
>
> i just move my previous php script to a new server and found that it is not
> working on the new machine. funny thing is that previously, say i am
> putting form items like
>
>
Manual: Register globals. $_POST, $_GET
--
PHP Genera
Ketvin wrote:
Dear all,
[ snip ]
Forgot a subject? :|
Your message was flagged as spam and sent to the trash bin because it
didn't contain a subject.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
add the $_POST, $_GET after the register_globals in php.ini ?
how do i restart php service to get it running? thanks !
>Manual: Register globals. $_POST, $_GET
On Tuesday 30 March 2004 09:40, Ketvin wrote:
> Dear all,
>
>
> i just move my previous php script to a new server and found that it
If you DO NOT register globals (in php.ini) you MUST use
$_POST[""] or $_GET[""] to access those variables...
If you DO resgister globals you can also use $ or $.
By default, register globals is set to "Off" for security reasons; so
you'll need to set it "On". The line must say:
register_gl
Hi !
I do not know why I received this newsgroup infos, even if I like PHP :-)
I will follow procedure unsbcribe
Thanks for your reply
Bye !
Ben Ramsey <[EMAIL PROTECTED]> wrote:
W> I do not want to receive all these email
W>
W> > Please STOP
W>
W> Do not use the globa
Hi all,
I have problem storing the submitted data in the database in the right
encoding.
I need to use UTF-8
I need to save the Arabic text in UTF-8 encoding.
I have a problem with UTF-8 and windows-1256 conversion.
I wish I can understand those things, coz encoding thing will take my hair
off..
Might be a Register Globals issue:
http://us4.php.net/register_globals
-Original Message-
From: Ketvin [mailto:[EMAIL PROTECTED]
Sent: Tuesday, March 30, 2004 12:40 AM
To: [EMAIL PROTECTED]
Subject:
Dear all,
i just move my previous php script to a new server and found that it is no
Dear list,
I'm using squirrelmail php as my webmail interface, my php.ini have the option of
upload_max_filesize = 10M
but i'm having problem for adding attachment more than 400k, where the page will hang.
is there any recommended things for me to check?
Thanks !
Hi All,
I am trying to check if a website is up (reachable) and I have used the
standard code below:
Unfortunately this works for most sites but Microsoft doesn't work most of
the time even thought the site is definiately up! (Occassionally it does say
it is reachable but only occassionaly and th
Nabil wrote:
Hi all,
I have problem storing the submitted data in the database in the right
encoding.
I need to use UTF-8
I need to save the Arabic text in UTF-8 encoding.
I have a problem with UTF-8 and windows-1256 conversion.
I wish I can understand those things, coz encoding thing will take
Henry Grech-Cini wrote:
Hi All,
I am trying to check if a website is up (reachable) and I have used the
standard code below:
Unfortunately this works for most sites but Microsoft doesn't work most of
the time even thought the site is definiately up! (Occassionally it does say
it is reachable but
I am trying to check if a website is up (reachable) and I have used the
standard code below:
[...]
$socket = @fsockopen( $host, $port, $errno, $errstr, 30 );
if (!$socket)
fwrite ($socket, "HEAD ".$documentpath." HTTP/1.0\r\nHost:
$host\r\n\r\n");
$http_response
Is there a function within PHP that picks up the screen/display size?
I know of the one in JavaScript, however I want to pick it up in PHP
Thanks
Nunners
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Edward, I couldn't see either of your SQL statements. However, PHP's
internal functions currently supports UTF-8, not UTF-16, so not all
characters are supported. Can you post some code?
[EMAIL PROTECTED] wrote:
> Dear You,
>
> How to control php convert inserted data or query to / from MS-SQL
I had this same problem, as I wanted to resolve whether or not the device was
a PDA. I couldn't see an easy way, but what I did was to have a dummy
JavaScript page that grabs the screen dimensions, and then forwards on to a
PHP page, with the screen size as the parameter. Something like:
h
Hello,
Does anyone know how to actually print PHP code in Color to actual
paper from Dreamweaver MX? We like to paste the code up to the wall
here to get a bigger look at it. I know you can do it in BBedit, but
MX is what we like.
Just curios. Thanks!
James Nunnerley wrote:
Is there a function within PHP that picks up the screen/display size?
I know of the one in JavaScript, however I want to pick it up in PHP
Thanks
Nunners
I assume you mean the size of a web browser's screen? I don't know of
anything PHP that does that offhand. Altho
I think it because of the register_globals automatically set to off on PHP
4.2 up.
try using $_GET["item1"] or $_POST["item1"] instead.
hth
- Original Message -
From: "Ketvin" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, March 30, 2004 4:40 PM
Dear all,
i just move my p
Ryan Munevar wrote:
Hello,
Does anyone know how to actually print PHP code in Color to actual
paper from Dreamweaver MX? We like to paste the code up to the wall
here to get a bigger look at it. I know you can do it in BBedit, but MX
is what we like.
Just curios. Thanks!
Red Wingate wrote:
Hi David,
same thing i reported to the PHP-DEV List some time ago ( before RC1
was released ). The problem is the Win32/Apache2 Combination you
are using.
I am using the same setup as well, if any of you find a solution to this
I would appreciate hearing about it. I've notice
Maybe give it a try, haven't much time to do so at the moment, took me
about 4 hours to find the problem that caused the crashing of my code
and build those reproduction code :-)
http://download.erisx.de/crash.txt
Maybe try adding other test-cases and see wether it crashes or not
if it does then
On Mon, 2004-03-29 at 23:10, Justin Palmer wrote:
> Hey listen Rob,
>
> I was not trying to give you a hard time (or split hairs). In fact I am
> grateful for your answer and your want to explain even more in depth
> than some of the one line answers on the list. The reason that I was
> splittin
I just sent this to one person and realized that others might find this
useful. This code will ONLY work for PHP 5, comments are in the code.
/**
* This is a class that can be used to describe classes, objects, methods,
* functions, parameters, properties, and even extensions.
* Example usa
Darnit... I forgot I changed the error handler in my own scripts. Use
this instead, sorry for posting bad code the first time around:
/**
* This is a class that can be used to describe classes, objects, methods,
* functions, parameters, properties, and even extensions.
* Example usage:
*
Ketvin wrote:
Dear list,
I'm using squirrelmail php as my webmail interface, my php.ini have the option of
upload_max_filesize = 10M
but i'm having problem for adding attachment more than 400k, where the page will hang. is there any recommended things for me to check?
post_max_size, max_inp
Hi Manuel,
Well, I'am aware of that but the application is already made and it is
big and development continue, so change it will be a huge task and we
have no resources available for it.
Tux used to perform very well here, but unfortunatelly there is no other
user space competitor that offers th
Dear my friends...
I want to make an alert which can display a value from the database.
I am meaning :
how can I pass a value of a variable from PHP into JavaScript alert (
alert("$Firstname, $LastName and $Address");
Is it possible?
--
__
Prabu Subroto wrote:
Dear my friends...
I want to make an alert which can display a value from the database.
I am meaning :
how can I pass a value of a variable from PHP into JavaScript alert ( alert("$Firstname,
$LastName and $Address");
Is it possible?
Sure. Probably the easiest way I can thin
On Tue, Mar 30, 2004 at 11:23:03AM +0300, nabil wrote:
> Hi all,
>
> I have problem storing the submitted data in the database in the right
> encoding.
> I need to use UTF-8
>
> I need to save the Arabic text in UTF-8 encoding.
>
> I have a problem with UTF-8 and windows-1256 conversion.
> I wis
Akh... thank you my friend It's solved.
May I ask another question?
Can I call a function of PHP code from HTML tag just the same as I call a function of
JavaScript from HTML tag?
I meant, Like this "CustID";
- Original Message -
From: Jason Barnett <[EMAIL PROTECTED]>
Date: Tue, 30
Hello Prabu,
Tuesday, March 30, 2004, 3:18:09 PM, you wrote:
PS> Can I call a function of PHP code from HTML tag just the same
PS> as I call a function of JavaScript from HTML tag?
PS> I meant, Like this "CustID";
No, but it'd be lovely if you could :)
(Actually the .NET framework allows this v
How to send sms with PHP and Mysql and mobil phone Nokia 5110?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
kannel.org
Been out of touch with the list for a while. SO please accept my
appologies if someone has already pointed thi
Marek Kilimajer wrote:
Ketvin wrote:
Dear list,
I'm using squirrelmail php as my webmail interface, my php.ini have
the option of
upload_max_filesize = 10M
but i'm having problem for adding attachment more than 400k, where
the page will hang. is there any recommended things for me to check?
hello,
I am parsing an xhtml template throught the php xml expat parser.
But the problem is that it removes all entities from the xhtml template
such as or & (in href anchors attributes)
The entities can't be handle with xml_set_default_handler because some
entities are inside an attribute (ti
Prabu Subroto wrote:
Akh... thank you my friend It's solved.
May I ask another question?
Can I call a function of PHP code from HTML tag just the same as I call a function of
JavaScript from HTML tag?
I meant, Like this "CustID";
Well, what do you mean exactly? If your file is a php file y
Hey every, I'm new to the group and to PHP (3 days now) and I would like to
ask a question. I purchased a book on PHP a day or so ago and as I'm going
through the book it comes to a point where it talks about passing html form
values to PHP. So I type up the examples from the book, both the html fi
[snip]
Anyone have any ideas as to what's up. I hope its just something silly
that
I'm missing being a newby to PHP and all.
[/snip]
There is a feature in the php.ini called register_globals. If you look
in your php.ini you will see that it is off by default and some of the
books may have missed t
* Thus wrote Henry Grech-Cini ([EMAIL PROTECTED]):
> Hi All,
>
> I am trying to check if a website is up (reachable) and I have used the
> standard code below:
>
>else
>{
>fwrite ($socket, "HEAD ".$documentpath." HTTP/1.0\r\nHost:
> $host\r\n\r\n");
>$http_
Ciemny, Jessica wrote:
Hey every, I'm new to the group and to PHP (3 days now) and I would like to
ask a question. I purchased a book on PHP a day or so ago and as I'm going
through the book it comes to a point where it talks about passing html form
values to PHP. So I type up the examples from the
Try this:
extract($_POST);
extract -- Import variables into the current symbol table from an array
All of my forms have worked without $_POST or $_GET. Is there a reason for
inavailability of variables???
Its a good practice to use $_POST for security reasons.
Vishal.
-Original Message--
First of all, if you have the option to upgrade you might want to check
out PHP5. SimpleXML really makes it easy to parse xml files. If PHP4
is your platform of choice, check out PEAR's XML_Parser package.
The entities can't be handle with xml_set_default_handler because some
entities are ins
Hi all
Ive been try for sometime now, and too tried googling for an answer, to grab the
STDOUT of a command.
In this case the binary command is readbar
The general output of readbar executed on its own is as so:
Code 39->10005802
IATA 2 of 5->2
IATA 2 of 5->8
1 barcodes found
I b
I am using php in combination with ant to create a small automated build
process. Will php run sequentially? What I mean is I have a series of
modules or tasks:
Example:
//check out files
include("modules/checkout.php")
//zip up the files
include ("modules/zip.php")
etc
Will php wait to execu
DC> Thanks for the help but adding curly dose not seem to work.
DC> Any ideas why ?
DC>
DC>>> I get and output of [0][0][0][1][1][1][2][2][2] why ?
DC>
BR>> Try putting curly braces around your variables. Like this:
BR>>
BR>> {$val[name][$i]}
Please reply to the list so that others can help you ou
Brent Clark wrote:
Hi all
Ive been try for sometime now, and too tried googling for an answer, to grab the
STDOUT of a command.
In this case the binary command is readbar
The general output of readbar executed on its own is as so:
Code 39->10005802
IATA 2 of 5->2
IATA 2 of 5->8
1
I'd recommend that you build a set of functions (or a class) to do your bits
and pieces, rather than include blocks of code. That way you can ZIP
depending on the outcome of your CHECKOUT code.
function checkoutStuff()
{
//if checkout code executes ok
return true;
}
if(checkoutStuff())
{
I am using php in combination with ant to create a small automated build
process. Will php run sequentially? What I mean is I have a series of
modules or tasks:
Example:
//check out files
include("modules/checkout.php")
//zip up the files
include ("modules/zip.php")
etc
Will php wait to execute
-{ Rene Brehmer }- wrote:
At 00:59 30-03-2004, Justin Patrin wrote:
Richard Davey wrote:
Hello Justin,
Tuesday, March 30, 2004, 12:42:12 AM, you wrote:
JP> P.S. Why do a lot of people email off list? I get doubles.
They are too lazy to remove your email when doing a reply-to-all
basically.
Mor
Hello Justin,
Tuesday, March 30, 2004, 6:27:20 PM, you wrote:
JP> I also have no idea what Agent 2 is
It's a Windows based news-reader (the free version is called
FreeAgent) - think tin with knobs on.
Oh and to the OP: Agent 2 is OUT and available, has been for a short
while now
--
Best r
I am getting this error:
Fatal error: Failed opening required
'/home/sites/site111/web/news/settings/newsletter.settings.inc.php'
(include_path='') in
/home/sites/site111/web/news/forms/sign_in_out_form.inc.php on line 7
>From this piece of code:
require
("/home/sites/site111/web/news/settin
Hello Mike,
Tuesday, March 30, 2004, 6:33:46 PM, you wrote:
MR> require
MR> ("/home/sites/site111/web/news/settings/newsletter.settings.inc.php");
MR> Before I totally lose my mind, can someone point out to me why I would be
MR> getting the error? The file is there, and named correctly. I had
> Nothing visibly wrong with your code or path, so time to look "out of
> the box" and instead focus on the newsletter.settings.inc.php file -
> could there be a syntax error (or similar) in there causing this? Swap
> the file for one that does nothing but echo out "included" and see
> what happens
Mike R wrote:
I am getting this error:
Fatal error: Failed opening required
'/home/sites/site111/web/news/settings/newsletter.settings.inc.php'
(include_path='') in
/home/sites/site111/web/news/forms/sign_in_out_form.inc.php on line 7
From this piece of code:
require
("/home/sites/site111/web/
Does any one knows of a good gnu php web statistics software?
Thanks.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
[snip]
Does any one knows of a good gnu php web statistics software?
[/snip]
[smart-ass alert]
Yes and no depending on your definition of good.
[/smart-ass alert]
What kind of features are you looking for?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.ne
> -Original Message-
> > I am getting this error:
> >
> >
> >
> > Fatal error: Failed opening required
> > '/home/sites/site111/web/news/settings/newsletter.settings.inc.php'
> > (include_path='') in
> > /home/sites/site111/web/news/forms/sign_in_out_form.inc.php on line 7
> >
> >
> > Fr
Hi all,
Does anyone know of a good solid PHP alternative to the very good (but
very expensive!) BrowserHawk? (http://www.cyscape.com/)
It's basically a very well featured browser detection script that can
pull out the full monty, from Flash/PDF support to supported SSL key
sizes.
--
Best regard
Yes, Linux. I checked the permission - set the whole directory to 777, no
change in the problem.
Is there anything in the compiling of php or ini settings that would affect
include or require statements?
:)
Thanks,
-Mike
OK, try setting the error_reporting = E_ALL, and just try to execute
/ho
Richard Davey wrote:
Hello Justin,
Tuesday, March 30, 2004, 6:27:20 PM, you wrote:
JP> I also have no idea what Agent 2 is
It's a Windows based news-reader (the free version is called
FreeAgent) - think tin with knobs on.
Oh and to the OP: Agent 2 is OUT and available, has been for a short
Fatal error: Failed opening required
'/home/sites/site111/web/news/settings/newsletter.settings.inc.php'
(include_path='') in
/home/sites/site111/web/news/forms/sign_in_out_form.inc.php on line 7
From this piece of code:
require
("/home/sites/site111/web/news/settings/newsletter.settings.inc.php")
Hello Jason,
Tuesday, March 30, 2004, 7:23:27 PM, you wrote:
JB> I can understand personal preferences, but I can tell you that I'm using
JB> Thunderbird right now on my windows laptop to post to this newsgroup :)
And I'm using The Bat! (email client) :)
Each to their own, aye?
In all fairness,
Jason Barnett wrote:
Richard Davey wrote:
Hello Justin,
Tuesday, March 30, 2004, 6:27:20 PM, you wrote:
JP> I also have no idea what Agent 2 is
It's a Windows based news-reader (the free version is called
FreeAgent) - think tin with knobs on.
Oh and to the OP: Agent 2 is OUT and available,
Hi,
I am using fopen to query my site from the clients site and then display the
output of the query.
The problem is when the query does not succeed it outputs this:
Warning: fclose(): supplied argument is not a valid stream resource in
c:\php\www\test-scripts\index.php on line 42
is there any wa
On Tuesday 30 March 2004 12:33 pm, Mike R wrote:
> I am getting this error:
You came to the right place.
> Fatal error: Failed opening required
> '/home/sites/site111/web/news/settings/newsletter.settings.inc.php'
> (include_path='') in
include_path='' says that your php.ini does not have default
Ryan A wrote:
Hi,
I am using fopen to query my site from the clients site and then display the
output of the query.
The problem is when the query does not succeed it outputs this:
Warning: fclose(): supplied argument is not a valid stream resource in
c:\php\www\test-scripts\index.php on line 42
is
Wow this post has really stirred up the pot.
Regards,
Justin Palmer
-Original Message-
From: Justin Patrin [mailto:[EMAIL PROTECTED]
Sent: Tuesday, March 30, 2004 10:29 AM
To: [EMAIL PROTECTED]
Subject: Re: [PHP] Namespaces in PHP
Jason Barnett wrote:
> Richard Davey wrote:
>
>> He
Hmm..
Several good sollutions out there, but if you are looking for some of the
best you might look into Deepmetrix LiveStats. This has to be the best
system Ive come across.
http://www.deepmetrix.com/
Then again if money is a factor, you might look for other sollutions like
aw-stats, which I wo
> The problem is when the query does not succeed it outputs this:
>
> Warning: fclose(): supplied argument is not a valid stream
> resource in c:\php\www\test-scripts\index.php on line 42
>
> is there any way to "block" just this warning while keeping
> all other error handling as is?
Yes, the
I'm trying to re-create the following multi-dimentional array from a
database query, where the indices 5, 7 and 21 are "order_id" and my table is
food_orders(order_id, food, cooked):
array('steak','rare'),
7=>array('burger','medium'),
21=>array('la
Well,
youre probably looking for the full monty, all I got is this to help you
out. Its only
some detection schemes for the browser. There is another really cool browser
detection available aswell from dynamicdrive.com developed by brothercake.
This javascript is really good and is actively develop
Motorpsychkill wrote:
I'm trying to re-create the following multi-dimentional array from a
database query, where the indices 5, 7 and 21 are "order_id" and my table is
food_orders(order_id, food, cooked):
array('steak','rare'),
7=>array('burger','medium'),
> -Original Message-
> From: Jason Barnett [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, March 30, 2004 11:41 AM
> To: [EMAIL PROTECTED]
> Subject: [PHP] Re: multi-dimentional array from db results
>
>
> Motorpsychkill wrote:
>
> > I'm trying to re-create the following multi-dimentional a
Greetings,
I need help tracking down a crash in PHP. I have not been able to work
out a test case where it will crash reliably, so I have been hesitant to
fill out a bug report.
Here's the kit I have running:
PHP4 - Latest Stable Snapshot as of 30/Mar/2004 12:18
Apache - 1.3.29
mod_ssl - 2.8.
Does anyone know of a good solid PHP alternative to the very good (but
very expensive!) BrowserHawk? (http://www.cyscape.com/)
Dont know if this has all of the features you are looking for, but it
has a bunch of them
http://phpsniff.sourceforge.net/
--
PHP General Mailing List (http://www.php
Hi, what is the syntax for using ocilogon() to connect to a remote server?
The remote server's name is zed.mdah.state.ms.us (ip is 10.8.5.4) and the
database is zed.aleph0. Locally on zed I can do
ociogon("user","pw","zed.alpeh0") and connect fine, but on a remote server
I try ociogon("user",
Adam Williams wrote:
Hi, what is the syntax for using ocilogon() to connect to a remote server?
The remote server's name is zed.mdah.state.ms.us (ip is 10.8.5.4) and the
database is zed.aleph0. Locally on zed I can do
ociogon("user","pw","zed.alpeh0") and connect fine, but on a remote server
You need the Oracle cliente libraries installed where you have PHP for
this to work.
the third parameter in OCILogon() is the connection string configured in
tnsnames.ora ($ORACLE_HOME/network/admin)
Let's say that you make connection to Oracle using sqlplus:
User: scott
pass: tiger
dbstring: tes
Hi Alister,
Thanx for the links and the example.
This link is very useful too:
[] http://ftp.ucr.ac.cr/solrhe/chap28sec231.html
I have it working now with good results.
Regards,
-William
El mar, 30-03-2004 a las 16:35, Alister escribió:
> On 29 Mar 2004 15:28:38 -0500
> William Lovaton <[EM
Adam Williams wrote:
Hi, what is the syntax for using ocilogon() to connect to a remote server?
The remote server's name is zed.mdah.state.ms.us (ip is 10.8.5.4) and the
database is zed.aleph0. Locally on zed I can do
ociogon("user","pw","zed.alpeh0") and connect fine, but on a remote server
Hi, I have the client libraries on the computer I have PHP on. My connect
line is $conn = ocilogon("user","pw","zed.aleph0"); and I can connect
usning sqlplus. When I look at the listener log, it doesn't show my
computer with PHP on it trying to connect using PHP, but when I tnsping
zed.aleph
I have a script that dynamically generates a CSV file
for downloading to MS Excel. The script works fine in
PHP 4.3.3 on a Windows machine using Apache 2, and the
exact same script does not work in PHP 4.3.4 on
Solaris 9 using Apache 1.3.29. A script with
essentially the same header commands works
Hi, I figured out what was wrong, I had php_oci8.dll uncommented in
php.ini but not php_oracle.dll. Fixed that and now I get an ORA-12705
error, which looking on google has something to do with NLS. Going to do
more reading, thanks :)
--
PHP General Mailing List (http://www.php.net/)
To unsu
Hello James,
Tuesday, March 30, 2004, 7:37:33 PM, you wrote:
JEHI> so PHP is looking for your require file in this directory.
JEHI> /home/sites/site111/web/news/forms/home/sites/site111/web/news/forms/
Sorry, but I don't believe it is. The leading slash dictates from the
system level root, regar
Hello,
On 03/30/2004 09:38 AM, William Lovaton wrote:
Well, I'am aware of that but the application is already made and it is
big and development continue, so change it will be a huge task and we
have no resources available for it.
Tux used to perform very well here, but unfortunatelly there is no
Hello all.
Im developing a page, and need to create a thumb of some images.
i've compiled PHP 4.3.5 with the built-in support of GD, even having
installed the GD library.
the problem is that i call the imagecreatefromjpeg function, and PHP
returns a fatal error
when in run time
i've even
I'm using a for() loop to generate random die rolls. I'd like the
numbers to be formatted in a grid.
for ($i = 0; $i < 100; $i++) {
if (!($i % 5)) {
print("");
}
printf("%'.10u", rand(1,$sides));
}
Currently, I'm padding with '.', but I'd like to pad with t
Hi Manuel,
El mar, 30-03-2004 a las 17:38, Manuel Lemos escribió:
> Hello,
>
> On 03/30/2004 09:38 AM, William Lovaton wrote:
> > Well, I'am aware of that but the application is already made and it is
> > big and development continue, so change it will be a huge task and we
> > have no resources
Hello,
On 03/30/2004 07:55 PM, William Lovaton wrote:
Well, I'am aware of that but the application is already made and it is
big and development continue, so change it will be a huge task and we
have no resources available for it.
Tux used to perform very well here, but unfortunatelly there is no
Basically there is a php page... lets say
http://www.myserver.com/outputpage.php
that picks up some info from a database and echos it out as plain text to
the browser.
I want to use php in a different file to go pick up whatever is printed
out to that file and save it to a variable..
basically
You should be able to use any of the file commands.
eg. $contents = file("http://www.myserver.com/outputpage.php";);
fopen(), etc should all work too.
Martin
> -Original Message-
> From: Russell P Jones [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, 31 March 2004 9:25 AM
> To: [EMAIL PROT
3 of those are putenv() crashes. Whenever I see that I always think
thread safety issues. In your case you are linking against the NTPL-aware
libc on Redhat (/lib/tls/libc.so.6). Could you try doing this:
LD_PRELOAD=/lib/i686/libc.so.6
in your Apache startup script and let me know if it s
David Scott wrote:
I'm using a for() loop to generate random die rolls. I'd like the
numbers to be formatted in a grid.
In a grid... like an HTML table? You could something like:
$row = 20;
$col = 5;
echo '';
for ($i = 1; $i < $row; $i++) {
echo '';
for ($j = 1; $j < $col; $j++) {
Bruno Santos wrote:
Hello all.
Im developing a page, and need to create a thumb of some images.
i've compiled PHP 4.3.5 with the built-in support of GD, even having
installed the GD library.
the problem is that i call the imagecreatefromjpeg function, and PHP
returns a fatal error
when in run
Greets,
I've been able to open a remote URL, read it and then lop off everything
except the last line and break it into an array with its' tabs - /t .
The data will then be inserted into a table.
However, the following URL shows reservoir storage and is a .doc file. I am
unable to run the same s
From http://www.php.net/manual/en/function.imagecreatefromjpeg.php
To all those having trouble with a message to the effect of:
CreateImageFromJpeg() not supported in this PHP build
Start by adding --with-jpeg-dir to your ./configure options as I left
this out (not knowing I needed it) and I spen
Anthony Ritter wrote:
Greets,
I've been able to open a remote URL, read it and then lop off everything
except the last line and break it into an array with its' tabs - /t .
The data will then be inserted into a table.
However, the following URL shows reservoir storage and is a .doc file. I am
un
Actually, why don't you just use plain text like this. Sheesh,
sometimes I forget the easy answer :)
STORAGE – The actual combined contents for the New York City Reservoirs
in the Delaware River Basin –
for December 1, 2003-March 29, 2004.
Date Pepacton Cannon. Never. Actual Drought
Windows 98 se
When using the dos window command line for mysql commands everything works fine except
if I try to use the paste function to paste
pre-typed commands, the window freezes. This is aaannnoooyyyiiinnnggg.
advance thanks
Dale
--
PHP General Mailing List (http://www.php.net/)
To unsub
1 - 100 of 121 matches
Mail list logo