[PHP] Re: problems in extension development

2012-02-17 Thread Rui Hu
Besides, are there some APIs I can use if I want to set&get environment variables like DOCUMENT_ROOT in my extension(similar to sapi_cgienv_get/set). Thanks! 2012/2/17 Rui Hu > hi, > > I just started to write a simple PHP extension "hello", but encountered > some problems. I followed tutorials

[PHP] Re: problems with utf-8 conversion

2010-04-06 Thread Apis SARL
I found lot of poeple having matters with chars over 1 byte, so I've published that : http://www.phpcs.com/codes/ENCODAGE-UTF16_51501.aspx If you take a look, give me a feedback please (to a...@apieum.com) regards, greg Le 05/04/2010 17:08, sudhir patil a écrit : > Thanks Nathan, > > i tried wi

[PHP] Re: problems with utf-8 conversion

2010-04-05 Thread sudhir patil
Thanks Nathan, i tried with utf8_encode, that doesn't help. Yes both content-type & metatag are set to utf-8. When i try utf-8 converted csv everything shows up properly. Issue is when i try to change encoding in php, special characters are messed up. Character that i am facing problem with is

[PHP] Re: problems with utf-8 conversion

2010-04-05 Thread Nathan Rixham
sudhir patil wrote: > I have csv file with special characters, stored in default > encoding(ISO-8859-1). I am convert file contents(string) to UTF-8using iconv. > This doesn't convert special characters properly, shows broken on fronted. > Page encoding & meta tag are properly set to utf-8. > >

[PHP] Re: Problems with HTTPS and maybe an .htaccess???

2009-05-08 Thread Ross McKay
On Tue, 05 May 2009 13:20:56 -0500, Skip Evans wrote: >[...] >But now I have a problem implementing this on their >development site, which is just a duplicate code base inside a >directory public_html/_dev and a domain name dev.sitename.com, >instead of sitename.com. > >The problem is, and I be

Re: [PHP] Re: problems with loaded extensions

2009-04-08 Thread Edgar da Silva (Fly2k)
Did you check the apache error log? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: problems with loaded extensions

2009-04-08 Thread Shawn McKenzie
Andres Gonzalez wrote: > Hi, > > I have got an extension loaded in all three of my php config files (in > cli, in cgi, and in apache2 directories). The functions in the > extension are all accessible when running test scripts from the command > line, like: > > php init.php > > for example, in t

Re: [PHP] Re: Problems with exec() on windows

2009-03-20 Thread Shawn McKenzie
Kyohere Luke wrote: > You might have something there - never really thought about how windows > forms the 8.3 names... & not many resources online about it ... > > The actual path is "c:\Program File\Gammu 1.23.91\bin\gammu.exe" > I'd used "c:\Progra~1\Gammu~1\bin\gammu.exe" You take the first 6

RE: [PHP] Re: Problems with exec() on windows

2009-03-20 Thread bruce
... -Original Message- From: l...@beyonic.com [mailto:l...@beyonic.com]on Behalf Of Kyohere Luke Sent: Thursday, March 19, 2009 11:48 PM To: Shawn McKenzie Cc: php-general@lists.php.net Subject: Re: [PHP] Re: Problems with exec() on windows You might have something there - never real

Re: [PHP] Re: Problems with exec() on windows

2009-03-20 Thread George Larson
I've skimmed some of thread, but I have not been following closely so please disregard if I'm just rambling. However, I've worked with lots of software on DOS boxen that couldn't handle long file names. If they also choke on the tildes then I usually just write a batch file that calls the full pa

Re: [PHP] Re: Problems with exec() on windows

2009-03-20 Thread haliphax
On Fri, Mar 20, 2009 at 1:47 AM, Kyohere Luke wrote: > You might have something there - never really thought about how windows > forms the 8.3 names... & not many resources online about it ... > > The actual path is "c:\Program File\Gammu 1.23.91\bin\gammu.exe" > I'd used "c:\Progra~1\Gammu~1\bin\

Re: [PHP] Re: Problems with exec() on windows

2009-03-19 Thread Kyohere Luke
r with '' ie double/single > quotes... > >> > >> > >> > >> -Original Message- > >> From: Kyohere Luke [mailto:l...@beyonic.com] > >> Sent: Thursday, March 19, 2009 10:18 AM > >> To: Bastien Koert > >> Cc: Shaw

Re: [PHP] Re: Problems with exec() on windows

