--- Robert Cummings <[EMAIL PROTECTED]> schrieb:
> On Wed, 2007-10-24 at 21:07 +, Werner Schneider
> wrote:
> > Hi, I got a strange problem: Using php 4.4.x, I
> capture the whole output for a webpage into the
> output-buffer by using ob_start and ob_get_clean,
> because I got to make some rep
On 10/24/07, Jim Lucas <[EMAIL PROTECTED]> wrote:
> Daniel Brown wrote:
> > On 10/24/07, Manuel Vacelet <[EMAIL PROTECTED]> wrote:
> >> Hi all,
> >>
> >> file_exists and is_readable perfom there test with real UID/GID.
> >> Is there any functions that tests file existance with effective UID/GID ?
>
> Date: Thu, 25 Oct 2007 09:43:14 +0800
> From: [EMAIL PROTECTED]
> To: php-general@lists.php.net
> Subject: [PHP] system command
>
> I tried:
>
> $a=$_SERVER["REMOTE_ADDR"];
> echo "REMOTE_ADDR=$a";
> if($a="192.168.250.108") {
> $a="61.64.101.101";
> }
>
>
> $aa=system('lynx -dump http
> > > I want to be able to display something like an image of a turkey
> >> during the month of november from now until I'm dead.
> >
> >And how will the application know when you are dead?
>
> When you stop paying for hosting, the application get's the idea when
> it's bits go poof!
Yep, tha
On Wed, 2007-10-24 at 21:07 +, Werner Schneider wrote:
> Hi, I got a strange problem: Using php 4.4.x, I capture the whole output for
> a webpage into the output-buffer by using ob_start and ob_get_clean, because
> I got to make some replacements in the html-code before sending the page to
>
I tried:
$a=$_SERVER["REMOTE_ADDR"];
echo "REMOTE_ADDR=$a";
if($a="192.168.250.108") {
$a="61.64.101.101";
}
$aa=system('lynx -dump http://api.hostip.info/country.php?ip=$a',$location);
echo "a=$aaa=$aalocation=$location";
$aa=system('lynx -dump
http://api.hostip.info/country.php?ip=61.64.
You're using the wrong option.
Register globals is for the auto-creation of variables passed through
GET, POST, etc.
What you want is register_long_vars (or something like that, long
variables, long arrays...)
Chris
Rodney Courtis wrote:
Hi
I have installed php v5 on a windowsXP PC. Serv
At 3:10 PM -0700 10/24/07, Instruct ICC wrote:
> I want to be able to display something like an image of a turkey
during the month of november from now until I'm dead.
And how will the application know when you are dead?
When you stop paying for hosting, the application get's the idea when
Hi
I have installed php v5 on a windowsXP PC. Server is Apache 2.2.
Even though I have turned register globals on in the ini file, the php is still
not allowing the use of $HTTP_GET_VARS (and probably other similier variables),
and I am having to change my existing script to $_GET before they wil
what about
if (date("m") == 11){
echo "";
}
bastien
> To: php-general@lists.php.net> From:
[EMAIL PROTECTED]> Date: Wed, 24 Oct 2007 15:57:38 -0400> Subject: [PHP]
Question about time...>> Hi Everyone,>> I am attempting to get the logic of
so
There is set_time_limit() that works from the script as long as
safe_mode is not enabled.
http://docs.php.net/manual/en/function.set-time-limit.php
Ed
On Oct 24, 2007, at 3:26 PM, Vo, Lance wrote:
you probably won't be able to edit PHP.ini with shared-hosting. The
other solutions, one I c
On 10/24/07, Instruct ICC <[EMAIL PROTECTED]> wrote:
>
> > I want to be able to display something like an image of a turkey
> > during the month of november from now until I'm dead.
>
> And how will the application know when you are dead?
>
>
> I want to be able to display something like an image of a turkey
> during the month of november from now until I'm dead.
And how will the application know when you are dead?
_
Windows Live Hotmail and Microsoft Office Outlook –
After doing some reading, I figured out that I was causing a race condition
because my request was declared globally. I fixed this by making it local.
So, it had nothing to do with the addPoint() function, but I just saw the
affects there.
I read this here (http://developer.mozilla.org/en/docs/AJA
Daniel Brown wrote:
On 10/24/07, Manuel Vacelet <[EMAIL PROTECTED]> wrote:
Hi all,
file_exists and is_readable perfom there test with real UID/GID.
Is there any functions that tests file existance with effective UID/GID ?
Note: stat is not an option because it raises an E_WARNING if the file
i
On 10/24/07, Jon Westcot <[EMAIL PROTECTED]> wrote:
> The test file that I'm using -- which probably is a small version of the
> normal file -- is around 60 MB in size (just under 30,000 records).
That sounds like a rather large file to process anyway. You might need
to use some scheduled task
Hi, I got a strange problem: Using php 4.4.x, I capture the whole output for a
webpage into the output-buffer by using ob_start and ob_get_clean, because I
got to make some replacements in the html-code before sending the page to the
browser.
This worked fine with a small page, but now I got a
Warning... this is ajax-related and not necessarily PHP (even though it
calls PHP scripts). I sent this to several JS lists, but haven't received a
response, so I thought I'd query this list to see if anyone here had an
idea.
~Philip
On 10/24/07, Philip Thompson <[EMAIL PROTECTED]> wrote:
>
> Hi
Hi again, Andrew:
You had asked some questions that I forgot to address with my previous
reply, so here goes:
The test file that I'm using -- which probably is a small version of the
normal file -- is around 60 MB in size (just under 30,000 records).
I checked the phpinfo info and it
you probably won't be able to edit PHP.ini with shared-hosting. The other
solutions, one I can think of it now - you can use PHP to upload files from
remote computer to the server at certain time, and set schedule with cron to
run your PHP scripts on your server.
Good luck
-Original Messag
Hi Andrew:
Thanks for the reply.
If I use fopen() to open the remote file, how do I specify its location?
Isn't it going to need to know not only the address of the computer I'm
using but the path on that computer to the file? Does it get all that from
the name I pass over to it?
Al
Thanks, Wolf. I'm going to have to do a lot of long processes -- uploads,
queries, and the like -- and I appreciate knowing that I can adjust that.
Now if I can just find the PHP.INI file (Stupid GoDaddy-shared-domains;
can't find anything on 'em.)
Jon
- Original Message -
From:
On Oct 24, 2007, at 4:09 PM, Richard Heyes wrote:
I am attempting to get the logic of something figured out and I
thought someone might be able to confirm what I'm thinking :)
I want to be able to display something like an image of a turkey
during the month of november from now until I'm dea
Go into your php.ini file and increase the script timeout length, which should
allow the upload to finish.
Jon Westcot <[EMAIL PROTECTED]> wrote:
> Hi all:
>
> I'm working on a project that requires frequent updating of a large
> amount of data to a MySQL database. Currently, I'm tr
How big is the file? fgetcsv() will read any file that you can get a
handle to using fopen() or fsockopen(), including remote files.
However, if allow_url_fopen is not enabled, you can't use fopen().
Also if the file is so large that your script is timing out while
waiting for it to be uploaded, i
On 10/24/07, Daniel Brown <[EMAIL PROTECTED]> wrote:
> On 10/24/07, Jason Pruim <[EMAIL PROTECTED]> wrote:
> > Hi Everyone,
> >
> > I am attempting to get the logic of something figured out and I
> > thought someone might be able to confirm what I'm thinking :)
> >
> > I want to be able to display
I am attempting to get the logic of something figured out and I thought
someone might be able to confirm what I'm thinking :)
I want to be able to display something like an image of a turkey during
the month of november from now until I'm dead. I was playing around with
mktime and it showed ve
Errr... Never mind... Soon as I hit send I got a brain storm... I
just do this:
Or something similar, I'll try and feather it out and see how it
works for multiple holidays :) (IE: Thanksgiving, Christmas, New
Years, Halloween etc. etc.)
On Oct 24, 2007, at 3:57 PM, Jason Pruim wrote:
On 10/24/07, Jason Pruim <[EMAIL PROTECTED]> wrote:
> Hi Everyone,
>
> I am attempting to get the logic of something figured out and I
> thought someone might be able to confirm what I'm thinking :)
>
> I want to be able to display something like an image of a turkey
> during the month of november
Hi all:
I'm working on a project that requires frequent updating of a large amount
of data to a MySQL database. Currently, I'm trying to transfer a CSV file to
the server, have it process the file, and then delete it once the processing is
complete. Rather than waste the up-front time of
Hi Everyone,
I am attempting to get the logic of something figured out and I
thought someone might be able to confirm what I'm thinking :)
I want to be able to display something like an image of a turkey
during the month of november from now until I'm dead. I was playing
around with mktim
> From: [EMAIL PROTECTED]
> To: php-general@lists.php.net
> Date: Wed, 24 Oct 2007 15:27:28 -0400
> Subject: [PHP] help with code not wrking
>
> Hi all,
>
>
>
> I have inherited a problem script from a client, and it's a simple upload
> function.
>
> The problem is that while the image is b
Hi all,
I have inherited a problem script from a client, and it's a simple upload
function.
The problem is that while the image is being uploaded and saved as the same
name it was uploaded as, it's not writing to the table the file name for
display reference so it's like there is no picture.
On 10/24/07, Manuel Vacelet <[EMAIL PROTECTED]> wrote:
> Hi all,
>
> file_exists and is_readable perfom there test with real UID/GID.
> Is there any functions that tests file existance with effective UID/GID ?
>
> Note: stat is not an option because it raises an E_WARNING if the file
> is not reada
Hi all,
file_exists and is_readable perfom there test with real UID/GID.
Is there any functions that tests file existance with effective UID/GID ?
Note: stat is not an option because it raises an E_WARNING if the file
is not readable.
Thanks,
Manuel
--
PHP General Mailing List (http://www.php.
On 10/24/07, Emiliano Boragina <[EMAIL PROTECTED]> wrote:
>
> Hi everyone.
>
>
>
> I need to know how do I do a FINDER of clinics for zones.
>
> I am new in PHP, so my knowloge is not much.
>
> The user of this finder select the zone from the list, and click in the
> button, and them show a list of
Can you show us the form tag of your php file(html code)?
Dan Shirah 写道:
doing a var_dump($_POST['comments'];
returns string(0) ""
So the value of $comments in $comments = $_POST['comments']; SHOULD be equal
to 0 or "", right?
In which case when I do my original:
if (!empty($comments)) {
Hi everyone.
I need to know how do I do a FINDER of clinics for zones.
I am new in PHP, so my knowloge is not much.
The user of this finder select the zone from the list, and click in the
button, and them show a list of clinic with its data info (name, address,
phones, etc)
Thanks a lot!
Hi,
When using CURL to access a page with frames I get the "Your browser does
not appear to support frames" error. How can get around this? Is there
special header info that can be added? Also, if I were using fopen can
anyone offer sample code how to login to remote site and deal with remote
ses
You'll need to know the session_id of the session you want to close. The
code above closes/ends the current users session, but simply substitute
the desired session id (of course you'll need to know this in advance)
for the call to session_id().
--
Richard Heyes
+44 (0)800 0213 172
http://w
Hi all,
i'd like that "admin" users on my site could close the session of another user,
immediately forbidding him the access to the site (beside i'd delete the login
of the user). Anyway of doing it using the default PHP session handler (i.e.
whithout using a db to store sessions)?
--
Stefan
Hi there,
I guess they have some sort of mapping between HTML generated and PDF
or Word syntax.
There is a PDF extension for PHP
so generaly they would do something like
Hello There
Some text Here !!!
this can be easily converted to PDF
$PDF = new PdfDoc();
$page_1 = $PDF->addPage();
$pa
42 matches
Mail list logo