Hi,
How can I register a session or cookie for two domains. I want to maintain
logged user's state when he goes from one domain to other domain.
Example
Suppose a user is logged in on domain1.com. A cookie is set and user is
authenticated from database on the basis of that cookie. When he goes fr
On Tue, Jan 03, 2006 at 11:07:16AM -0800, Tim Traver wrote:
> Hi all,
>
> ok, when using the CGI binary for PHP execution, is there a way to send
> it environment variables to set the admin values like you can in mod_php ???
>
> For instance, when using the apache module, you might do something
On Wed, Jan 04, 2006 at 12:31:02AM +0530, anirudh dutt wrote:
> hi
> the subject is pretty much what the problem is.
>
> if i use
> $st1 = $sql->stmt_init(); // $sql is a mysqli obj/conn
> $st1->prepare("select `num` from `activity` where `id` = ?");
> $st1->bind_param('s', $myid);
> $myid = '3f6d
On Tue, Jan 03, 2006 at 01:52:44PM -0700, Ray Hauge wrote:
> Hello everyone,
>
> I just wanted to see if anyone knew if there was any difference in
> performance between using curl in an exec() statement and when using the
> libCurl functions within PHP.
You might notice a difference if you loo
On Tue, Jan 03, 2006 at 12:29:14PM -0500, James Tu wrote:
> I used phpMyAdmin to look at the stats for this mysql server.
>
> http://www.2-bit-toys.com/db_info/server_status.html
>
> What concerns me mainly are the stats at the top-right...'Failed
> attempts' and 'Aborted.'
> When would these s
On Mon, Jan 02, 2006 at 09:35:21PM +0100, Mario de Frutos Dieguez wrote:
> Hi!
>
> I have a problem using fread with a XML document. When i read some nodes
> with a great amount of text it cuts in the same place of the text. There
> are any limitation of text or something? I have in the php.ini th
On Tue, Jan 03, 2006 at 10:37:10AM -0700, Ren Fournier wrote:
> Actually, I can send the example messages but here is another
> description of the same problem. (So PHPMailer is inserting line
> breaks, not spaces�or something is...)
>
> http://sourceforge.net/tracker/index.php?
> func=detail
Hello,
Just curious if anyone could give me some google
keywords/links/suggestions/tips/comments/feedback on a good place to
start for writing a search engine script.
I think I might have a good idea for a specific type of search engine.
Basically it would crawl web and index links to a spec
zedleon wrote:
>>Warning: fopen(home/path/temp") failed to open stream: No such file or
>>directory
>>I am trying to write a script to work with GnuPG, but can't get past this
>>basic problem.
>>Everything I try gives me the same warning.
>
>I just corrected the code...I had it correct but posted
On Jan 4, 2006, at 4:56 PM, zedleon wrote:
I just corrected the code...I had it correct but posted it in
correctly.
$fp = fopen("home/path/temp" "w+");
puts($fp, $msg);
fclose($fp);
Still getting the same warning...
I think you forgot a comma this time...
$fp = fopen("home/path/temp", "w
I just corrected the code...I had it correct but posted it in correctly.
$fp = fopen("home/path/temp" "w+");
puts($fp, $msg);
fclose($fp);
Still getting the same warning...
Thanks
""zedleon"" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Has anybody had any experience in resolvi
On Jan 4, 2006, at 4:28 PM, zedleon wrote:
$fp = fopen("home/path/temp "w+");
You only got 3 quotes in the above code...
try this:
$fp = fopen("home/path/temp", "w+");
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Thank you all for pointing me in the right direction.
I was extremely unlikely to come across the term "CAPTCHA" by starting
with the search terms I was using. I'm really glad I asked here.
Your time taken to answer my query is much appreciated.
--
Dave M G
--
PHP Gener
Never mind - wasn't adding properly. Found it after all on php.net, anyway.
Thanks anyway.
-Original Message-
From: Ben Miller [mailto:[EMAIL PROTECTED]
Sent: Wednesday, January 04, 2006 5:01 PM
To: php-general@lists.php.net
Subject: [PHP] Counting in Hex
Is there a way in PHP to count
Is there a way in PHP to count using hex instead of numerals so that the
following statement
$var = 237F;
$var++;
echo "$var";
would result in
2380
Thanks a bunch.
Ben
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Just want to open a discussion about what used to be called msession.
As many of you may be aware, msession had some problems with later Linux
kernels as well as stability issues on Apache 2.
MCache is redesign of msession is is intended to more or less replace
msession.
For more info, go to ww
> If this is just a one time thing you're looking to do, all of this may be
> over the top. However, if the bosses are going to want to review this data
> month in and month out, I think the time spent doing something like this will
> be worth it.
As of now I've got it working and inserting th
Jay Paulson (CE CEN) wrote:
Jay Paulson (CE CEN) wrote:
Hello everyone! I've been given the responsiblity of coding an apache
access_log parser. What my tasks are to do is to return the number of hits for
certain file extensions that happen on certain dates with specific IP address.
As of
Jay Paulson (CE CEN) wrote:
Jay Paulson (CE CEN) wrote:
Hello everyone! I've been given the responsiblity of coding an apache
access_log parser. What my tasks are to do is to return the number of hits for
certain file extensions that happen on certain dates with specific IP address.
As of
Jay Paulson (CE CEN) wrote:
> Hello everyone! I've been given the responsiblity of coding an apache
> access_log parser. What my tasks are to do is to return the number of hits
> for certain file extensions that happen on certain dates with specific IP
> address.
>
> As of now I'm only going
Jay Paulson (CE CEN) wrote:
> Hello everyone! I've been given the responsiblity of coding an apache
> access_log parser. What my tasks are to do is to return the number of hits
> for certain file extensions that happen on certain dates with specific IP
> address.
>
> As of now I'm only going
I was trying used php 5.1, but it still same problem appear, several
modules succesfully load
(mbstring, bz2, dba, dbase, exif, filepro, gd2, gettext, imap, ldap,
mime_magic, ming, pgsql, shmop, snmp, socket, tidy, xmlrpc, xsl.)
and several others are failed to load :
(curl, fdf, ifx, interbase,
Jay Paulson (CE CEN) wrote:
Hello everyone! I've been given the responsiblity of coding an apache
access_log parser. What my tasks are to do is to return the number of hits for
certain file extensions that happen on certain dates with specific IP address.
As of now I'm only going back 7 days
Jim Moseby wrote:
...
Perhaps I misunderstand what the OP wanted. I thought he was running a
webserver somewhere, and that he wanted his remote webserver to be able to
grab a file listing on his local machine by just visiting a webpage there.
if you ask me it wasn't very clear what the OP
Hello everyone! I've been given the responsiblity of coding an apache
access_log parser. What my tasks are to do is to return the number of hits for
certain file extensions that happen on certain dates with specific IP address.
As of now I'm only going back 7 days in the log looking for this i
> >
> > You will not be able to do what you propose with a purely
> PHP solution. PHP
> > is a server-side technology. That means all the processing
> is done at the
> > server, then output to your browser. PHP, to my knowledge,
> has no way to
> > inspect your computer's folders. You would
[snip]
Is there any way to client's IP address inside a php document. I am
trying to generate a code that depends on the IP address of the client.
[/snip]
http://us3.php.net/manual/en/reserved.variables.php#reserved.variables.serve
r
$_SERVER['REMOTE_ADDR']
but it may not always be reliabl
Nilanjan Dasgupta wrote:
> Hi,
> Is there any way to client's IP address inside a php document. I am
> trying to generate a code that depends on the IP address of the client.
>
> thanks a lot,
> Nilanjan
>
Give a look at $_SERVER, and more specifically $_SERVER["REMOTE_ADDR"]
http://php.net/
$_SERVER['REMOTE_ADDR']
http://www.php.net/manual/en/reserved.variables.php#reserved.variables.server
HTH
Nilanjan Dasgupta wrote:
Hi,
Is there any way to client's IP address inside a php document. I
am trying to generate a code that depends on the IP address of the
client.
thanks a l
Nilanjan Dasgupta wrote:
Hi,
Is there any way to client's IP address inside a php document. I am
trying to generate a code that depends on the IP address of the client.
Yes.
--
John C. Nichel IV
Programmer/System Admin (ÜberGeek)
Dot Com Holdings of Buffalo
716.856.9675
[EMAIL PROTECTED]
Hi,
Is there any way to client's IP address inside a php document. I am
trying to generate a code that depends on the IP address of the client.
thanks a lot,
Nilanjan
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
I would take a look at glob.
http://us2.php.net/manual/en/function.glob.php
Scott
-Original Message-
From: Jason Pappin [mailto:[EMAIL PROTECTED]
Sent: Wednesday, January 04, 2006 10:48 AM
To: Jon Westcot; PHP General
Subject: Re: [PHP] Newbie question: need to transfer directory conten
Am 2005-12-27 08:03:42, schrieb Dave Carrera:
> Hi List,
> User input is "a" so the list moves to first instance of "a". User
> continues to input "ap" so the list moves to "2 Apple Customer" and so on.
This can only be done from a JavaScript.
> Thank you in advance
>
> Dave c
Greetings
Mich
John Meyer wrote:
> Duncan Hill wrote:
>
>>On Wednesday 04 January 2006 16:56, Dave M G wrote:
>>
>>
>>
>>> First, is there a term for these kinds of images, or that kind of
>>>verification system? What would be the best search terms to look for
>>>source scripts?
>>>
>>
>>captcha
>>
>>
Jim Moseby wrote:
Hi Jon, welcome.
I'm really new at PHP and will probably embarrass myself
many times over asking questions that have been asked
gazillions of times before, so let this serve as a blanket apology.
You will get a cold response from the regulars on this list if you "ask
q
Duncan Hill wrote:
On Wednesday 04 January 2006 16:56, Dave M G wrote:
First, is there a term for these kinds of images, or that kind of
verification system? What would be the best search terms to look for
source scripts?
captcha
I've been looking for this term for a whil
On Wednesday 04 January 2006 16:56, Dave M G wrote:
> First, is there a term for these kinds of images, or that kind of
> verification system? What would be the best search terms to look for
> source scripts?
captcha
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit:
> PHP General List,
>
> This is something I tried to find on Google, but I'm
> hindered by not
> knowing the proper terminology.
> On many sites that have contact or registration forms,
> they have a
> small image file with a randomly generated number shown in a distorted
> graphical
Dave M G wrote:
> First, is there a term for these kinds of images, or that kind of
> verification system? What would be the best search terms to look for
> source scripts?
CAPTCHA
> Second, can anyone recommend a resource for that kind of PHP script. If
> I really worked at it, I cou
PHP General List,
This is something I tried to find on Google, but I'm hindered by not
knowing the proper terminology.
On many sites that have contact or registration forms, they have a
small image file with a randomly generated number shown in a distorted
graphical fashion that is
Hi,
You should perhaps look at setting up a web server on your computer. PHP
as stated works server-side and if those folders/files you wish to
transfer reside in the web root, then PHP can process those files.
Perhaps look at how a web based FTP client written in PHP works for how
to copy/move/d
At 02:18 AM 1/4/2006, Jon Westcot wrote:
Hi all:
I'm really new at PHP and will probably embarrass myself many times
over asking questions that have been asked gazillions of times before, so
let this serve as a blanket apology.
Now, to my question. Here's what I'm trying to do. I
Hi Jon, welcome.
> I'm really new at PHP and will probably embarrass myself
> many times over asking questions that have been asked
> gazillions of times before, so let this serve as a blanket apology.
You will get a cold response from the regulars on this list if you "ask
questions that h
How looks your characterData function?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
I would guess that the '&' in $_GET['formCheck'] will cause problems...
Trying your code without the ampersand as in:
$_GET['formCheck'] =
'ZL0X~TT4PQ%0~R0OXPRUHY7E!4~W337J71V4WDDI6$GS9480XP0TNP2I$1YX75S'
It works just fine.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit
janbro wrote:
Hi Jeremy,
I tried if ( strcmp( trim($SollKombination), trim($formCheck) ) )
same negativ result. For some reason both strings are not considered to be the
same.
They have the same length, are of the same type and have the same content. Why
PHP
doesn't recognize them as beeing e
Hi Jeremy,
I tried if ( strcmp( trim($SollKombination), trim($formCheck) ) )
same negativ result. For some reason both strings are not considered to be the
same.
They have the same length, are of the same type and have the same content. Why
PHP
doesn't recognize them as beeing equal I don't
47 matches
Mail list logo