HI Richard,
thanks for the info. With regard to the setup it will be something more
or less like this:
I want to generate my own keypair. The private key I keep secure,
offline,
on the machine that does the admin (charging, refunds etc). The public
key is used on the server to encrypt card d
Does PEAR installed in most Linux hosting box?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Does PEAR installed in most Linux hosting box?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
hello geeks,
Linux User Group, Hyderabad and Osmanina University College of
Enginnering in together are condcuting the follwing events.
And about the events:
Lug Festiva( linux workshop)
Literati quest (paper presentation)
Promethean (project contest)
Bugs maze ( debugging contest)
Klo
Hi James,
http://uk.php.net/manual/en/function.function-exists.php, should help
you on your way.
hth
Jarratt
On Tue, 1 Feb 2005 18:57:12 -0600, James Kaufman
<[EMAIL PROTECTED]> wrote:
> On Tue, Feb 01, 2005 at 08:47:29PM +, Ben Edwards wrote:
> > I have been implementing a system on a di
On Tue, Feb 01, 2005 at 08:47:29PM +, Ben Edwards wrote:
> I have been implementing a system on a different ISP than I normally use
> and have got:-
>
> Fatal error: Call to undefined function: cal_days_in_month()
> in
> /home/hosted/www.menublackboard.com/public_html/dev/classes/validator.cl
Lancer Emotion 16 wrote:
>
>
>
>
>
>
> Now, in page.php is possible to do a switch of form name? Something like
> this :
>
> Switch ($_POST['form'] {
> 'form1' : ...
> 'form2' : ...
> }
>
> If this is possible,i dont know how to call it, can you help me please?
The NAME attribut
Graham Cossey wrote:
I have a problem uploading a file in IE6 or Firefox1.0 but it works
fine using Opera7.54.
The problem is that I want to ensure that the file being uploaded is a
CSV file, so I test the $_FILES['file']['type'] value.
In Firefox & IE it is returned as "application/octet-stream" b
Bambero wrote:
> Hello
>
> I have compiled my php with --with-xmlrpc option to use xmlrpc server.
> Everything works fine, but there is one problem.
>
> Array (indexed from 0):
> $array[0]
> $array[1]
> $array[2]
> is changed to xmlrpc 'array' type - thats ok.
>
> Array (with string indexes):
>
Graham Cossey wrote:
> The problem is that I want to ensure that the file being uploaded is a
> CSV file, so I test the $_FILES['file']['type'] value.
That only ensures that somebody else can forge the type header being sent
to you.
Anybody with half a clue (okay, a clue and a half) could do that
Al wrote:
> I can't use a bad URL because the fopen fails.
Sorry, that was silly of me.
> I assumed from reading the manual that if I started stream_set_timeout()
> it
> would monitor the stream and do something when it reached the timeout,
> either
> truncate my data stream or show up as [timed_
I have a problem uploading a file in IE6 or Firefox1.0 but it works
fine using Opera7.54.
The problem is that I want to ensure that the file being uploaded is a
CSV file, so I test the $_FILES['file']['type'] value.
In Firefox & IE it is returned as "application/octet-stream" but in
Opera it is r
Matt Babineau wrote:
> Ok I installed PHP 4.3.10 and it still has not fixed the problem. If I
> remove the SQL_CALC_FOUND_ROWS from the query, it works no problems! This
> is
> very strange behavior!
Not really that strange, I think...
While you might want to read this:
http://us4.php.net/manual
Brian Dunning wrote:
> I am storing some text from forms into MySQL as base64_encode(). So far
> this has worked well at dealing with weird characters. But when I
> output it, everything is escaped with \. I can't replace those out with
> '' since sometimes they are supposed to be in there. What's
Hello
I have compiled my php with --with-xmlrpc option to use xmlrpc server.
Everything works fine, but there is one problem.
Array (indexed from 0):
$array[0]
$array[1]
$array[2]
is changed to xmlrpc 'array' type - thats ok.
Array (with string indexes):
$array['ad']
$array['sd']
$array['rd']
is ch
I can't use a bad URL because the fopen fails.
I assumed from reading the manual that if I started stream_set_timeout() it
would monitor the stream and do something when it reached the timeout, either
truncate my data stream or show up as [timed_out] => true. It doesn't appear to
do anything.
Ok I installed PHP 4.3.10 and it still has not fixed the problem. If I
remove the SQL_CALC_FOUND_ROWS from the query, it works no problems! This is
very strange behavior!
Matt Babineau
Criticalcode
w: http://www.criticalcode.com
p: 858.733.0160
e: [EMAIL PROTECTED]
-Original Message-
Fr
Richard Lynch wrote:
Al wrote:
Hi Richard, thanks for the help.
Note I have the timeout set for 1 microsec, have tried several values, eg,
100ms, 1 sec, etc. I even used a 4mb file and it did nothing.
It seems as if stream_set_timeout() does nothing.
Note in socket_get_status(), [timed_out] => is
Ben Edwards wrote:
I have been implementing a system on a different ISP than I normally use
and have got:-
Fatal error: Call to undefined function: cal_days_in_month()
in
/home/hosted/www.menublackboard.com/public_html/dev/classes/validator.class.php
on line 134
I found a reference to this an the
I am storing some text from forms into MySQL as base64_encode(). So far
this has worked well at dealing with weird characters. But when I
output it, everything is escaped with \. I can't replace those out with
'' since sometimes they are supposed to be in there. What's the best
way to output th
I have been implementing a system on a different ISP than I normally use
and have got:-
Fatal error: Call to undefined function: cal_days_in_month()
in
/home/hosted/www.menublackboard.com/public_html/dev/classes/validator.class.php
on line 134
I found a reference to this an the web and it seems
I was able to figure out the problem.
If there is anyone else out there that is using it and needs the solution
let me know and I will pass it on.
--
Blessed Be
Phillip
"Phillip S. Baker" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> I am posting this here, as it is a bug in the
[snip]
Hi list,I have 2 forms :
Now, in page.php is possible to do a switch of form name? Something like
this :
Switch ($_POST['form'] {
'form1' : ...
'form2' : ...
}
If this is possible,i dont know how to call it, can you help me please?
[/snip]
Do this...
switch
Hi list,I have 2 forms :
Now, in page.php is possible to do a switch of form name? Something like this :
Switch ($_POST['form'] {
'form1' : ...
'form2' : ...
}
If this is possible,i dont know how to call it, can you help me please?
Thanks in advance.
--
lancer emotion 16
Al wrote:
> Hi Richard, thanks for the help.
>
> Note I have the timeout set for 1 microsec, have tried several values, eg,
> 100ms, 1 sec, etc. I even used a 4mb file and it did nothing.
>
> It seems as if stream_set_timeout() does nothing.
>
> Note in socket_get_status(), [timed_out] => is a
I am posting this here, as it is a bug in the application and I awanted to
see if anyone else is using this and has come up with a solution.
If not and after I figure out more in the code what is going on, if I cannot
figure it out I will give you all a block of code. (Oh and I have emailed
the aut
Todd Cary wrote:
Jochem -
Sorry! The prior message was incorrect. Here it is corrected.
er ok, no probs. although you needn't have bothered sending the correction
as someone has already pointed out the mistake in the function, namely your
use of HTML entities instead of normal LT ang GT brackets.
Marco Schuler wrote:
Am Dienstag, 1. Februar 2005 16:07 schrieb Marco Schuler:
Am Dienstag, 1. Februar 2005 15:50 schrieb Jochem Maas:
Marco Schuler wrote:
Hi
I found a function declaration in an open source project (in
php5) and I could not find documantation for this. The function
declaration is:
PHPDiscuss - PHP Newsgroups and mailing lists wrote:
The following wsdl file was provided to me.
http://64.122.63.81:5454/IfxService.wsdl
I first attempted to genrate the PHP classes using the following code...
require_once('SOAP/Client.php');
$wsdl=new SOAP_WSDL('http://64.122.63.81:5454/IfxServ
Hi Richard, thanks for the help.
Note I have the timeout set for 1 microsec, have tried several values, eg,
100ms, 1 sec, etc. I even used a 4mb file and it did nothing.
It seems as if stream_set_timeout() does nothing.
Note in socket_get_status(), [timed_out] => is always false.
Richard Lynch w
Dustin Krysak wrote:
> -a user adds their email address, name, etc to a database.
> -a responder sends an email to them to confirm their email address
> (within 72 hrs).
> -upon confirmation of their email address, a script will generate a
> store coupon with a random coupon id # in the browser (wh
Tom wrote:
> Thanks for the replies. My manual was out of date, not that it would
> have made any difference to this anyway as .
> upload_tmp_dir variable was correctly set in the php.ini file, and I'd
> restarted the web server several times. It seems however that the file
> is getting cached
Al wrote:
> Anyone see why stream_set_timeout() / socket_get_status() don't work?
Perhaps you should explain what you think isn't working...
Cuz it sure looks good to me...
> $fp= fopen($URL_full, 'r');
>
> stream_set_timeout($fp, 0, 1); tried other values for microseconds
>
> $procque_str= frea
Jason Morehouse wrote:
> within a sqlite call. This pases matched content to a function, where
> the function needs to pass back a score:
>
> sqlite_create_function($sDB, 'fulltext', 'fulltext_step',2);
>
> function fulltext_step($title, $content) {
> $words = explode(' ', strtolower('php boo
pete M wrote:
> am not having a lot of success with opening a socket to a secure domain
> (php 4.3.8 - apache - openSSL)
>
> $fp = fsockopen($url , 443 ,$errno, $errstr, 30);
You would need to do S much work to get this going, generating
complementary two-way encryption keys...
Just use curl:
Marek,
Thank you for your advice. I've wrapped my variable like so:
htmlspecialchars( $HTTP_POST_VARS['introJ'], ENT_COMPAT, "UTF-8")
and that seems to have made the variables store and display okay. I
actually have no idea what the "ENT_COMPAT" bit is doing, but
experimentation has taug
You are using html entity code for brackets and such. When you use <
instead of <, the web browser prints it literally as a < rather than
interpreting it as an html symbol to mark the start of an anchor (or
whatever). Replace the entity code with their 'regular' equivalents and
you're print pr
am not having a lot of success with opening a socket to a secure domain
(php 4.3.8 - apache - openSSL)
$fp = fsockopen($url , 443 ,$errno, $errstr, 30);
have tried the following $urls
---
$url = 'domain.net';
Bad Request
Your browser sent a request that this server could not u
Jochem -
Sorry! The prior message was incorrect. Here it is corrected.
Here is the executing code:
$page_string = make_page_string($page_string, "Search");
$script_string = make_script_string($script_string, "search.php");
print("Page_string: " . $page_string . "");
print("Script_string: "
Jochem -
Here is the function:
/* Make page path */
function make_page_path($page_string, $script_name) {
$parts = explode('|', $page_string);
for ($i = 0; $i < count($parts); $i++) {
if ($i == 0) {
$page_path = '' .
$parts[$i] . '';
Anyone see why stream_set_timeout() / socket_get_status() don't work?
$fp= fopen($URL_full, 'r');
stream_set_timeout($fp, 0, 1); tried other values for microseconds
$procque_str= fread($fp, 8096);
print_r(socket_get_status($fp)) ;
Print_r is:
Array
(
[wrapper_data] => Array
Hello,
I'm trying to make up for the lack full text searching in sqlite by
passing the search off to php with sqlite_create_function. The parsing
part works fine, but I'm a little lost with the scoring, if anyone
perhaps a little better @ math than I am, may be of assistance!
The parsing code
Am Dienstag, 1. Februar 2005 16:07 schrieb Marco Schuler:
> Am Dienstag, 1. Februar 2005 15:50 schrieb Jochem Maas:
> > Marco Schuler wrote:
> > > Hi
> > >
> > > I found a function declaration in an open source project (in
> > > php5) and I could not find documantation for this. The function
> > >
Hi
Am Dienstag, 1. Februar 2005 15:50 schrieb Jochem Maas:
> Marco Schuler wrote:
> > Hi
> >
> > I found a function declaration in an open source project (in
> > php5) and I could not find documantation for this. The function
> > declaration is:
> >
> > public function registerComp(IComp $comp)
>
Marco Schuler wrote:
Hi
I found a function declaration in an open source project (in php5) and
I could not find documantation for this. The function declaration is:
public function registerComp(IComp $comp)
Is it a kind of typecast?
no its a type declaration (is that the correct term). it states
Richard Lynch wrote:
Al wrote:
Richard Lynch wrote:
Al wrote:
I've got a script that fetches a stream from a file on our virtual host.
Its
been working fine; but, yesterday they changed something and it no
longer
works.
Can you define "no longer works" a bit more clearly...
Error messages?
Just ti
Hi
I found a function declaration in an open source project (in php5) and
I could not find documantation for this. The function declaration is:
public function registerComp(IComp $comp)
Is it a kind of typecast?
--
Cheers!
Marco
--
PHP General Mailing List (http://www.php.net/)
To unsubscr
Todd Cary wrote:
OK...I am close, but still missing something. The string returned by
the function is $page_path and it contains
http://209.204.172.137/casesearch/php/search.php";>Home->
^
what ever else you function is doing this is probably not cor
OK...I am close, but still missing something. The string returned by
the function is $page_path and it contains
http://209.204.172.137/casesearch/php/search.php";>Home->
http://209.204.172.137/casesearch/php/search.php";>Search
And here is how the function is used:
$page_path = make_page_path($
The following wsdl file was provided to me.
http://64.122.63.81:5454/IfxService.wsdl
I first attempted to genrate the PHP classes using the following code...
http://64.122.63.81:5454/IfxService.wsdl);
// Look at the generated code...
echo ( $wsdl->generateProxyCode() );
?>
---
Thanks for the replies. My manual was out of date, not that it would
have made any difference to this anyway as .
upload_tmp_dir variable was correctly set in the php.ini file, and I'd
restarted the web server several times. It seems however that the file
is getting cached somehow, and is no
Dave wrote:
PHP General,
The Situation:
I am creating a form for users to enter text into a MySQL 3.23
database. The text is often in Japanese, encoded in utf-8 format.
The Problem:
When the utf-8 encoded text is inserted into the database, it becomes
random ASCII gibberish.
What
52 matches
Mail list logo