On Sat, 2004-08-21 at 00:10, Curt Zirzow wrote:
> * Thus wrote Robert Cummings:
> > Hi All,
> >
> > I think I'm looking for something that doesn't exist, but just in
> > case thought I'd check the list. Does anyone know if a PHP function
> > exists to get the number of references on a given va
--- John Holmes <[EMAIL PROTECTED]> wrote:
> From: "fongming" <[EMAIL PROTECTED]>
> > You also can use follows:
> >
> >
>
> You can, if you want to make the (incorrect) assumption that everyone
> will have "PHPSESSID" as the name of their sessions...
>
> That's what session_name() is for and th
* Thus wrote Brian Dunning:
> I telephoned *just* as the Linkpoint API support folks left for the
> weekend
>
> Currently we are doing just a SALE transaction. I want instead to first
> submit an authorization with AVS and CVV2 information, make a decision
> (2 out of 3) and then process th
* Thus wrote Robert Cummings:
> Hi All,
>
> I think I'm looking for something that doesn't exist, but just in
> case thought I'd check the list. Does anyone know if a PHP function
> exists to get the number of references on a given variable's data? I was
> hoping to create a way for a factory
Hi All,
I think I'm looking for something that doesn't exist, but just in
case thought I'd check the list. Does anyone know if a PHP function
exists to get the number of references on a given variable's data? I was
hoping to create a way for a factory to automatically recycle resources
without
On Fri, 20 Aug 2004 17:16:03 -0700, Brian Dunning
<[EMAIL PROTECTED]> wrote:
> I telephoned *just* as the Linkpoint API support folks left for the
> weekend
>
> Currently we are doing just a SALE transaction. I want instead to first
> submit an authorization with AVS and CVV2 information, make
I telephoned *just* as the Linkpoint API support folks left for the
weekend
Currently we are doing just a SALE transaction. I want instead to first
submit an authorization with AVS and CVV2 information, make a decision
(2 out of 3) and then process the charge or not. The documentation is
n
Rick Fletcher wrote:
Daniel Schierbeck wrote:
I am having some problems with the XML features (I use the fancy new
SimpleXML). It works like a dream when I'm retrieving information from
an XML document, but when I want to insert new tags it screws up. I'm
trying to create a function that saves e
On Fri, 20 Aug 2004 13:37:23 -0700, Brian Dunning
<[EMAIL PROTECTED]> wrote:
> This question is not necessarily PHP-specific, though we are running
> PHP classes.
>
> Online store, credit card authorized at time of order, credit card
> charged at time of shipment (could be anywhere from a few minu
Daniel Schierbeck wrote:
I am having some problems with the XML features (I use the fancy new
SimpleXML). It works like a dream when I'm retrieving information from
an XML document, but when I want to insert new tags it screws up. I'm
trying to create a function that saves error logs in an XML f
Jason Wong wrote:
On Saturday 21 August 2004 03:24, John Nichel wrote:
Ah-hadoing that, I have learned that you missed a step...
fclose ( $manual );
That was intentional, you should have it open all the time and read from it
continually.
That's why you guys get the big bucks. ;)
--
John C.
Hi,
> Online store, credit card authorized at time of order, credit card
> charged at time of shipment (could be anywhere from a few minutes to a
> couple weeks later). Standard stuff. But customers are complaining that
> they're being double-charged. Turns out that both the authorization and
> th
On Saturday 21 August 2004 03:24, John Nichel wrote:
> Ah-hadoing that, I have learned that you missed a step...
>
> fclose ( $manual );
That was intentional, you should have it open all the time and read from it
continually.
--
Jason Wong -> Gremlins Associates -> www.gremlins.biz
Open So
This question is not necessarily PHP-specific, though we are running
PHP classes.
Online store, credit card authorized at time of order, credit card
charged at time of shipment (could be anywhere from a few minutes to a
couple weeks later). Standard stuff. But customers are complaining that
th
[snip]
Can anyone tell me how to install GD 2.0.28 (which support GIF) with
php? Can you tell me all the instructions to follow?
[/snip]
All of the instructions http://www.boutell.com/gd/manual2.0.28.html
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php
Thanks Torsten. I wasn't 100% sure that was the right env var to change
but now I am :)
"Torsten Roehr" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> "Boot" <[EMAIL PROTECTED]> wrote in message
> news:[EMAIL PROTECTED]
> > Currently session variables are dropped in a short
Deepak Dhake wrote:
Can anyone tell me how to install GD 2.0.28 (which support GIF) with
php? Can you tell me all the instructions to follow?
http://us4.php.net/gd
--
John C. Nichel
ÜberGeek
KegWorks.com
716.856.9675
[EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscrib
Can anyone tell me how to install GD 2.0.28 (which support GIF) with
php? Can you tell me all the instructions to follow?
Thanks,
_deepak
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Thanks alot, worked great. You're the man!!
"Matt M." <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> >
> > > $db = new COM("ADODB.Connection");
> > $dsn = "DRIVER=SQL Server; SERVER=D63WV941;UID=sa;PWD=sa;
> > DATABASE=BINDER";
> > $db->Open($dsn);
> >
>
>$db = new COM("ADODB.Connection");
> $dsn = "DRIVER=SQL Server; SERVER=D63WV941;UID=sa;PWD=sa;
> DATABASE=BINDER";
> $db->Open($dsn);
> $rs = $db->Execute("SELECT * from company");
> while (!$rs->EOF)
> {
> $Name = $rs->Fields['Name']->Value
On Fri, 20 Aug 2004 19:34:51 +0100, Andre <[EMAIL PROTECTED]> wrote:
>
> Inside of one ARRAY can I make one WHILE
>
> function tabelas($tabela_tipo){
> $sql = mysql_query("SELECT * FROM ".$tabela_tipo."_credito ORDER BY
> ".$tabela_tipo."_ordenar");
> $return = "\n";
>
Hello everyone. I have the following script that creates a listbox. My box
appears, but I can't get any data into it. Can someone let me know what I'm
doing wrong.
Open($dsn);
$rs = $db->Execute("SELECT * from company");
while (!$rs->EOF)
{
$Name = $rs->Fields
Curt Zirzow wrote:
* Thus wrote John Nichel:
Jay Blanchard wrote:
[snip]
In what manual?
[/snip]
TFM!
I'm sorry, I didn't quite catch that. Could you hold my hand, and point
it out to me? If you were a real pal, you would write the code for me
too. ;)
$manual = fopen('http://php.net/manual', '
Peter Clarke wrote:
John Nichel wrote:
Jay Blanchard wrote:
[snip]
In what manual?
[/snip]
TFM!
I'm sorry, I didn't quite catch that. Could you hold my hand, and
point it out to me? If you were a real pal, you would write the code
for me too. ;)
The only manual I know of is at www.php.net
It p
[snip]
172: $q = $this->DB["cms"]->prepare("SELECT t.Extension FROM Site_Mime
as m,Type as t WHERE m.SNr=? && m.TNr=t.Nr");
173: $q->bind_param("i",$this->Site["Nr"]);
174: $q->execute();
175: $q->store_result();
[/snip]
I've got a very serious problem in big class, but these two lines are
proba
"Boot" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Currently session variables are dropped in a shorter time period than I
> would like when a user sits with a page open but idle.
>
> My PHP.INI has session_gc_maxlifetime set to 1440.
>
> If I want variables kept for two hours, is
"Andre" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
>
> Inside of one ARRAY can I make one WHILE
>
> function tabelas($tabela_tipo){
> $sql = mysql_query("SELECT * FROM ".$tabela_tipo."_credito ORDER BY
> ".$tabela_tipo."_ordenar");
> $return = "\n";
> $tabela_a
* Thus wrote John Nichel:
> Jay Blanchard wrote:
> >[snip]
> >In what manual?
> >[/snip]
> >
> >TFM!
> >
>
> I'm sorry, I didn't quite catch that. Could you hold my hand, and point
> it out to me? If you were a real pal, you would write the code for me
> too. ;)
$manual = fopen('http://php.ne
Currently session variables are dropped in a shorter time period than I
would like when a user sits with a page open but idle.
My PHP.INI has session_gc_maxlifetime set to 1440.
If I want variables kept for two hours, is setting session_gc_maxlifetime
the correct setting to change (to 7200) ?
T
John Nichel wrote:
Jay Blanchard wrote:
[snip]
In what manual?
[/snip]
TFM!
I'm sorry, I didn't quite catch that. Could you hold my hand, and point
it out to me? If you were a real pal, you would write the code for me
too. ;)
The only manual I know of is at www.php.net
It provides a tool for s
Inside of one ARRAY can I make one WHILE
function tabelas($tabela_tipo){
$sql = mysql_query("SELECT * FROM ".$tabela_tipo."_credito ORDER BY
".$tabela_tipo."_ordenar");
$return = "\n";
$tabela_array = array("".
while($registo = mysql_fetch_array($sql)){
Jay Blanchard wrote:
[snip]
In what manual?
[/snip]
TFM!
I'm sorry, I didn't quite catch that. Could you hold my hand, and point
it out to me? If you were a real pal, you would write the code for me
too. ;)
--
John C. Nichel
ÜberGeek
KegWorks.com
716.856.9675
[EMAIL PROTECTED]
--
PHP General M
On Fri, 20 Aug 2004 11:12:47 -0400, Paul Danko <[EMAIL PROTECTED]> wrote:
> I'm a newbie using CVS with PHP development. I created a CVS repository,
> which contains two directories.
>
> /CVSROOT/
> /project/
>
> where project has my code.
>
> My problem is that CVS modifies the files in the /pr
From: "fongming" <[EMAIL PROTECTED]>
You also can use follows:
You can, if you want to make the (incorrect) assumption that everyone will
have "PHPSESSID" as the name of their sessions...
That's what session_name() is for and the SID constant...
---John Holmes...
--
PHP General Mailing List (
Does anyone know of a good place to get some php classes that deal with
calculating quintile and decile points? I am working to write some but
am looking for other examples. I have looked at pear and phpclasses but
didn't notice any.
Thanks,
Eddie
Oh thank you. This is exactly what I need.
I can create regular expressions to do the job, but I wanted some ideas for
the mark points used.
Teddy
Teddy
- Original Message -
From: "Justin French" <[EMAIL PROTECTED]>
To: "Octavian Rasnita" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent
[snip]
In what manual?
[/snip]
TFM!
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
In what manual?
From: Jason Wong <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
Subject: Re: [PHP] avi to wmv convert
Date: Sat, 21 Aug 2004 00:45:07 +0800
On Saturday 21 August 2004 00:36, R B wrote:
> I'm making a php video system, buy i need to convert the avi videos to
wmv
> videos.
> Some one kno
On Saturday 21 August 2004 00:36, R B wrote:
> I'm making a php video system, buy i need to convert the avi videos to wmv
> videos.
> Some one knows a good, free, and functional avi to wmv converter?
There are a few listed in the manual.
--
Jason Wong -> Gremlins Associates -> www.gremlins.biz
O
I'm making a php video system, buy i need to convert the avi videos to wmv
videos.
Some one knows a good, free, and functional avi to wmv converter?
Thanks,
RB
_
Charla con tus amigos en línea mediante MSN Messenger:
http://messenge
Octavian,
If you wish to avoid WYSIWYG editors and stick with some thing
ASCI-based, I can highly recommend Textile [1], which is distributed as
part of a new PHP-based CMS called Textpattern [2].
Textile is a sort-of shorthand mark-up for converting ASCI to valid
XHTML.
This is a paragraph wi
Paul Danko wrote:
I'm a newbie using CVS with PHP development. I created a CVS repository,
which contains two directories.
/CVSROOT/
/project/
where project has my code.
My problem is that CVS modifies the files in the /project/ folder. the
extension becomes *.php,v. I want to be able to che
Paul Danko wrote:
I'm a newbie using CVS with PHP development. I created a CVS repository,
which contains two directories.
/CVSROOT/
/project/
where project has my code.
My problem is that CVS modifies the files in the /project/ folder. the
extension becomes *.php,v. I want to be able to che
Hi:
May be you can use follows:
some thing
--
¡»From: ¦¹«H¬O¥Ñ®ç¤p¹q¤l¶l¥ó1.5ª©©Òµo¥X...
http://www.tyes.tyc.edu.tw
[EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hi:
You also can use follows:
--
¡»From: ¦¹«H¬O¥Ñ®ç¤p¹q¤l¶l¥ó1.5ª©©Òµo¥X...
http://www.tyes.tyc.edu.tw
[EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Gah...
> To investigate my suspicion that it's not opening a new link, i've
> set tcpdump going on the server and will analyse the dumpfile once
Realising my stupidity, i have now stopped tcpdump. Of course it will
not capture anything as i am using a local socket connection! :)
Having said that,
Hi
I am upgrading to PHP5 and having some difficulties : "undefined function". I also
don't understand how some other functions work...
I need LDAP and SSL support so I installed OpenLDAP --with-TLS and OpenSSL. Then I
installed PHP5.1. I configured it using --with-openssl --with-ldap --with-sas
I'm a newbie using CVS with PHP development. I created a CVS repository,
which contains two directories.
/CVSROOT/
/project/
where project has my code.
My problem is that CVS modifies the files in the /project/ folder. the
extension becomes *.php,v. I want to be able to checkout the code, ch
Hi,
Firstly, i'm using PHP 4.3.8 and MySQL 4.0.20, on Linux. PHP is
connecting to MySQL over a local socket connection.
I have a PHP script that runs constantly on one of my servers. It
basically does some processing work with data in a MySQL database,
pnctl_fork()s a child process to do some slo
John Holmes wrote:
- Original Message - From: "Daniel Schierbeck" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, August 20, 2004 10:47 AM
Subject: [PHP] Overloaded Class & The __tostring() Method
I am trying to build an XML-formatted string from an object. I use
this code:
cl
- Original Message -
From: "Daniel Schierbeck" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, August 20, 2004 10:47 AM
Subject: [PHP] Overloaded Class & The __tostring() Method
I am trying to build an XML-formatted string from an object. I use this
code:
class XML_Object
{
From: "Don" <[EMAIL PROTECTED]>
OK! I got it to work. Although session_id() would not work, using the SID
constant did. Below is the code I used:
Compare the URL created with this:
Increment Your Counter!
to the URL created with this:
echo 'Increment Your
Counter!';
and you'll see the reason why
From: "Henri Marc" <[EMAIL PROTECTED]>
I want to generate a few numbers and those numbers
must not be generated two times.
function getnumbers($howmany, $min, $max)
{
$retval = array();
while(count($retval) < $howmany)
{ $retval[mt_rand($min,$max)] = 1; }
return array_keys($retval);
}
Not teste
I am trying to build an XML-formatted string from an object. I use this
code:
class XML_Object
{
private $childs = array();
public function __get ($prop)
{
if (isset($this->childs[$prop])) {
Aaron Todd wrote:
I have been using the following code to try to make it work:
The webroot of my site is at: /var/www/html
So far this will create a new file on my computer where ever I want, but it
does not download the contents of the file.
Any suggestions?
Thanks,
Aaron
It seems that PHP can
> = Start of Code =
> session_start();
> header("Cache-control: private"); //IE 6 Fix
> if(!$_SESSION['count']){
> $_SESSION['count'] = 1;
> $sid = session_id();
> echo 'Session is: ' . $sid . '';
> } else {
> $_SESSION['count']++;
> }
> echo 'You have visited pages so
> f
Does anyone know of a class or technology that can convert an EPS
document in memory to an outputtable PDF? GD? ImageMagick?
Thanks,
- Brian
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
I've been looking through the online docs and man is this one confusing.
Seems there are plenty of different ways to use this. Using this with
forms, what is the best setting to avoid back button mishaps?
(none,private, etc..)
Thanks,
Ed
--
PHP General Mailing List (http://www.php.net/)
To un
Not at all possible
PHP5/DOM uses a lot of ZendEngine 2 specific feature, you can't port it to PHP 4
chregu
On Fri, 20 Aug 2004 10:56:41 +, libogen . <[EMAIL PROTECTED]> wrote:
> Hi All,
>
> I was just wondering if there's any possibility that someone will port
> PHP5's DOM extension to PHP
OK! I got it to work. Although session_id() would not work, using the SID
constant did. Below is the code I used:
= Start of Code =
First time through';
} else {
$_SESSION['count']++;
}
?>
You have visited pages so far!
Increment Your Counter!== End of
Code ==
--
PHP Ge
FreeBSD 4.10/5.2.1
mysql 4.1.3 linuxthreads in FreeBSD4, KSE in FreeBSD5
Compile PHP with mysql and mysqli together,i get core dump always.
And the most core dump is using mysqli functions.
Is it a bug?Any body have good idea?
Now i am back to PHP 5.0.0
--
PHP General Mailing List (http://www.p
I have been using the following code to try to make it work:
The webroot of my site is at: /var/www/html
So far this will create a new file on my computer where ever I want, but it
does not download the contents of the file.
Any suggestions?
Thanks,
Aaron
"Octavian Rasnita" <[EMAIL PROTECT
Dazed and confused. I've tried the suggestions thus far (I believe) and no
luck. Below is the current code. For somw reason, when I disable cookies
in my browser:
1. The session ID is NOT being passed in the URL
2. The session ID changes everytime I click on the link; probably because it
create
On Fri, 20 Aug 2004 03:23:48 -0700 (PDT), khuram noman
<[EMAIL PROTECTED]> wrote:
> hello
>
> i have problem in destroying session id, i use the
> following code
>
> session_start();
> print "before Destroy".session_id();
> session_destroy() ;
>
> session_start();
> print "After Destroy".sessio
[snip]
How would you do?
[/snip]
I would take each number and place it in an array. Then for each
subsequent number I would test to see if in_array()...if not add the
number to the array, if it is then do the calc again...
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: h
Hello,
I want to generate a few numbers and those numbers
must not be generated two times.
For example the user chooses to have two series of 5
numbers. then I have to generate (with MT_RAND) two
series of 5 numbers.
No problem for the first, then the second must be
different from the first. I hav
Try with
session_unset();
it works for me...
-Original Message-
From: khuram noman [mailto:[EMAIL PROTECTED]
Sent: Friday, August 20, 2004 5:39 AM
To: [EMAIL PROTECTED]
Subject: [PHP] How to destroy session ID
hello
i have problem in destroying session id, i use the
following code
[snip]
I've been tinkering with the code for the above for some time now and
keep
getting the same error: "Access Denied..."
Can anyone help me find a solution to this as the user in question has
full
privileges to the database so I assume it's a directory access issue...
[/snip]
I am going to t
Morning all.
I've been tinkering with the code for the above for some time now and keep
getting the same error: "Access Denied..."
Can anyone help me find a solution to this as the user in question has full
privileges to the database so I assume it's a directory access issue...
--
-
Khuram Noman wrote:
> i have problem in destroying session id, i use the
> following code
>
> session_start();
> print "before Destroy".session_id();
> session_destroy() ;
>
> session_start();
> print "After Destroy".session_id();
>
> ?>
>
> in before and after it prints the same sessionID so
Hi All,
I was just wondering if there's any possibility that someone will port
PHP5's DOM extension to PHP4, maybe making it available as a PECL package?
I'm not even sure if it can be done!
This would make the better DOM functions available to users maybe a year
earlier on shared webhost's ser
hello
i have problem in destroying session id, i use the
following code
in before and after it prints the same sessionID so
how to destroy session id . waiting for soon reply
Thanks
Khuram Noman
__
Do you Yahoo!?
Yahoo! Mail - 50x more storage
hello
i have problem in destroying session id, i use the
following code
in before and after it prints the same sessionID so
how to destroy session id . waiting for soon reply
Thanks
Khuram Noman
___
Do you Yahoo!?
Win 1 of 4,000 free domain names
Hello,
we had our users in LDAP. We use web authentification throug that LDAP.
Now, we are switching to Sun Indentity Server (we will use Sun ONE
Messaging Server) and I'm not shure will I be able to authenticate with PHP.
Any Ideas?
TNX
--
PHP General Mailing List (http://www.php.net/)
To unsub
Hy!
You have to restart windows after changing the path-variable, else it
has no effect. it it functioning for me
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
try simply escaping the "\" before the "n" with an additional "\" or in
other words: use "\\n" instead of "\n". PHP will interpret "\\" as an "\".
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hi, I have a question concerning file permissions on the server.
When i try to use fopen($file,"w") i am said i am not permitted to do so
unless i set the file permissions manualy (FTP) to 666 (cannot use chmod()
as well).
Well i am asking how big risk it is to leave files with 666 (or dirs with
Rory McKinley wrote:
Sorry Philip, but I have to disagree
I did an install on Wednesday of this week. I placed an entry for my PHP
folder in the PATH and it made no difference. Only once I had
overwritten the libmysql.dll in the Windows system folder with the
version that ships with PHP5 did I g
Philip Olson wrote:
New installation instructions exist that recommend never copying any
files to the Windows system directory. It's preferred to leave all files
in the PHP directory and make it (the PHP folder) available to the systems
PATH by editing the appropriate system environment variable.
Is there any possibility to make an old exention that created for work with
php 4 to work with php 5 if the extention is not yet converted to work with
php 5 ?
If yes then how ?
80 matches
Mail list logo