Vic Agnews wrote:
is there a way we can maintain session information across two sub-domains
(on two different servers though) ... kinda like how google does it?
Might have to use a 3rd party cookie & possibly a custom session handler.
A cookie created on 'domain.com' cannot be read by any sub
Hello fellow PHP developers,
I have recently fell upon the task of creating a Web Service. I have a
web based application which also needs to be able to handle exchanging
the result of the application back to the client, using a web service.
Problem here is that I am currently still tied into P
Ok, yesterday i´ve tried this... the command freezese. No chance to get an
error from the archive. Am i stupid? The original zip tool give me an error
on bad crc in a file, php quits with an freeze. I´ve tried also the crc
error. No chance. The $zip->open always give me and TRUE as return value.
On Thu, 2007-08-16 at 09:55 +0200, Mattias Hakansson wrote:
> So I request some suggestions from any one that has experience with this
> on what web service library/extension you would chose with PHP 4 ?
> I read about nuSOAP but it seems they are not any longer maintaining the
> source ? since
I'm trying to install the pecl mailparse extension, but I'm not getting
very far:
pecl install mailparse
pecl/mailparse requires PHP extension "mbstring"
No valid packages found
install failed
"mbstring" does not seem to be a php extension, and in any case I built
php with "--enable-mbstring".
Per Jessen wrote:
> I'm trying to install the pecl mailparse extension, but I'm not
> getting very far:
>
> pecl install mailparse
> pecl/mailparse requires PHP extension "mbstring"
> No valid packages found
> install failed
>
> "mbstring" does not seem to be a php extension, and in any case I
>
> -Original Message-
> From: Per Jessen [mailto:[EMAIL PROTECTED]
> Sent: 16 August 2007 10:25
> To: php-general@lists.php.net
> Subject: [PHP] pecl in php5?
>
>
> I'm trying to install the pecl mailparse extension, but I'm not getting
> very far:
>
> pecl install mailparse
> pecl/mailp
Hi,
switch ($q) {
for ($i=0; $i <21; $i++) {
case 'faq$i':
echo $faq1;
break;
}
}
I just want to loop out a big long list of cases.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Edward Kay wrote:
>
> Does mbstring show up in phpinfo()?
Good tip - no, it doesn't - which I'll have to have a look at.
/Per
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
I don't think it is going to work. IMO
On 8/16/07, Hulf <[EMAIL PROTECTED]> wrote:
>
> Hi,
>
> switch ($q) {
>
> for ($i=0; $i <21; $i++) {
> case 'faq$i':
> echo $faq1;
> break;
> }
> }
>
>
> I just want to loop out a big long list of cases.
>
> --
> PHP General Mailing List (http://www.p
Hulf wrote:
> Hi,
>
> switch ($q) {
>
> for ($i=0; $i <21; $i++) {
> case 'faq$i':
> echo $faq1;
> break;
> }
> }
>
>
> I just want to loop out a big long list of cases.
You should look up "self-modifying code" - maybe in wikipedia.
/Per Jessen
--
PHP General Mailing List (http:
Per Jessen wrote:
> Edward Kay wrote:
>
>>
>> Does mbstring show up in phpinfo()?
OK, yes, mbstring is installed: (from php5 -r 'phpinfo();' :
mbstring
Multibyte Support => enabled
Multibyte string engine => libmbfl
Multibyte (japanese) regex support => enabled
Multibyte regex (oniguruma) ve
Although I am not able to give you any helping advice, I would like
to know if there are any PHP based XML "online" - editors out there
(that would allow me to edit XML files online so to say). One thing
that poped up in my mind was Tiny MCE. Sure, it could be possible to
customise Tiny MCE
Hulf wrote:
Hi,
switch ($q) {
for ($i=0; $i <21; $i++) {
case 'faq$i':
echo $faq1;
break;
}
}
I just want to loop out a big long list of cases.
That's not a valid construct, but if I understand what you're trying do,
this should work...
$faqs = array();
for ($i = 0; $i < 21; $i+
Hi
I have tried most of the configuration options in the php manual /
examples http://www.php.net/function.mssql-connect and I just can't
get it to connect
I'm running WAMP5 and have enables php_mssql.dll extentions etc ..
sql server 2005 express has both named pipes and tcp/ip conections enabled,
Stut wrote:
> Hulf wrote:
>> Hi,
>>
>> switch ($q) {
>>
>> for ($i=0; $i <21; $i++) {
>> case 'faq$i':
>> echo $faq1;
>> break;
>> }
>> }
>>
>>
>> I just want to loop out a big long list of cases.
>
> That's not a valid construct, but if I understand what you're trying do,
> this should w
Frank Arensmeier wrote:
> Although I am not able to give you any helping advice, I would like to
> know if there are any PHP based XML "online" - editors out there (that
> would allow me to edit XML files online so to say). One thing that poped
> up in my mind was Tiny MCE. Sure, it could be possib
On 8/16/07, Hulf <[EMAIL PROTECTED]> wrote:
> Hi,
>
> switch ($q) {
>
> for ($i=0; $i <21; $i++) {
> case 'faq$i':
> echo $faq1;
> break;
> }
> }
>
>
> I just want to loop out a big long list of cases.
Maybe you want this kind of functionality :
http://www.php.net/manual/en/language.varia
Since posting this, I found what appears to be an excellent choice.
http://xml-copy-editor.sourceforge.net/
Al wrote:
What do you guys use for casual XML editing, besides plain text editors?
Ones that'll error check and allow fixing files with errors?
Thanks...
--
PHP General Mailing List (
Alain Roger wrote:
Hi,
I import a csv file (which includes characters from "windows-1250" charset)
to postgreSQL database which is in UTF-8.
How can i convert windows-1250 to utf-8 charset ?
This is a PostgreSQL question.
Check client_encoding and server_encoding.
--
21:50:04 up 2 days, 9:
Alain Roger wrote:
Hi,
I'm getting an error message when i run the following SQL request :
$sql = "INSERT INTO tmp_importedxls (rec_id, publisher) VALUES (SELECT
nextval('tmp_importedxls_rec_id_seq'),'$pb')";
Error in SQL query: ERROR: syntax error at or near "SELECT" LINE 2: VALUES
(SELECT nex
Hi all,
I'm writing an XML-REC client in PHP, based on the following example:
array(
'method' => "POST",
'header' => "Content-Type: text/xml",
'content' => $request
)));
$file = file_get_contents("http://www.example.com/xmlrpc";, false, $context);
$response = xmlrpc_decode($file);
i
Hey Everyone,
Is it possible to have variables affect the database results of an
included php page in a shtml page? Let me try and clear that up...
index.shtml?order=a < that does not resort the database results
index.php?order=a <- That DOES resort the database results...
Can I just
Andreas Schlicker wrote:
Hi all,
I'm writing an XML-REC client in PHP, based on the following example:
array(
'method' => "POST",
'header' => "Content-Type: text/xml",
'content' => $request
)));
$file = file_get_contents("http://www.example.com/xmlrpc";, false,
$context);
$respon
Stut wrote:
Andreas Schlicker wrote:
Hi all,
I'm writing an XML-REC client in PHP, based on the following example:
array(
'method' => "POST",
'header' => "Content-Type: text/xml",
'content' => $request
)));
$file = file_get_contents("http://www.example.com/xmlrpc";, false,
$conte
Richard Lynch wrote:
On Sun, August 12, 2007 2:35 am, Alain Roger wrote:
I'm getting an error message when i run the following SQL request :
$sql = "INSERT INTO tmp_importedxls (rec_id, publisher) VALUES (SELECT
nextval('tmp_importedxls_rec_id_seq'),'$pb')";
Error in SQL query: ERROR: syntax er
Hi,
I try to disable eval() function in php script, but failed.
In php.ini disable_functions=eval is not work, but other functions.
So, is it possible to disable eval()? Thanks.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hi All
I am having a problem getting stream_set_blocking to work the way I
expect on STDIN. Please could someone tell me why while blocking is set
to false fread does not get anything. Sampe code follows:
Code:
".$pos."\r\n");
sleep(1);
}
stream_set_blocking(STDIN, true);
$pos = fread(ST
On Thu, Aug 16, 2007 at 09:50:30PM +0800, hshh wrote:
> I try to disable eval() function in php script, but
> failed. In php.ini disable_functions=eval is not work,
> but other functions.
> So, is it possible to disable eval()? Thanks.
It don't work because eval() isn't a function.
The Suhosin p
On 8/16/07, Jason Pruim <[EMAIL PROTECTED]> wrote:
> Hey Everyone,
>
> Is it possible to have variables affect the database results of an
> included php page in a shtml page? Let me try and clear that up...
>
> index.shtml?order=a < that does not resort the database results
> index.php?order=a
On Aug 16, 2007, at 10:34 AM, Daniel Brown wrote:
On 8/16/07, Jason Pruim <[EMAIL PROTECTED]> wrote:
Hey Everyone,
Is it possible to have variables affect the database results of an
included php page in a shtml page? Let me try and clear that up...
index.shtml?order=a < that does not res
SQL Server Express defaults to installing as a named instance -
assuming that you're running Apache/PHP on the same machine as SQL
Server Express, I believe you'll want to use "(local)\SQLEXPRESS" as
the host to connect to. If it's on a different machine, you'll want to
use "MACHINENAME\SQLEXPRESS"
On 8/16/07, Jason Pruim <[EMAIL PROTECTED]> wrote:
>
> On Aug 16, 2007, at 10:34 AM, Daniel Brown wrote:
>
> > On 8/16/07, Jason Pruim <[EMAIL PROTECTED]> wrote:
> >> Hey Everyone,
> >>
> >> Is it possible to have variables affect the database results of an
> >> included php page in a shtml page? L
Lets just say that option wouldn't be a great moment in design history
"Bastien Koert" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
what about hadding the search form elements to the results page and letting
the users search right from there
bastien> To: php-general@lists.php.ne
Jason Freeman wrote:
> Hi All
>
> I am having a problem getting stream_set_blocking to work the way I
> expect on STDIN. Please could someone tell me why while blocking is
> set to false fread does not get anything.
When a file descriptor (stdin) is non-blocking, any read() will not
block and w
On Aug 16, 2007, at 11:31 AM, Daniel Brown wrote:
Unless I use sessions maybe? Could I write the sort order into a
session variable and have that change? Or did I completely
misunderstand what sessions are used for? :)
You could definitely do it with sessions if you wanted, but you
won
On 8/16/07, Jason Pruim <[EMAIL PROTECTED]> wrote:
>
> On Aug 16, 2007, at 11:31 AM, Daniel Brown wrote:
>
> >>
> >> Unless I use sessions maybe? Could I write the sort order into a
> >> session variable and have that change? Or did I completely
> >> misunderstand what sessions are used for? :)
> >
I'm trying to recursively loop through a multi dimensional array with
unknown keys and unknown values, and echo the keys/values to a sql
statement, where the key is the field, and the value is the. value.
What I want to do is test an array index to see if it has any children
indices (which then
On Aug 16, 2007, at 11:56 AM, Daniel Brown wrote:
On 8/16/07, Jason Pruim <[EMAIL PROTECTED]> wrote:
On Aug 16, 2007, at 11:31 AM, Daniel Brown wrote:
Unless I use sessions maybe? Could I write the sort order into a
session variable and have that change? Or did I completely
misunderstand w
On 8/16/07, Jason Pruim <[EMAIL PROTECTED]> wrote:
>
> On Aug 16, 2007, at 11:56 AM, Daniel Brown wrote:
>
> > On 8/16/07, Jason Pruim <[EMAIL PROTECTED]> wrote:
> >>
> >> On Aug 16, 2007, at 11:31 AM, Daniel Brown wrote:
> >>
>
> Unless I use sessions maybe? Could I write the sort order
Per Jessen wrote:
> I'm trying to install the pecl mailparse extension, but I'm not getting
> very far:
>
> pecl install mailparse
> pecl/mailparse requires PHP extension "mbstring"
> No valid packages found
> install failed
>
> "mbstring" does not seem to be a php extension, and in any case I b
John Pillion wrote:
I'm trying to recursively loop through a multi dimensional array with
unknown keys and unknown values, and echo the keys/values to a sql
statement, where the key is the field, and the value is the. value.
What I want to do is test an array index to see if it has any children
Gregory Beaver wrote:
> Hi Per,
>
> use
>
> pear install pecl/mailparse
Hi Greg
I did try that too, but it never made it very far either. I think it
had trouble finding phpize or something.
As I posted earlier, I ended up using "pecl install --nodeps mailparse"
which did the trick.
cheers
Hulf wrote:
Hi,
switch ($q) {
for ($i=0; $i <21; $i++) {
case 'faq$i':
echo $faq1;
break;
}
}
I just want to loop out a big long list of cases.
are the case's that you want to create with the loop going to be the only case
statements in the switch?
--
Jim Lucas
"Some men are
On 8/16/07, Per Jessen <[EMAIL PROTECTED]> wrote:
> I did try that too, but it never made it very far either. I think it
> had trouble finding phpize or something.
On my Ubuntu system, I had the same problem a couple days ago. I think
I finally figured out that I was missing the php5-dev package
Jason Pruim wrote:
On Aug 16, 2007, at 11:56 AM, Daniel Brown wrote:
Otherwise, is there any reason you're not just doing something
like the following?
Because I came as a HTML person into PHP and didn't even think about
being able to include my headers, footers, nav etc in the php
Thanks for the help, Kirk.
The form 2 uses a _GET to call the information from Form 1.
So you select the serach criteria on Form 1, Form 2 returns the criteria,
Form 3 is the result of a selection made on Form 2. And for some reason I
can't pass that Query String from Form 1 into Form 3.
I am
Thanks for the suggestions guys I appreciate the help! I guess I'll
look into creating a custom session handler. Any good references?
How my current setup works is, there's session information for
sub-domain1.domain.com stored in a cookie and I want
sub-domain2.domain.com(which currently does
Vic Agnews wrote:
Thanks for the suggestions guys I appreciate the help! I guess I'll
look into creating a custom session handler. Any good references?
http://php.net/session_set_save_handler shows an example.
How my current setup works is, there's session information for
sub-domain1.dom
I need a CAPTCHA script Which one is the best? (I dont mind if its
somewhat difficult).
Hi,
Thursday, August 16, 2007, 6:44:46 AM, you wrote:
D> Jim and Brad.
D> Thanks for the feedback. I was thinking it was something simple like a back
D> button. But the problem that arises when I use this method is on Form 3.
D> If I go through the steps, and make a change to an item on Form 3.
Not a script you can install/hack but why don't you have a look at:
http://recaptcha.net/ ?
Regards,
Hamza.
""Tony Di Croce"" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
>I need a CAPTCHA script Which one is the best? (I dont mind if its
> somewhat difficult).
>
--
PHP
Thanks again for the reply ... i will look into session_set_save_handler. I
also did some research on SSO and OpenID (phpMyID) ... sounds like an
interesting concept!
- Vic
On 8/16/07, Chris <[EMAIL PROTECTED]> wrote:
>
> Vic Agnews wrote:
> > Thanks for the suggestions guys I appreciate the
Thank you. It is already enough for me. It works.
On 8/16/07, Steffen Ebermann <[EMAIL PROTECTED]> wrote:
> On Thu, Aug 16, 2007 at 09:50:30PM +0800, hshh wrote:
> > I try to disable eval() function in php script, but failed.
> > In php.ini disable_functions=eval is not work, but other functions.
54 matches
Mail list logo