2009-03-19 Thread Frank Stanovcak
"Kyohere Luke" wrote in message news:9bc423c50903191018k3c783213l4929cf2878e98...@mail.gmail.com... > Eventually settled for getting rid of the spaces in the path. That worked. > Thanks. > Luke > > On Thu, Mar 19, 2009 at 8:06 PM, Bastien Koert wrote: > >> >> >> On Thu, Mar 19, 2009 at 12:48 PM

Re: [PHP] Re: Problems with exec() on windows

2009-03-19 Thread Shawn McKenzie
gt; if you're going to deal with file/pathnames in windows/linux.. you're going >> to have to encapsulate them with "" or with '' ie double/single quotes... >> >> >> >> -Original Message- >> From: Kyohere Luke [mailto:l...

Re: [PHP] Re: Problems with exec() on windows

2009-03-19 Thread Kyohere Luke
single quotes... > > > > -Original Message- > From: Kyohere Luke [mailto:l...@beyonic.com] > Sent: Thursday, March 19, 2009 10:18 AM > To: Bastien Koert > Cc: Shawn McKenzie; php-general@lists.php.net > Subject: Re: [PHP] Re: Problems with exec() on windows > &g

Re: [PHP] Re: Problems with exec() on windows

2009-03-19 Thread Kyohere Luke
single quotes... > > > > -Original Message- > From: Kyohere Luke [mailto:l...@beyonic.com] > Sent: Thursday, March 19, 2009 10:18 AM > To: Bastien Koert > Cc: Shawn McKenzie; php-general@lists.php.net > Subject: Re: [PHP] Re: Problems with exec() on windows > &g

RE: [PHP] Re: Problems with exec() on windows

2009-03-19 Thread bruce
10:18 AM To: Bastien Koert Cc: Shawn McKenzie; php-general@lists.php.net Subject: Re: [PHP] Re: Problems with exec() on windows Eventually settled for getting rid of the spaces in the path. That worked. Thanks. Luke On Thu, Mar 19, 2009 at 8:06 PM, Bastien Koert wrote: > > > On Thu, Mar 19

Re: [PHP] Re: Problems with exec() on windows

2009-03-19 Thread Kyohere Luke
Eventually settled for getting rid of the spaces in the path. That worked. Thanks. Luke On Thu, Mar 19, 2009 at 8:06 PM, Bastien Koert wrote: > > > On Thu, Mar 19, 2009 at 12:48 PM, Kyohere Luke wrote: > >> Thanks, but I tried this. Doesn't work because the path\to\gammu.exe has >> spaces in it

Re: [PHP] Re: Problems with exec() on windows

2009-03-19 Thread Shawn McKenzie
Kyohere Luke wrote: > Thanks, but I tried this. Doesn't work because the path\to\gammu.exe has > spaces in it > Haliphax, thanks for your comments. I tried escapeshellarg() to no end. > > I'm exploring your reply regarding proc_open, but how exactly does proc_open > separate the arguments from

Re: [PHP] Re: Problems with exec() on windows

2009-03-19 Thread Kyohere Luke
Eventually settled for getting rid of the spaces in the path. That worked. Thanks. Luke On Thu, Mar 19, 2009 at 8:06 PM, Bastien Koert wrote: > > > On Thu, Mar 19, 2009 at 12:48 PM, Kyohere Luke wrote: > >> Thanks, but I tried this. Doesn't work because the path\to\gammu.exe has >> spaces in it

Re: [PHP] Re: Problems with exec() on windows

2009-03-19 Thread Bastien Koert
On Thu, Mar 19, 2009 at 12:48 PM, Kyohere Luke wrote: > Thanks, but I tried this. Doesn't work because the path\to\gammu.exe has > spaces in it > Haliphax, thanks for your comments. I tried escapeshellarg() to no end. > > I'm exploring your reply regarding proc_open, but how exactly does > pr

Re: [PHP] Re: Problems with exec() on windows

2009-03-19 Thread Kyohere Luke
Thanks, but I tried this. Doesn't work because the path\to\gammu.exe has spaces in it Haliphax, thanks for your comments. I tried escapeshellarg() to no end. I'm exploring your reply regarding proc_open, but how exactly does proc_open separate the arguments from the command? Unless i'm mistak

Re: [PHP] Re: Problems with exec() on windows

2009-03-19 Thread Kyohere Luke
Thanks, but I tried this. Doesn't work because the path\to\gammu.exe has spaces in it Haliphax, thanks for your comments. I tried escapeshellarg() to no end. I'm exploring your reply regarding proc_open, but how exactly does proc_open separate the arguments from the command? Unless i'm mistak

[PHP] Re: Problems with exec() on windows

2009-03-19 Thread Shawn McKenzie
Kyohere Luke wrote: > Hi, > I'm trying to use exec to call gammu.exe and send sms on windows XP. > > This works from commandline: > > C:\path\to\gammu.exe 1 --sendsms EMS 200 -text "test1 test2" > > But if I run it through php like this: > > $command = "\"C:\path\to\gammu.exe\" --sendsms EMS 20

Re: [PHP] Re: Problems with displaying results

2009-03-03 Thread Kyle Terry
On Tue, Mar 3, 2009 at 8:32 AM, Shawn McKenzie wrote: > Terion Miller wrote: > > I have two queries one pulls out which users to use and the second pulls > > those users orders > > Looks something like this but is only pulling the first record: > > > > > > $query = "SELECT `UserName`, `A

[PHP] Re: Problems with displaying results

2009-03-03 Thread Shawn McKenzie
Terion Miller wrote: > I have two queries one pulls out which users to use and the second pulls > those users orders > Looks something like this but is only pulling the first record: > > > $query = "SELECT `UserName`, `AdminID` FROM admin > WHERE Key1 = 'YES' "; > > $result

[PHP] Re: Problems with images..

2008-11-07 Thread Michelle Konzack
Am 2008-11-03 14:43:43, schrieb Anders Norrbring: > I've been staring myself blind, so now I don't get anywhere, please do > advice.. > > I have a web page printed with PHP, in a table I need to display images that > are stored in a SQL DB. > Getting the images into variables isn't an issue at all

[PHP] Re: Problems with mime encoding of Japanese Characters in Subject and'From:', 'Reply-to:', ... fields.

2008-03-20 Thread Manuel Lemos
Hello, on 03/20/2008 04:06 AM Dietrich Bollmann said the following: > Hi, > > --- note --- > I sent a similar message already to php-i18n - but this list seems > not to be used very much (20 messages this year) so I am posting it > here again... > > > I try to send messages written

[PHP] Re: problems accesing an object via globals

2007-12-03 Thread julian
however this will work... p1.inc 1 var;; 9} 10 } 11 12 class obj { 13var $obj2=20; 14 15function f1(){ 16 global $db; 17 18 echo "\n".$db->fun2()*$this->obj2."\n"; 19} 20 } 21 ?> 1 #!/usr/bin/php -q 2 3 f1(); 13 14 ?> -- PHP General Mailing L

