Pls go to sourceforge or freshmeat.net.
Best regards,
Yang Shiqi
-Original Message-
From: Jason Paschal [mailto:[EMAIL PROTECTED]
Sent: Saturday, February 05, 2005 3:53 AM
To: php-general@lists.php.net
Subject: [PHP] Job Recruitment and Support Ticketing Appz
A friend of mine is
Hi,
I don't know what I did it wrong but i can send any variable through
seesion. I have something like this:
//page1.php
session_start();
$_SESSION['time_to_expire'] = time + ALIVE_TIME;
//page2.php
session_start();
print isset($_SESSION['time_to_expire']);
always get '0';
thanks
--
PHP Genera
Hi experts,
Here's the scenario:
- 3 lines of data is present in a table
- 2 lines of detail lines (corresponding to the above) are needed to be
entered into a second table
Result needed is:
table1line1table1line2table1line3 (as column headers)
table2line1table2line2table2line3 (a
On Sat, 05 Feb 2005 17:53:01 +0700, Thone <[EMAIL PROTECTED]> wrote:
> Hi,
>I don't know what I did it wrong but i can send any variable through
> seesion. I have something like this:
> //page1.php
> session_start();
> $_SESSION['time_to_expire'] = time + ALIVE_TIME;
>
> //page2.php
> session_
I got a PHP program running in a Apache 2.0.52 webserver with PHP
4.3.10. The page is supposed to go to a predefined place and pick a raw
email file and use the exim command to forward it. The PHP page is
contained in a link with certain variables when I define the variables
on the command line a
Greg Donald wrote:
On Sat, 05 Feb 2005 17:53:01 +0700, Thone <[EMAIL PROTECTED]> wrote:
Hi,
I don't know what I did it wrong but i can send any variable through
seesion. I have something like this:
//page1.php
session_start();
$_SESSION['time_to_expire'] = time + ALIVE_TIME;
//page2.php
session_s
I would write down an efficient WAIT function.
The one I did was as follows:
function microdelay($delay) {
$UNUSED_PORT=31238;
@fsockopen("tcp://localhost",$UNUSED_PORT,$errno,$errstr,$delay);
}
But it does not seem to work well.
Any suggestion?
Regards
Alessandro
> I would write down an efficient WAIT function.
> The one I did was as follows:
>
> function microdelay($delay) {
> $UNUSED_PORT=31238;
> @fsockopen("tcp://localhost",$UNUSED_PORT,$errno,$errstr,$delay);
> }
>
Are you looking for something like sleep()?
http://us2.php.net/manual/en/function.s
Mike wrote:
I would write down an efficient WAIT function.
The one I did was as follows:
function microdelay($delay) {
$UNUSED_PORT=31238;
@fsockopen("tcp://localhost",$UNUSED_PORT,$errno,$errstr,$delay);
}
Are you looking for something like sleep()?
http://us2.php.net/manual/en/function.sleep.php
so nobody has any idea? I checked the bug DB btw and couldn't find anything
Jochem Maas wrote:
listers,
I was playing around with call_user_func_array() and array_map() on
PHP 5.0.2 (cli) (built: Nov 9 2004 19:00:36) and noticed the that
calling call_user_func_array() on 'array_map' with more
Hi,
I'm relatively new to PHP, but have already written a few functional
web-based scripts. I recently decided to implement a MySQL-based system,
but hit the following problem...
I have PHP version 5.03, and MySQL v 4.19. I downloaded and compiled
both, and both work perfectly alone. However, w
Yes, guys, SLEEP was what I was looking for.
I took up the code I showed before from such a
php site, but it did work on a linux server anyway.
I would try the alternative of SLEEP: I was not
so much aware of it.
Yours,
Alessandro
--
PHP General Mailing List (http://www.php.net/)
To unsubs
On 3-Feb-05, at 3:46 PM, Richard Lynch wrote:
Your very problem is that you are NOT encoding the URL data, so the
browser is trying to do it for you, only it can't be sure whether & is
supposed to be data or is supposed to separate your URL arguments.
http://php.net/urlencode
Thanks for the tip re
Sarah wrote:
Hi,
I'm relatively new to PHP, but have already written a few functional
web-based scripts. I recently decided to implement a MySQL-based system,
but hit the following problem...
I have PHP version 5.03, and MySQL v 4.19. I downloaded and compiled
both, and both work perfectly alon
hi Geeks!!!
I am sorry that there are some changes to my previous mail to the group.
As of my prev mail, It is OU Eng College event and LUG, Hyd is only
Supporting for the event Voluntarily. we are in no way sponsoring for
the event.
OU Eng college Students are conducting their annual tec
Worked like a charm, thanks!
--nathan
On Thu, 03 Feb 2005 20:33:17 -0700, Dan Trainor <[EMAIL PROTECTED]> wrote:
> NathanielGuy#21 wrote:
> > I know this may be slightly off topic for a PHP listserv but I cant
> > find my answer anywhere else. I start off generating a page connected
> > to one d
disregard if you've already done this...
you might want to do a quick php app with phpinfo, to determine if/what version
of mysql php sees.. it's quite possible that php isn't seeing/interfacing with
mysql.
php needs to not only be built with a version of mysql, but the php.ini file
also need
I have solved it through a sort of nested loop.
print '';
$x = 0;
while ($x < $colcnt) {
$coltitle = mysql_result($prccols,$x,"colhdr");
print ''.$coltitle.'';
$x++;
}
print '';
$i = 1;
while ($i <= $pricing_details) {
print '';
$c=0;
while ($c < $colcnt) {
print '';
print '';
print
sarah...
rather than deal with classes/objs... (at least initially)
just create a simple php/mysql app that sets up the user/passwd/host for the
db, and see if you can do a successful mysql_connect check the return/error
codes to see if the call/code works
this will quickly tell you if you
OK... Here's a slightly different, but related question...
Can database connection resources be serialiazed and re-used in a
different script invocation? For example, can I open a DB connection,
assign it to a $_SESSION[] variable and then later use it on a
different page? Somehow, I doubt it...
Tony Di Croce wrote:
OK... Here's a slightly different, but related question...
Can database connection resources be serialiazed and re-used in a
different script invocation? For example, can I open a DB connection,
assign it to a $_SESSION[] variable and then later use it on a
different page? Some
Just compiled PHP5 usign --enable-xml (though I see it is supposed to be
enabled by defaut however I'm getting 'call to undefined function'
errors now.
Fatal error: Call to undefined function xml_parser_create() in
bla/bla/bla on line xxx
phpinfo(): http://gfx-design.com/test/
Apache is 2.x
--
Richard Lynch wrote:
Daniel Bowett wrote:
Marek Kilimajer wrote:
Daniel Bowett wrote:
Hi,
I have been reading up on the mcrypt function. Is it possible to use
it with a public and private key pair or just with a single key?
Cheers.
mcrypt supports only single key
Is there anything out there that s
Fixed. It was a combination of the commandline version of PHP 503 not
building by default, *and* my having to use the 'mysqli' interface as
you suggested. The object interface to mysql works quite nicely.
Many thanks,
Sarah
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit:
Hey, I'm running a box which hosts quite a few virtual hosts, and I want
to configure it to where all vhosts have access to a global include
directory (for things like PEAR and Smarty), as well as access to a
local include directory for each virtual host. My current config has me
setting paths
On Sunday 06 February 2005 07:27, John Nichel wrote:
> Hey, I'm running a box which hosts quite a few virtual hosts, and I
> want to configure it to where all vhosts have access to a global
> include directory (for things like PEAR and Smarty), as well as access
> to a local include directory for e
Jason Wong wrote:
On Sunday 06 February 2005 07:27, John Nichel wrote:
Hey, I'm running a box which hosts quite a few virtual hosts, and I
want to configure it to where all vhosts have access to a global
include directory (for things like PEAR and Smarty), as well as access
to a local include direc
Does anyone can recommend some app about watermark(open source)?
Coz I want to use it in our production, so I must use sth which is certified
very safely and fast.
Thx.
Best regards,
Yang Shiqi
I found the problem. I have passed SID using GET and then using
session_id($_GET['sid']);, it works fine.
But it seems that I cannot use cookie at all. I tried to set cookie
manually, setcookie();. Nothing happen, I cannot
retrive my variable using $_COOKIE['sid'];. Is there anyway to check
cook
i am pretty sure GD can watermark ?
> Does anyone can recommend some app about watermark(open source)?
>
> Coz I want to use it in our production, so I must use sth which is
> certified very safely and fast.
>
> Thx.
>
>
>
> Best regards,
>
> Yang Shiqi
>
>
>
>
>
>
>
>
--
PHP General Mailing Lis
Make sure that in your php.ini, include this:
variables_order = "GPC"
gpc_order = "GPC"
there C means $_COOKIES
Best regards,
Yang Shiqi
-Original Message-
From: Theeraputh Mekathikom [mailto:[EMAIL PROTECTED]
Sent: Sunday, February 06, 2005 2:52 PM
To: yangshiqi
Cc: php-general
31 matches
Mail list logo