Hello,
is there a way how to track for allowed memory size on ? I receive this
error in one class that process sql querys. I want to check somehow when
query is processed do php return this error and if this is happened to
log sql query in file to can I optimize it latter.
I.D.
--
PHP Genera
> From: spudm...@hotmail.com
> To: php-general@lists.php.net
> Date: Fri, 14 May 2010 22:01:09 +0200
> Subject: RE: [PHP] regexp questions
>
>
>
>
> Hi,
>
>
>
> I'm trying to insert a serialized data into mysql, but I does
> mysql_real_escape_string() before inserting it.
>
>
>
> IN
Hi,
I'm trying to insert a serialized data into mysql, but I does
mysql_real_escape_string() before inserting it.
INSERT IGNORE INTO `table` (`value`) VALUES
('a:3:{s:12:"F1";s:6:"nombre";s:11:"F2";s:5:"F3";s:16:"F4";s:10:"F5";}');
it result in
INSERT IGNORE INTO `table` (`value`) VALU
Hi,
I'm trying to insert a serialized data into mysql, but I does
mysql_real_escape_string() before inserting it.
INSERT IGNORE INTO `table` (`value`) VALUES
('a:3:{s:12:"F1";s:6:"nombre";s:11:"F2";s:5:"F3";s:16:"F4";s:10:"F5";}');
it result in
INSERT IGNORE INTO `table` (`value`
Subject: RE: [PHP] regexp questions
From: a...@ashleysheridan.co.uk
To: spudm...@hotmail.com
CC: php-general@lists.php.net
Date: Wed, 12 May 2010 17:11:11 +0100
On Wed, 2010-05-12 at 18:13 +0200, Spud. Ivan. wrote:
> Date: Tue, 11 May 2010 15:38:41 -0700
> From: li...@cmsws.co
> Date: Tue, 11 May 2010 15:38:41 -0700
> From: li...@cmsws.com
> To: spudm...@hotmail.com
> CC: php-general@lists.php.net
> Subject: Re: [PHP] regexp questions
>
> Spud. Ivan. wrote:
> >
> > I think we've not so much only with the regex, but maybe
> Subject: RE: [PHP] regexp questions
> Date: Wed, 12 May 2010 11:11:07 +0100
> From: m.f...@leedsmet.ac.uk
> To: spudm...@hotmail.com; php-general@lists.php.net
>
>
>
> > -Original Message-
> > From: Spud. Ivan. [mailto:spudm...@hotmail.com]
> &
> From: a...@ashleysheridan.co.uk
> To: spudm...@hotmail.com
> CC: php-general@lists.php.net
> Date: Tue, 11 May 2010 21:43:54 +0100
> Subject: RE: [PHP] regexp questions
>
> On Tue, 2010-05-11 at 22:45 +0200, Spud. Ivan. wrote:
>
> >
> > I think we
I think we've not so much only with the regex, but maybe you can tell me
somethin helpful ;)
/Word1:<\/a><\/h4>\(fir.*?st
word.*?(.*)Word2:<\/a><\/h4>(.*)Second
word:<\/a><\/h4>(.*)Word3:<\/a><\/h4>(.*)rd word/is
Thanks.
I.Lopez.
>&
4.3.0
The flags parameter was added
But it doesn't explain why my regexps work fine within php 5.1 but 5.3
Ivan.
>>>>>>>>>
> -Original Message-
> From: Spud. Ivan. [mailto:spudm...@hotmail.com]
> Sent: 11 May 2010 01:2
then try different paths to locate the version you want:
/usr/bin/php
/usr/local/bin/php
/usr/sbin/php
etc
etc
I don't have root permission to unistall
the old version or remove the
link or create a link in /usr/loca/bin/php
I'm just call the php
-v command and get the version 4.
T
do strace php -v and see what's the path for the old version.
It'd be better if you uninstall the old version, but it you don't know how was
it installed, simply remove the old php binary or overwrite it with newer.
I. Lopez.
Hi,
I have a shell account with limited access. The php c
Is there any place where to read the changelog or something?
Thanks.
>>>
For example, the following regex doesn't work.
return (bool) preg_match('/^[\pL\pN\pZ\p{Pc}\p{Pd}\p{Po}]++$/uD',
(string) $str);
Shiplu Mokadd.im
___
Hi,
I've recently changed from php 5.1 to 5.3.2 and I'm havong problems with
preg_match, because the same regular expressions used in php 5.1 are not
matching anything in 5.3.2.
There are any significant changes that I should know?
I've been searching but I haven't found anything.
Thanks.
I comed up with this
$name,"attrs"=>$attrs);
array_push($stack,$tag);
}
// end_element_handler ( resource parser, string name )
function endElement($parser, $name)
{
global $stack;
$stack[count($stack)-2]['children'][] = $stack[count($stack)-1];
array_pop($stack);
}
// handler ( re
So I have found this code in http://bg.php.net/manual/en/ref.xmlrpc.php
and it evaluates PHP but when I try to use the PIHandler separately. It
doesnt work. So I ask if someone could help me to make parser1 return an
array just like parser2.
PARSER1
$name";
if (count($attribs)) {
fore
ich in most cases it won't be :(
>
> Bogdan Ribic wrote:
> > Hi Ivan,
> >
> > You might be able to use output buffering in conjunction with
> > including your xml file. Something like:
> >
> > ob_start();
> > include $xml_file;
> > $c
Hi,
I have the following problem. I want to import data into my site via PHP
XML Parser, but I also want to include php string variables into
the .xml file and when the xml file is parsed the variables are replaced
whit the corresponding string.
So far all my attempts have been unsuccessful.
Her
Hi!
Is there any free php cache/accelerator that works with php5? I was
using turck-mmcache with 4.x, but it's buggy with php5 (old-style class
constructors don't get called on cached classes), and the development
seems to be stalled.
--
PHP General Mailing List (http://www.php.net/)
To unsubsc
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
Nicklas Bondesson wrote:
Actually, there's way to determine real user's IP, checking
$_SERVER["HTTP_CLIENT_IP"], $_SERVER["HTTP_X_FORWARDED_FOR"] and, finally,
$_SERVER["REMOTE_ADDR"]. But this may not give certain and correct result.
> As far as I'm conserned you can't. The proxy will hide all i
I've simple code like this:
-- begin --
#!/usr/bin/php -q
hey my name is
and
I feel good
-- end --
I would expect this output:
-- begin --
hey my name is goofy
and
I feel good
-- end --
but I obtain this:
-- begin --
hey my name is goofya
ctly but there is not the same result as in example above:
Is it bug in image2wbmp() or something with my php setings is wrong?
Ivan Dermanov,
[EMAIL PROTECTED]
17.dec.2003.
Belgrade,
scenario is that some header items can be generated by
application, some by the phone's runtime, and others by the WAP gateway.
And those reaching the server might not be what we expect.
Regards,
Ivan
"Kim Steinhaug" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTEC
Solved all my problems with PERL.
Cheers.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
from client.
PHP page responses exactly the same as the one on remote Apache server.
I have mental fog in my mind write now.
"Chris Shiflett" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> --- Ivan Marenic <[EMAIL PROTECTED]> wrote:
> > Here i
r-Encoding: chunked
Content-Type: text/html
>
> You might be able to use ethereal (http://www.ethereal.com/) to get the
> HTTP request.
For sniffing HTTP traffic I am using EffeTech HTTP Sniffer. Works OK.
Ivan
--
PHP General Mailing L
> This looks you are expecting to receive a POST request with PHP. So, are
> you wanting to send one or receive one?
Receive one.
"Chris Shiflett" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> --- Ivan Marenic <[EMAIL PROTECTED]> wrote:
> >
Dim binread
Dim bytecount
bytecount = Request.TotalBytes
binread = Request.BinaryRead(bytecount)
Response.BinaryWrite binread
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Here is ASP code that works.
Dim binread
Dim bytecount
bytecount = Request.TotalBytes
binread = Request.BinaryRead(bytecount)
'Send response back to client
Response.BinaryWrite binread
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
stData );
os.close();
os = null;
Here is PHP code snippet:
//Here I see HTTP method, and response is POST
:
echo $_SERVER['REQUEST_METHOD'];
:
:
// Show any post vars, but nothing shows - never!
if(count($_POST)>0){
echo "POST".$new_line;
print_r($_POST);
ech
Any idea why?
I am sending HTTP post request from j2me mobile device.
Request is OK because it works well on ASP page.
Thanks for help!
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
tell me what form of
email sending windows would use.
Thanks,
Ivan
register_globals.
How do I use $HTTP_*_VARS[] without a lot of recoding of all pages or do I
simply leave register_globals on.
Or is ther another way?
Thankyou,
Ivan
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
ng like the following:
> - Right click on the folder
> - Select proprieties
> - Click on security icon
> - And allow everyone to write, read, execute
>
> If you cannot access this tools, ask your administrator to allow you to do
> this work.
>
>
> - Original
I've tried same source on different OS and it works OK.
I assume there is a BUG, for win 2000.
Thank you all for help.
Kind regards, Ivan
"Jason Sheets" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
Have you tried giving it a
red.
I've tried all variations: "w", "r+", "wb" ... nothnig works.
"Stephen" <[EMAIL PROTECTED]> wrote in message
000901c28e73$2f24a870$0200a8c0@melchior">news:000901c28e73$2f24a870$0200a8c0@melchior...
> wb is not a permission. Try
Hi.
I am trying to create little counter:
I can't open file for writing.
I've tried different params: "w", "r+", "wb" ... nothnig works
I am using IIS 5.0 , and I have set permitions to read & write files on
server.
= source code ===
if(is_writable("counter.txt")==TRUE)
code I am using presently is below
Select a Category
$faqcats";
}//while ($myrowadmintitles=MySQL_fetch_array($admintilteresult))
?>
Thanks for your answer,
Ivan
path when using an include file in this way?
I have tried to use some of the Environment Variables.
I find that I am having this problem when I am using a structured site. I would rather
not place all files into the same directory
Thankyou for your reply,
Ivan
I am trying to achieve is to be able to display hello & there on the
agencydet.php page when it is shown in the browser.
Thanks,
Ivan
"Richard Lynch" <[EMAIL PROTECTED]> wrote in message
news:20020702092207.GERZ903.sccrmhc03.attbi.com@[192.168.1.103]...
> >Is there a way to programatically (inside a session) change session
duration
> >for the current session only? (using cookie-based sessions) ?
>
> Wild Guess:
>
> What if you u
Is there a way to programatically (inside a session) change session duration
for the current session only? (using cookie-based sessions) ?
--
- Ivan Voras -
- If I knew what I was doing, it wouldn't be called "research". -- R. P.
Bergman -
--
PHP General Mai
Cesar:
What's the exact error message you are getting? or
there's no error message?
Are you running the PHP script in a local machine or a
server? What MTA are you using?
Regards,
Ivan
--- "César_L._Aracena" <[EMAIL PROTECTED]>
wrote:
> Hi all,
>
> I ha
Can anyone tell me how to get java support for php working? I compiled
apache with -pthread option, I properly configured php.ini
(phpinfo() agrees), but I cannot overcome this:
(the message appears as a PHP error when trying to create any java objects)
Fatal error: Unable to load Java Library
/
Forgive me for being so new, But i dont know where to start or where to
start to look for this...
_
Chat with friends online, try MSN Messenger: http://messenger.msn.com
--
PHP General Mailing List (http://www.php.net/)
To unsubs
Hello
Is it possible to put a mysql & php web site on CD or maybe to capture the site
statically to put it onto cd.
thanks
Ivan
Hello and thanks for your help
how do I use php and mysql to print mailing lables?
I would like to be able to print mailing labels from an mySQL online database using
php.
Is it possible to do this as the same functionality as in an MSAccess offline database?
Thanks,
Ivan
In the download_file.php put a header() function which redirects the
browser to the file, like header("Location: test.dat"). After that it
should show the dialog screen.
Balazs
On Mon, 25 Feb 2002, Lee P Reilly wrote:
> Hi,
>
> I wonder if someone can point me in the direction of an example and
with php or a combination of php and a javascript funtion
Thanks,
Ivan
Hi!
A very simple way to do this is by checking the variables of the form (the
names of fields) if they are isset() or not. To be more specific you can
even check, if any of them is empty().
In special cases like the email address, i suggest using regexp to check
if it is a valid email address.
d like to be able to restart the
inner loop by reinitailsing the MySQL_fetch_array
} //while ($myrow=MySQL_fetch_array($result2))
Regards,
Ivan
action is inschk.php
If an array is sent to inschk.php how may I get the multiple values out of it.
If this can be done I then will insert the different values into a database.
At present if I check multiple checkboxes I can only see the value of the last
checkbox that is checked.
Thanks,
Ivan
Hi!
It seems to be a php-specific problem. Check your php config file (in php4
it is php.ini). There you should find a line related to the smtp server.
Fill it with its correct content.
Balazs
On Wed, 4 Jul 2001, php wrote:
> hai...
>
> I have install php and i want to create email direct
Hi!
Check your server settings! If you're using Apache then there are several
things that need to be calibrated, such as the mime-type settings, the
scriptAlias part and application-specific settings. And don't forget to
tell the server the dir name you're keeping the files in.
You may try to fin
I try to use configure to config pdflib in FreeBSD
when i make it, i got a error messages
cd bind/php && make
make: no target to make.
*** Error code 2 (ignored)
--
Thanks & Best Regards
Ivan Chen
³¯Åb¤å
IT Department
¸ê°TºÞ²z³¡
Direct Line 886 2 27747875
±M½u 886 2 27747875
Jard
Panel on the 'db server'
> > machine. Notice that These odbc with MSAccess work ONLY LOCALLY (in
> > lan,not remotely). U have to use MSSQL server to realize remote dB
> > storage.
> >
> > Good Luck,
> >
> > Ivan
> >
> > [EMAIL PROT
--
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]
--
(p)Ivan
Student
DIST Bio-Lab
Viale Causa 13
16145 Genoa - Italy
tel
g a ODBC Data Source Name
using Manage ODBC data source in Control Panel on the 'db server'
machine. Notice that These odbc with MSAccess work ONLY LOCALLY (in
lan,not remotely). U have to use MSSQL server to realize remote dB
storage.
Good Luck,
Ivan
[EMAIL PROTECTED] wrote:
>
>
Hi,
anyone know a simple way to realize multiple-upload at once (something
like Msoft CTRL-multiple selection when browsing and uniqe Upload
button). I've found only a multiple file input field in a form but the
numbers of file I'had to upload is unknow.
TIA
--
(p)Ivan
Student
DI
o unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]
--
(p)Ivan
Student
DIST Bio-Lab
Viale Causa 13
16145 Genoa - Italy
tel: +39 010 3532789
e-mail: [EMAIL PROTECTED]
--
PHP G
TED]
> >
> >
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]
--
(p)Ivan
Student
DIST Bio-Lab
Vi
62 matches
Mail list logo