[PHP] Re: problems accesing an object via globals

2007-12-01 Thread julian
julian wrote: I want to open a database connection at program initialization and use that very same connection via globals initilizating ( loading from db) other objects. Basically index.php $db=new mysqli(host,us,pass,db); if(mysqli_connect_errno()){ die('errordb conex'); } switch

Re: [PHP] Re: Problems with matrix

2007-08-29 Thread Richard Lynch
Do you REALLY need all the values in one giant matrix at once? You might be MUCH better off to read a single line, process it, discard it, and move on to the next one. Your webhost is probably wrong and you probably ARE running out of RAM and/or running afoul of PHP's time_limit in php.ini set_t

[PHP] Re: Problems with matrix

2007-08-28 Thread Felipe Alcacibar
Andres Rojas wrote: Hi all, I'm new in PHP programming and I have a problem with this script. I need to read a large file around 2Mb and several lines (28000). All start Ok, but suddenly the script stop without message error. $myear[]=$year; $mhour[]=$hour; $mmin[]=$min; $mt

[PHP] Re: Problems with mirror site script

2007-06-28 Thread Dan
If you're looking to build an web based proxy that supports ads, there's already tons of scripts out there that do it securely, and render very nicely. Most even supporting ad management. CGIProxy http://www.jmarshall.com/tools/cgiproxy/ PHProxy http://whitefyre.com/poxy/ Zelune http://www.zel

[PHP] Re: problems in WHERE statment

2007-05-23 Thread Jared Farrish
Change the single quote to a double quote: $query = "SELECT * FROM `job listing` WHERE open >= '$today' LIMIT 0 , 30 "; This tells the PHP string parser to replace all declared, in-scope variables that are detected in a string with the value of the variable (as a toString() method, so a refere

Re: [PHP] Re: Problems when trying to use ibm_db2 extension

2007-04-17 Thread Richard Lynch
On Tue, April 17, 2007 1:21 am, Leo Jokinen wrote: > Problem solved: > I restarted my computer and after that apache loaded ibm_db2 > extension. > > My conclusion: > 1. When you add some extensions to php.ini, you need to restart > windows > in order to get those extensions available through apache

[PHP] Re: Problems when trying to use ibm_db2 extension

2007-04-16 Thread Leo Jokinen
Problem solved: I restarted my computer and after that apache loaded ibm_db2 extension. My conclusion: 1. When you add some extensions to php.ini, you need to restart windows in order to get those extensions available through apache 2. However, those extensions are instantly available if you use

[PHP] Re: Problems with mail

2007-04-02 Thread itoctopus
Weird, this code should work. Are you sure there is no hidden space somewhere in the email. Try just to hardcode the email (eg. mail('[EMAIL PROTECTED]', $subject_users_subscription_confirmation, $message_users_subscription_confirmation); and see what'll happen. -- itoctopus - http://www.itoctopus

Re: [PHP] Re: Problems with open_basedir

2006-10-20 Thread Patrik Jansson
I noticed that this "bug" is already to be found in the bug database. This is exactly how I'm experiencing it: http://bugs.php.net/bug.php?id=37556 In that report they link the reader to http://bugs.php.net/bug.php?id=30188 which is also applicable. Although I can't understand the last answer: O

Re: [PHP] Re: Problems with open_basedir

2006-10-20 Thread Patrik Jansson
Colin Guthrie wrote: Well, I was never sure that it was a bug or not. I wasn't sure if it was my distro's packaging and any custom patches it applies and also where it was some x86_64 wierdness. Recently (last week) it was confirmed to me that it was not x86_64 at fault, but it was still my dis

[PHP] Re: Problems with open_basedir

2006-10-20 Thread Colin Guthrie
Patrik Jansson wrote: >> Anyway, are symlinks to blame here? > I've added the real path into open_basedir, I also removed the // error > but still I get the restriction message: > So then I changed the absolute path in Joomla from /home/... to > /usr/home/... > and now I don't get the error anymor

Re: [PHP] Re: Problems with open_basedir

2006-10-20 Thread Patrik Jansson
Colin Guthrie wrote: Patrik Jansson wrote: I ran into problems with openbase_dir when using symlinks... They only really reared their ugly head when I upgraded to 5.1.6 before that they were OK (tho' if memory serves I had to add both the symlink location and the directory it pointed to. Anyway,

[PHP] Re: Problems with open_basedir

2006-10-19 Thread Colin Guthrie
Patrik Jansson wrote: > Hello, > I'm having some difficulties with open_basedir. If I include the prefix > /home/web25637/ in open_basedir shouldn't it include every directory > within this? We're getting this error: > > Warning: file_exists() [function.file-exists]: open_basedir restriction > in

[PHP] Re: Problems with Arrays and print and echo

2006-04-08 Thread Michael Felt
Michael Felt wrote: Slowly I am getting the output I want. Trying to use "dynamic" arrays, does creat the array I want, but getting the info is sometimes surprising. I notice a difference between arrays used locally in a function, and arrays used as a 'var' in a class function (all in PHP 4

[PHP] Re: Problems with Arrays and print and echo

2006-04-08 Thread Michael Felt
Michael Felt wrote: Slowly I am getting the output I want. Trying to use "dynamic" arrays, does creat the array I want, but getting the info is sometimes surprising. I notice a difference between arrays used locally in a function, and arrays used as a 'var' in a class function (all in PHP 4

Re: [PHP] Re: Problems with GZIPped content in some cases?!?

2006-01-31 Thread Jochem Maas
Olaf Greve wrote: Hi Barry (and others), Thanks for your answer! This is surely a browser problem. I already feared as much... The nasty thing is that due to this some of the end users of our client are losing confidence in the way the application works. Disabling GZIP is not really what

Re: [PHP] Re: Problems with GZIPped content in some cases?!?

2006-01-31 Thread Olaf Greve
Hi Barry (and others), Thanks for your answer! This is surely a browser problem. I already feared as much... The nasty thing is that due to this some of the end users of our client are losing confidence in the way the application works. Disabling GZIP is not really what I want to do either,

[PHP] Re: Problems with GZIPped content in some cases?!?

2006-01-31 Thread Barry
Olaf Greve wrote: Hi all, Firstly, I'm new to this list, so I'm hoping I'm not flogging a dead horse with this question, and I also hope I'm not inadvertently breaking any list etiquete in any way... Should this be the case, I apologise in advance. :P Alright, with that out of the way, I'll

[PHP] Re: Problems with realpath()

2006-01-31 Thread Barry
Ron King wrote: Hi, My hosting isp just upgraded from 4.3.1 to 4.4.1, and some of the tools I use (from InterAKT) no longer work. After doing quite a bit of research, I've seen a few bugs regarding realpath(), but none related to 4.4.1. When I try the following: With version 4.4.0, I ge

[PHP] Re: Problems getting the nodeName with DomDocument

2005-12-23 Thread Kenneth Andresen
Thanks Rob, that solved the problem for me! Rob Richards wrote: Kenneth Andresen wrote: I am having problems with the following functions where my return simply is "#text Joe #text Smith #text unknown", it should have read firstname Joe lastname Smith address unknown What am I doing wrong?

[PHP] Re: Problems getting the nodeName with DomDocument

2005-12-23 Thread Rob Richards
Kenneth Andresen wrote: I am having problems with the following functions where my return simply is "#text Joe #text Smith #text unknown", it should have read firstname Joe lastname Smith address unknown What am I doing wrong? You're trying to access the name of the Text node which is always

Re: [PHP] Re: Problems with PHP and Apache 2.x 404 ErrorDocument handlers

2005-12-01 Thread Jason Z
Unfortunately, and even more frustrating, I tried swapping out my script with the basic 'hello world'. It still doesn't run (when triggered via the 404 ErrorDocument parameter), but direct access run's just fine. I attempted to debug (per the PHP faq ( http://us2.php.net/manual/en/faq.installatio

[PHP] Re: Problems with PHP and Apache 2.x 404 ErrorDocument handlers

2005-12-01 Thread James Benson
Well if all other PHP scripts work then it must be a problem with your script or something changed in the latest PHP version that your script used, if you post the code someone may be able to say if something is wrong with it. James Jason Z wrote: I used to have a number of sites direct 40

[PHP] Re: Problems with header()

2005-06-17 Thread Matthew Weier O'Phinney
* Martín Marqués : > I have to send a PDF file after a submit on a form. The PDF is well created, > and I'm sending it to the client with this: > > $fpdfName = "/tmp/" . session_id() . ".pdf"; > > // Vamos a mandar el PDF > header('Content-type: application/pdf'); > // El archivo se va a llamar li

[PHP] Re: Problems escaping apostrophe, please help

2005-06-10 Thread JamesBenson
Hello, what exactly do you mean when you say break the browser, if its a PHP error you get then its something to do with PHP, however, your javascript is not correct and produces errors, im not too good at javascript but know when I see an error, i could be wrong but dont think its possible to

[PHP] Re: Problems escaping apostrophe, please help

2005-06-10 Thread Satyam
in htmlentities() use the second optional argument with a value of ENT_QUOTES, which will escape also single quotes and is not the default. Satyam ps: which I didn't know and just read in the manual. "Leila Lappin" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Hello all, > > I

[PHP] Re: Problems reading a DOMDocument out of a session

2005-04-25 Thread Cas
Because I'm not sure if attachments are included in this mailinglist, I copied the source of my sample script: - start file -- loadXML('The almighty DOM'); // Write DOMDocument to session $_SESSION['dom'] = $dom; // Trying a variable too $_SESSION['var'] =

[PHP] Re: Problems with print html to pdf

2005-02-17 Thread Jason Barnett
Juan Antonio Garrido wrote: > Hi everybody: > > Does it exists someone library I can print html files to pdf without it loss > information about my property css classes(background,color,width...)? > > With GPL library HTML_To_PDF3.3 it isn't possible... > > If the library is GPL much better. >

Re: [PHP] Re: Problems with MySql

2004-11-05 Thread - Edwin -
Hi, On Fri, 05 Nov 2004 12:55:17 -0200 Oliver <[EMAIL PROTECTED]> wrote: > Today I installed EasyPHP without any problems, but when > I updated the version of php, Mysql stoped.* Okay. So, how did you update it? Assuming you're on linux and using RPMs, [...] > / To connect to a MySQL server, P

[PHP] Re: Problems with MySql

2004-11-05 Thread Oliver
I have sent am mail to [EMAIL PROTECTED] and the sad to me send the error for this e-mail. --- Begin Message --- Hi Oliver, Please ask support questions at [EMAIL PROTECTED] Regards, Gabor Hojtsy Oliver írta: *Hello. My name is Oliver. I am from Brazil and I have had some problems. Today I install

Re: [PHP] Re: problems with different results on count() and select

2004-09-16 Thread Jason Wong
On Thursday 16 September 2004 17:19, Merlin wrote: > the where clause is a replacement for the order by clause in the first > statement. Inside this first select statement I am showing 20 results on > each page with the limit command as shown here: > > SELECT > u.user_name, > FROM > user

[PHP] Re: problems with different results on count() and select

2004-09-16 Thread Merlin
Thomas Seifert wrote: On Thu, 16 Sep 2004 10:43:46 +0200, Merlin wrote: Theoreticly the result number of the first select statement should be identical with the count statement, but it is not. Has anybody an idea how to fix that? It can't be the same number as you are using a where clause in th

[PHP] Re: problems with different results on count() and select

2004-09-16 Thread Thomas Seifert
On Thu, 16 Sep 2004 10:43:46 +0200, Merlin wrote: > Theoreticly the result number of the first select statement should be identical > with the count statement, but it is not. > > Has anybody an idea how to fix that? > It can't be the same number as you are using a where clause in the second st

[PHP] Re: problems setting up php5 on apache2 (WinXP Pro)

2004-09-10 Thread Richard Harb
I have no experience with PHP5 so far but this subject was asked before often enough with PHP4 - so the advice should still be valid... I generally didn't put any files in the %SYSTEMROOT% folder (which usually translates to C:\WINDOWS on a default installed WinXP machine) but instead I put the ph

[PHP] Re: problems setting up php5 on apache2 (WinXP Pro)

2004-09-10 Thread Catalin Trifu
Hi, I 2 use winxp pro at home, actually linux + windowoze and i have encountered the same problem with mysql extension. Some extensions, such as iconv, openssl depend on external libraries. btw! it's not a good idea to mess with windows\system32 folder. If you want you can ad

[PHP] Re: problems with sessions!!AAH

2004-08-16 Thread Torsten Roehr
"Angelo Zanetti" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Hi, > > Im running a win2k with apache and PHP 4.3.4 and I have gone through > the installation readme for PHP. I have copied the necessary files to > the correct directories. I have also set register_globals= Off (defau

[PHP] Re: problems linking a DLL to Zend symbols like

2004-07-05 Thread Jason Barnett
Try php.internals -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Re: Problems with variable handling !

2004-06-08 Thread Jason Wong
On Tuesday 08 June 2004 19:13, php-general wrote: > $var3 is defined as > > $var3 = "$var1$var2"; > > in the body of the if ($button1) statement !? what is button1 supposed to do and what is button2 supposed to do? -- Jason Wong -> Gremlins Associates -> www.gremlins.biz Open Source Software Sy

[PHP] Re: Problems with variable handling !

2004-06-08 Thread php-general
On Tuesday 08 June 2004 18:50, php-general wrote: > Only pressing the "Display concatenated strings"-button should > output the concatenated string, but this does not work, and I do not > understand why. $var3 is not defined. -- $var3 is defined as $var3 = "$var1$var2"; in the body of

Re: [PHP] Re: Problems with variable handling !

2004-06-08 Thread Jason Wong
On Tuesday 08 June 2004 18:50, php-general wrote: > Only pressing the "Display concatenated strings"-button should output the > concatenated string, but this does not work, and I do not understand why. $var3 is not defined. -- Jason Wong -> Gremlins Associates -> www.gremlins.biz Open Source S

[PHP] Re: Problems with variable handling !

2004-06-08 Thread php-general
- Original Message - From: php-general To: [EMAIL PROTECTED] Sent: Tuesday, June 08, 2004 12:36 PM Subject: Problems with variable handling ! Hi ! I have a Problem with hand over of variables; My Page consists of three files which I have enclosed to demonstrate the

[PHP] Re: Problems with variable handling !

2004-06-08 Thread php-general
phpinfo reports that register_globals=On

RE: [PHP] Re: Problems with very special characters

2004-05-10 Thread Wouter van Vliet
ginal Message- From: Aidan Lister [mailto:[EMAIL PROTECTED] Sent: Sunday, May 09, 2004 04:08 To: [EMAIL PROTECTED] Subject: [PHP] Re: Problems with very special characters Hi, Make sure the charset of your document matches the charset sent by the server - If you tell the browser the charset is A

[PHP] Re: Problems with very special characters

2004-05-08 Thread Aidan Lister
Hi, Make sure the charset of your document matches the charset sent by the server - If you tell the browser the charset is A, and use characters from charset B, you will get the problem observed. The charset can be sent from Apache, PHP and the actual charset is set in the document. It's a pain

[PHP] Re: Problems with patterns

2004-04-21 Thread Jason Barnett
What kinds of phrases are you looking for? If you want to know whether an *exact* phrase is going to appear in a block of text, just use strstr() or strpos(), they tend to be faster than regexes anyway. http://www.php.net/strpos function valid_phrase ($phrase, $search = 'text to search for') {

[PHP] Re: Problems with mail and php

2004-04-12 Thread Manuel Lemos
Hello, On 04/12/2004 12:48 PM, Luis Lebron wrote: I have a development box that uses our company's Exchange server as an smtp host. All of a sudden, the php mail function has stopped working. I can, however, send a message using mutt. Here's the output of the maillog: Apr 12 10:38:51 localhost

[PHP] Re: Problems with mail and php

2004-04-12 Thread Justin Patrin
Luis Lebron wrote: I have a development box that uses our company's Exchange server as an smtp host. All of a sudden, the php mail function has stopped working. I can, however, send a message using mutt. Here's the output of the maillog: Apr 12 10:38:51 localhost sendmail[11879]: i3CFckaV01187

[PHP] Re: Problems compiling PHP with ImageMagick

2004-03-22 Thread Paul Hopkins
I wrote: >First, cheers to Mike Ward for the quick response to my maiden post this >morning (about floating point vars). Second, apologies for getting Mike Ford's name wrong in my second-to-maiden post... :( Paul -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://ww

[PHP] Re: Problems with PHP5 RC1

2004-03-22 Thread memoimyself
On 19 Mar 2004 at 19:23, Lester Caine wrote: > [EMAIL PROTECTED] wrote: > > > I'm trying to run PHP5 RC1 on a Windows 2000 test server with Apache 2.0.47. > > Mines 2.0.48, but no problem. > > > Upon installation, when I first started Apache again, I got an error message to > > the effect > >

Re: [PHP] Re: Problems with PHP5 RC1

2004-03-19 Thread Red Wingate
I'm running RC1 on Win2k 2.0.47 without any problems. Make sure u updated your PATH settings as some folders got renamed or moved. Add /path/to/php and /path/to/php/dlls to your PATH setup. Switch 'extensions' to 'ext' in your php.ini as well if you still have an old version from an old PHP5 beta o

[PHP] Re: Problems with PHP5 RC1

2004-03-19 Thread Lester Caine
[EMAIL PROTECTED] wrote: I'm trying to run PHP5 RC1 on a Windows 2000 test server with Apache 2.0.47. Mines 2.0.48, but no problem. Upon installation, when I first started Apache again, I got an error message to the effect that php4ts.dll could not be found in the c:\winnt\system32 directory. Th

[PHP] Re: Problems with ö or ä in script

2004-02-07 Thread DvDmanDT
It's because the HTML or HTTP or whateverdoesn't allow them.. :p -- // DvDmanDT MSN: dvdmandt¤hotmail.com Mail: dvdmandt¤telia.com "Piet From South Africa" <[EMAIL PROTECTED]> skrev i meddelandet news:[EMAIL PROTECTED] > When using ö or ä the hyperlinks or photo references does not work even > th

[PHP] Re: problems and segmentation fault with constants in PHP5

2003-09-13 Thread Cristiano Duarte
I reported this BUG at php.bugs as http://bugs.php.net/?id=25323. It's there for 13 days now and still no answer... :-( Cristiano Duarte "Cristiano Duarte" <[EMAIL PROTECTED]> escreveu na mensagem news:[EMAIL PROTECTED] > Is this suppose to work ? Currently it does not. > > class Priority { >

[PHP] Re: Problems send MIME multipart/alternative mail with php

2003-08-19 Thread Manuel Lemos
Hello, On 08/19/2003 04:56 PM, Dan Van Derveer wrote: I have had no success sending multipart/alternative emails with php. I have tried everyone's various code snippets with no luck. I test the results with Outlook and Outlook Express. Everytime my boundary tag ends up showing as part of my messag

[PHP] Re: problems with rename() - permission denied

2003-03-25 Thread liljim
"Christian Rosentreter" wrote: Hi Christian, > I've a small problem, which mades me crazy... :\ > > I'm trying to rename() a swapfile to real destination file (atomic update). > It works on differnt environments very well. Sadly not on my ISP-server > I've added an "chmod($swapfile,0777)", but th

[PHP] Re: Problems posting

2003-03-03 Thread Niels Andersen
Actually, I did not check the time. But I was online for more than 10 minutes and pressed my refresh button sevaral times. My post did not appear. "Henry Grech-Cini" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Did you send this post at 17:17 and did it arrive at 17:22? > > "Niels

[PHP] Re: Problems posting

2003-03-03 Thread Henry Grech-Cini
Did you send this post at 17:17 and did it arrive at 17:22? "Niels Andersen" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > When I post something here, it first appears several hours later. How can it > be so? > > -- PHP General Mailing List (http://www.php.net/) To unsubscribe,

[PHP] Re: Problems with SQL queries in PHP script

2003-02-08 Thread Justin Garrett
http://www.php.net/manual/en/function.addslashes.php Justin Garrett "Mike Hilty" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Hello, > I am running into an issue where when a user inputs an apostrophie ' > into the textarea section of my form, it will ge

[PHP] Re: problems with ==?

2003-02-07 Thread Seraphim
Peter Gumbrell wrote: > In the following code > > $view = $HTTP_GET_VARS[view]; > print $view; > if ($view == "vendor") > { code here > } > > print $view produces 'vendor' > > but the if statement in the next section isn't being triggered. Can > anyone see what is wrong here? I have tried double qu

[PHP] Re: problems with include()

2003-01-30 Thread Al
Looks like you are only backing up 2 levels when you need 3. Why not try something like: $root= "the absolute path to your root folder"; Then simply: include ($root . "mainfile.php"); etc. Daniel Negron/Kbe wrote: I have this code : which works great from the root dir where these files

[PHP] Re: problems to get image informations form local harddrive using"getimagesize"

2003-01-14 Thread Lars Olsson
Hi! It could be a permission problem. What OS are you using? Win98? Win2000? WinXP? Kindly /Lars Olsson ([EMAIL PROTECTED]) Harald Mohring wrote: isn't it possible to get image informations from the local harddrive? $fotoinfo=getimagesize("C:\\Files\\Temp\\Image.jpg"); if i use that code,

Re: [PHP] Re: problems with jsp & php

2002-12-12 Thread Jeff Bluemel
yes this is javascript - for some reason I thought jsp was another term for javascript so I apologize. Let me try these code changes, and see how this shakes out. Jeff "Chris Wesley" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > I'm pretty sure everyone else

RE: [PHP] Re: Problems connecting to a MySQL database

2002-12-12 Thread Craig Thomas
>>previous page. Try putting the log in information and anything >>else needed >>in hidden fields in your form. YIKES!...hidden form fields are viewable in the html source generated. session_register() anyone? I thought you were trying to re-use the db connection? if so, use mysql_pconnect() i

Re: [PHP] Re: Problems connecting to a MySQL database

2002-12-12 Thread Hugh Danaher
IL PROTECTED]> Sent: Thursday, December 12, 2002 11:58 AM Subject: [PHP] Re: Problems connecting to a MySQL database > A prompt? Not sure I understand. > > The first time around it connects ok with PHP. I can retrieve all the rows. > It's the 2nd time where it doesn't. >

Re: [PHP] Re: problems with jsp & php

2002-12-12 Thread Chris Wesley
I'm pretty sure everyone else is as confused by your description as I am. (Hence, I didn't answer.) It looks like you're trying to generate JavaScript w/ PHP, but your subject mentions JSP. In a nutshell, I don't know if what you're doing is over my head, or just not explained clearly. I can man

[PHP] Re: Problems connecting to a MySQL database

2002-12-12 Thread eric
A prompt? Not sure I understand. The first time around it connects ok with PHP. I can retrieve all the rows. It's the 2nd time where it doesn't. Jeff Bluemel wrote: > have you tried connected to the mysql database from a prompt before using > php??? > > > "Eric" <[EMAIL PROTECTED]> wrote i

[PHP] Re: problems with jsp & php

2002-12-12 Thread Jeff Bluemel
somebody has to have an answer to this... "Jeff Bluemel" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > I cannot figure out where my problem is with the following script. I know > I've used this syntax successfuly in the past. when I take out the > variables

[PHP] Re: Problems connecting to a MySQL database

2002-12-12 Thread Jeff Bluemel
have you tried connected to the mysql database from a prompt before using php??? "Eric" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Greetings! > > I have a script which attempts to connect to the database in three different > segments of code. > > I'm using

[PHP] RE: Problems with a simple While-If condition With the statement

2002-11-26 Thread Rodrigo de Oliveira
" ?> Nenhum profissional cadastrado."; } ?> ID Profissional"; echo"".$row['id'].""; echo"Nome"; echo"".$row['nome'].""; echo"Profissão"; echo"".$row['area'].""; echo"Bairro"; echo"".$row['bairro'].""; echo"Telefone"; echo"".$row['telefone'].""; echo"E-mail"; echo"".$row['email'].""; echo

[PHP] Re: Problems with a simple While-If condition

2002-11-26 Thread Jason Romero
try using the extract command instead of the array reference ie: ID Profissional"; echo"$id"; ?> instead of : while ($row = mysql_fetch_array($res)) { ?> ID Profissional"; echo"".$row['id'].""; Jason "Rodrigo De Oliveira" <[EMAIL PROTECTED]> wrote in message 002501c295a6$3e048ab0$6ed4a5c8@soh

Re: [PHP] Re: problems with PHP code (Please help!)

2002-11-19 Thread Jason Wong
On Tuesday 19 November 2002 17:40, Noodle Snacks wrote: > It it better that you use a subject that is related to the problem eg. > "Email Script not working after server upgrade" And also, it is better to include your code inline (as text) rather than as an attachment. A lot of people would not b

  1   2   >