[PHP] Premature end of script

2013-07-17 Thread R B
Hello, 5 years ago, y developed a php system and was working fine. But 20 days ago, when y try to access to some pages (not all the pages), in the log appears this message and the page is not displayed: ==> /usr/local/apache/logs/error_log <== [Wed Jul 3 02:36:58 2013] [error] [client 10.30.6.161

[PHP] Basic Statistics

2012-10-01 Thread George R Smith
Can anyone recommend a basic php stat package, easy to install and use. Just basic stuff like mean, median, range std dev etc thanks george

[PHP] PHP Subroutine Call Blowing UP with Strings

2012-05-06 Thread George R Smith
4096 May 3 20:28 . drwxr-xr-x 5 root root 4096 May 2 07:35 .. -rw-r--r-- 1 root root 62936 Feb 10 08:31 curl.so -rw-r--r-- 1 root root 95596 Feb 10 08:31 gd.so -rw-r--r-- 1 root root 38272 Feb 10 08:31 mcrypt.so -rw-r--r-- 1 root root 109220 Feb 10 08:31 mysqli.so -rw-r--r-- 1 root root 423

Re: [PHP] Re: Script failing on extension_dir

2012-04-10 Thread George R Smith
eorge -Original Message- From: Matijn Woudt Sent: Tuesday, April 10, 2012 11:05 AM To: Shawn McKenzie Cc: George R Smith ; php-general@lists.php.net Subject: Re: [PHP] Re: Script failing on extension_dir On Tue, Apr 10, 2012 at 5:18 PM, Shawn McKenzie wrote: On 04/09/2012 03:16 PM,

[PHP] Script failing on extension_dir

2012-04-09 Thread George R Smith
26+lfs# ls -la total 1688 drwxr-xr-x 2 root root 4096 Apr 9 08:33 . drwxr-xr-x 5 root root 4096 Apr 8 08:20 .. -rw-r--r-- 1 root root 62936 Feb 10 08:31 curl.so -rw-r--r-- 1 root root 95596 Feb 10 08:31 gd.so -rw-r--r-- 1 root root 20024 Feb 27 2010 idn.so -rw-r--r-- 1 root root 335288 Jun 1 2010 imagick.so

[PHP] Need Part-time Coder

2011-12-27 Thread John R. Cornell II
Email PHP sample for consideration

Re: [PHP] PHP sockets enabled but socket_create() gives an error call to undefined function

2010-11-04 Thread Suyash R
On Tue, Nov 2, 2010 at 5:49 PM, Nathan Nobbe wrote: > On Tue, Nov 2, 2010 at 2:33 PM, Suyash R wrote: > >> No, we didn't try it our dept.'s admin wants to know where is sockets.so >> file on disk >> > > lol, tell your dept.'s 'admin' t

Re: [PHP] PHP sockets enabled but socket_create() gives an error call to undefined function

2010-11-04 Thread Suyash R
uyash On Tue, Nov 2, 2010 at 5:30 PM, Nicholas Kell wrote: > > On Nov 2, 2010, at 3:23 PM, Suyash R wrote: > > > > > No, our dept.'s admin wants to know where is sockets.so file on disk and > why should we try this when the phpinfo() displays sockets being enabled? >

Re: [PHP] PHP sockets enabled but socket_create() gives an error call to undefined function

2010-11-02 Thread Suyash R
find it. It's a shared object. Right? Are they stored on disk as individual files or all together compiled into a binary. Thanks for the link I will request him again to try it out. Thank you. Suyash Ramineni On Tue, Nov 2, 2010 at 4:23 PM, Suyash R wrote: > > No, our dept.'

Re: [PHP] PHP sockets enabled but socket_create() gives an error call to undefined function

2010-11-02 Thread Suyash R
or all together compiled into a binary Thank you Suyash Ramineni On Tue, Nov 2, 2010 at 3:55 PM, Nicholas Kell wrote: > > On Nov 2, 2010, at 2:50 PM, Suyash R wrote: > > > My admin disagrees and I have questions too. > > > > The phpinfo() fuction displays that s

Re: [PHP] PHP sockets enabled but socket_create() gives an error call to undefined function

2010-11-02 Thread Suyash R
, 2010, at 1:12 PM, Suyash R wrote: > > > No, sockets.so in not included in any of the machines php.ini file. > However, I found that Linux machine's php.ini doesn't include sockets.so and > sockets work fine on it but don't work on the Solaris machine. > >

Re: [PHP] PHP sockets enabled but socket_create() gives an error call to undefined function

2010-11-01 Thread Suyash R
No, sockets.so in not included in any of the machines php.ini file. However, I found that Linux machine's php.ini doesn't include sockets.so and sockets work fine on it but don't work on the Solaris machine. Is it required to be included only in Solaris? On Mon, Nov 1, 2010 at 1:41 PM, Nicholas K

[PHP] simple WSDL client

2010-02-08 Thread Robert R
SoapClient->__doRequest('http://services...', '', 1, 0) #1 [internal function]: SoapClient->__call('getTemp', Array) #2 /var/www/phpsoap/client5.php(4): SoapClient->getTemp('12345') #3 {main} thrown in /var/www/phpsoap/client5.php on line 4 Am I missing anything? Thanks, R

[PHP] ereg_replace to preg_replace translation

2009-08-11 Thread m a r k u s
\n", "", $sql); Any help for tranlation or alternative ? Thanks -- m a r k u s -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] PHP as Server Side for a Web Database Application.

2009-06-09 Thread R. S. Patil
Hi, We are in phase of evaluating PHP as Serverside technology for our first web application. We have finalized Flex for user interface and Birt as reporting engine. Now the data services are to be evaluated. Flex forums recommended us using PHP for this. We would like to implement SOA for databa

Re: [PHP] Amazon s3 and PHP

2009-06-03 Thread R B
To configure a AMI have some extra fee? Do you have a link to read how to run php files in amazon s3? Thanks. On Wed, Jun 3, 2009 at 11:13 AM, Bastien Koert wrote: > On Wed, Jun 3, 2009 at 12:27 PM, R B wrote: > > Hi, > > > > Do you know if amazon s3 host

[PHP] Amazon s3 and PHP

2009-06-03 Thread R B
Hi, Do you know if amazon s3 hosting support php files? Thanks. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Multithreading in PHP

2009-03-18 Thread Alpár Török
then the server starts the processing. > Please suggest if it is possible. > > Regards, > Manoj > > > > On Tue, Mar 17, 2009 at 7:01 PM, Alpár Török wrote: >> >> 2009/3/17 Manoj Singh : >> > Hi Guys, >> > >> > I am creating a page whic

Re: [PHP] Multithreading in PHP

2009-03-17 Thread Alpár Török
2009/3/17 Manoj Singh : > Hi Guys, > > I am creating a page which submits the form through Ajax request & the > submitted page is sending the mails to n number of users. Now until the mail > sends or the page process completed the end user has to wait. > > Is it possible that server sends the respo

[PHP] Execute flash files with PHP

2009-02-19 Thread R B
Hello. I have two scripts in php that reads a .swf or .flv movie file, like this: SCRIPT # 1 SCRIPT # 2 The script # 1 with the .swf file works fine: the video is executed with streaming. The script # 2 with the .flv file is executed but without streaming. If i execute the movie.flv direc

Re: [PHP] Re: Extract result from a https remote server response

2009-02-13 Thread m a r k u s
Sorry all, I was testing in a Windows environment. I feel like an idiot... :) Thanks to all. -- m a r k u s Bruno Fajardo wrote: Assigning the return of file_get_contents to a variable? Didn't get your point... 2009/2/13 m a r k u s Shawn McKenzie wrote: Shawn McKenzie wrote: m a r

[PHP] Re: Extract result from a https remote server response

2009-02-13 Thread m a r k u s
Shawn McKenzie wrote: Shawn McKenzie wrote: m a r k u s wrote: Hi all, Example : https://www.moneybookers.com/app/email_check.pl?email=t...@toto.com&cust_id=123546&password=123 The MB server response displayed is : Illegal operation. We would like to put the result below in a php

[PHP] Re: Extract result from a https remote server response

2009-02-13 Thread m a r k u s
Shawn McKenzie wrote: m a r k u s wrote: Hi all, Example : https://www.moneybookers.com/app/email_check.pl?email=t...@toto.com&cust_id=123546&password=123 The MB server response displayed is : Illegal operation. We would like to put the result below in a php variable and process it .

[PHP] Extract result from a https remote server response

2009-02-12 Thread m a r k u s
Hi all, Example : https://www.moneybookers.com/app/email_check.pl?email=t...@toto.com&cust_id=123546&password=123 The MB server response displayed is : Illegal operation. We would like to put the result below in a php variable and process it . An idea ? PS: The server is secured. The php functio

Re: [PHP] Re: mysql_query - CREATE DATABASE

2009-02-09 Thread R B
thank you. On Mon, Feb 9, 2009 at 1:14 PM, Shawn McKenzie wrote: > R B wrote: > > I´m looking that i have another problem: > > > > I´m making a software to install in any server. > > > > The software needs a database, so i want to create a script install.ph

Re: [PHP] Re: mysql_query - CREATE DATABASE

2009-02-09 Thread R B
PM, Shawn McKenzie wrote: > Shawn McKenzie wrote: > > R B wrote: > >> Hello, > >> > >> When i create a mysql database with the next command: > >> > >> mysql_query("CREATE DATABASE my_db",$con) > >> > >> In the server

Re: [PHP] Re: mysql_query - CREATE DATABASE

2009-02-09 Thread R B
e database, because a prefix is added. On Mon, Feb 9, 2009 at 12:17 PM, Shawn McKenzie wrote: > R B wrote: > > Hello, > > > > When i create a mysql database with the next command: > > > > mysql_query("CREATE DATABASE my_db",$con) > > > > In th

[PHP] mysql_query - CREATE DATABASE

2009-02-09 Thread R B
Hello, When i create a mysql database with the next command: mysql_query("CREATE DATABASE my_db",$con) In the server is created the database, but usually the name is created with a prefix. In this case: someuser_my_db How can i detect with PHP the complete name of the new database created? Th

[PHP] Include PHP library file in the .htaccess

2009-01-30 Thread R B
Hello. Supose that i have this script: I want to know if there is a way to call the lib.php library from the .htaccess instead of the PHP script? Thanks.

[PHP] Non-traditional software accessing my website

2009-01-26 Thread R B
Hello, Is there a way to be sure that a website is going to be accessed only by traditional browsers and not from another software that send to the server the same headers of any of the traditional browsers? For example, supose that i only want to give access to my site users from firefox, ie, chr

Re: [PHP] PHP and Apache configuration

2009-01-19 Thread R B
I like this apache solution, but if i put SetEnvIf Referer "^http://www.yourdomain.com"; local_referal Then i can access the file putting this path in the URL: http://www.yourdomain.com/xyz/scriptfile.php And i don´t want the script to be access by the url. That is the main problem. Thanks O

[PHP] PHP and Apache configuration

2009-01-19 Thread R B
Hello, I need that every time someone access one image file in my server, then redirect to a php file. I make this well with: Redirect 301 imagefile.jpg scriptfile.php But i need that the file scriptfile.php can only be accessed by this redirect command. If someone try to access directly from

[PHP] Create PHP form from MySQL table structure

2008-12-21 Thread R B MacGregor
Hi folks Anybody got any recommendations for a utility which would create a quick head start by creating the php/html code for a basic form using the field structure of a MySQL table ? Thanks for any suggestions. -- Ronnie MacGregor Scotland Ronnie at dBASEdeveloper dot co dot uk www.dBASEd

Re: [PHP] localization folder for web site

2008-09-14 Thread Alain R.
Jochem Maas wrote: Alain R. schreef: Hi, mostly (90%) websites are designed to include localization (made in php) folder like following: www.mywebsite.com/en/ www.mywebsite.com/de/ www.mywebsite.com/fr/ why do they not use only 1 folder and use dynamically PHP to change localization of

Re: [PHP] localization folder for web site

2008-09-13 Thread Alain R.
Maciek Sokolewicz wrote: 2. google "apache mod_rewrite", that way you can rewrite urls of the form www.example.org/de/whatever to www.example.org/whatever?lang=de or even stick the de part into an environment variable $_ENV['lang'] = 'de' - Tul the mod_rewrite is possible only if i own/ma

Re: [PHP] localization folder for web site

2008-09-13 Thread Alain R.
how can i do the same ? Jochem Maas wrote: Alain R. schreef: Hi, mostly (90%) websites are designed to include localization (made in php) folder like following: www.mywebsite.com/en/ www.mywebsite.com/de/ www.mywebsite.com/fr/ why do they not use only 1 folder and use dynamically PHP to

Re: [PHP] localization folder for web site

2008-09-13 Thread Alain R.
so how can i do the same ? i mean to have 1 single PHP page and to localize, but to have the URI with /en, or /fr or /de ? i know how to localize the complete website i already done it, but what you told ? > One would hope that unless it's a pretty small static site those "folders" actually

[PHP] localization folder for web site

2008-09-13 Thread Alain R.
Hi, mostly (90%) websites are designed to include localization (made in php) folder like following: www.mywebsite.com/en/ www.mywebsite.com/de/ www.mywebsite.com/fr/ why do they not use only 1 folder and use dynamically PHP to change localization of website ? has this something to do with se

[PHP] Sending POST variables without html code

2008-09-05 Thread R B
Hi, I need to create a cron job PHP script to access every day the information of a webpage that is out of my server. This webpage needs POST variables to display the information. How can i send this POST variables from my PHP script without having a html form, and receive the required informatio

Re: [PHP] multiple question form creation

2008-08-26 Thread Alain R.
thanks a lot Dan, i already know this possibility with textarea but it is not so nice. i would like to do something like under windows/linux. to have a button and when user click on it it add a new field for a new answer... however i do not know if it is so nice step for customer... any other i

[PHP] multiple question form creation

2008-08-26 Thread Alain R.
Hi, i have a web application in which some people should be able to create form adding questions and possible answers. basically user should: 1. type the question (which will be displayed to customer) 2. select type of answers (closed, open, list, multiple answer, and so on...) 3. add possibl

[PHP] import XLS sheet into DB

2008-08-15 Thread Alain R.
Hi, I would like to import content of an XLS sheet into a PostgreSQL DB (table). How can i do that ? thanks a lot, A. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Re: News reader

2008-08-10 Thread Alain R.
it seems that news.php.net server is checking if address is real or a fake... at least it is checking if user's address is registered into their mailing list or if there are some keywords from filter like: fake, noemail, nospam,... now it works :-) Alain R. wrote: if i use a real

Re: [PHP] Re: News reader

2008-08-10 Thread Alain R.
if i use a real email address and SMTP from my real server, it works. but not with email address [EMAIL PROTECTED] :-( Alain Roger wrote: yes on port 119. i do not want to use my professional email address (or SMTP settings) to send message on newsgroups. for MS, Borland, eclipse and other news

Re: [PHP] PHP and Apache

2008-06-23 Thread R B
The people that will install this system, don´t have programming knowledge. They have a website, buy don´t have knowledge of configurations. If i add all the lines, it don´t works, unless the last line is the correct for that particular server. > > > Why not just read the manual and add the ap

[PHP] PHP and Apache

2008-06-23 Thread R B
Hello, I´m developing a PHP system that needs one of these lines in the .htaccess, depending of the server configuration: AddHandler application/x-httpd-php .xyz or AddHandler application/x-httpd-php4 .xyz or AddHandler application/x-httpd-php5 .xyz How can i detect "on the fly" which line i

Re: [PHP] Memory cache problem

2008-06-13 Thread R B
, Jun 13, 2008 at 4:17 PM, Stut <[EMAIL PROTECTED]> wrote: > On 13 Jun 2008, at 23:12, R B wrote: > >> I´m making a video manual, but i don´t want to be cached in the client >> machine. >> >> I make a script like this: >> >> > header("E

[PHP] Memory cache problem

2008-06-13 Thread R B
Hello, I´m making a video manual, but i don´t want to be cached in the client machine. I make a script like this: With Internet explorer the script works fine. But Firefox have two types of cache: Memory cache and disk cache. With firefox disk cache, the script works fine, because don´t appear

[PHP] Another way to send variables

2008-06-13 Thread R B
Hello. I have this script (script1.php): I need to send the $a variable to script2.php, but i don´t want to send it in the url. Is there another method? Maybe with another header instruction without putting in the url? Thank you.

Re: [PHP] PHP with C++[Zend Engine?]

2008-06-09 Thread Павел aka [R-K]
If you can, help me please. PS.Sorry for my English. -- === С уважением, Манылов Павел aka [R-k] icq: 949-388-0 mailto:[EMAIL PROTECTED] === А ещё говорят так: A kid'll eat the middle of an Oreo, eventually. [fortune] -- PHP General Mailing List (http://www.php.n

Re: [PHP] PHP with C++[Zend Engine?]

2008-06-09 Thread Павел aka [R-K]
If you can, help me please. PS.Sorry for my English. -- === С уважением, Манылов Павел aka [R-k] icq: 949-388-0 mailto:[EMAIL PROTECTED] === А ещё говорят так: A kid'll eat the middle of an Oreo, eventually. [fortune] -- PHP General Mailing List (http://www.php.n

Re: [PHP] PHP with C++[Zend Engine?]

2008-06-09 Thread Павел aka [R-K]
If you can, help me please. PS.Sorry for my English. -- === С уважением, Манылов Павел aka [R-k] icq: 949-388-0 mailto:[EMAIL PROTECTED] === А ещё говорят так: A kid'll eat the middle of an Oreo, eventually. [fortune] -- PHP General Mailing List (http://www.php.n

[PHP] PHP with C++

2008-06-09 Thread R B
Hi, I have a C++ script containing the function hello(x, y, z) I want to access this C++ function from PHP, and output with PHP the return information. How can i do this? Thank you.

RE: [PHP] About MS SQL Connections...

2008-06-04 Thread Lic. Eduardo R. Hernández Osorio
Asunto: Re: [PHP] About MS SQL Connections... On Tue, Jun 3, 2008 at 1:43 PM, Lic. Eduardo R. Hernández Osorio < [EMAIL PROTECTED]> wrote: > Hello. > > I have a problem with a Desktop Edition MS SQL Server servant, when I try > to get connected to crosswise of PHP functions to th

[PHP] About MS SQL Connections...

2008-06-03 Thread Lic. Eduardo R. Hernández Osorio
Hello. I have a problem with a Desktop Edition MS SQL Server servant, when I try to get connected to crosswise of PHP functions to this, it provokes an error and I can not achieve the connection. However when I try the same operation on an Standard Edition MS SQL Server servant I am able to accompl

RE: [PHP] Complex escape string

2008-05-03 Thread Steven R. Ringwald
-Original Message- From: cyaugin [mailto:[EMAIL PROTECTED] Sent: Saturday, May 03, 2008 10:20 AM To: php-general@lists.php.net Subject: [PHP] Complex escape string I have this line of code: $q = "This is the string that will go into the query: {${mysql_real_escape_string($_GET['searchstr

[PHP] RE: XHTML Validation problem

2008-05-02 Thread Steven R. Ringwald
>>> I have a page that displays data entered by the user. There is one >>> user that entered the character "&" inside the text he typed. For >>> this case the xhtml validation fails and gives me the following >>> error: >>> "character "&" is the first character of a delimiter but occurred >

RE: [PHP] XHTML Validation problem

2008-05-02 Thread Steven R. Ringwald
Begin forwarded message: >> I have a page that displays data entered by the user. There is one >> user that entered the character "&" inside the text he typed. For >> this case the xhtml validation fails and gives me the following >> error: >> "character "&" is the first character of a deli

Re: [PHP] avoid calling php script

2008-03-13 Thread H u g o H i r a m
HTTP_REFERER will do the job, thanks! Hugo. --- Steve Edberg escribió: At 3:55 AM +0100 3/13/08, H u g o H i r a m wrote: Hello I have a swf that runs a PHP script that generates a XML, on the PHP is there any way to detect if the file is being called from the swf or from the browser

[PHP] avoid calling php script

2008-03-12 Thread H u g o H i r a m
Hello I have a swf that runs a PHP script that generates a XML, on the PHP is there any way to detect if the file is being called from the swf or from the browser? because I want to avoid the file being run directly from the browser or from any other file than the swf. regards, Hugo. -- PHP

Re: [PHP] unable to unset reference

2008-02-20 Thread Sylvain R.
"Stut" <[EMAIL PROTECTED]> a écrit dans le message de news: [EMAIL PROTECTED] > Sylvain R. wrote: >> "Chris" <[EMAIL PROTECTED]> a écrit dans le message de news: >> [EMAIL PROTECTED] >>> Sylvain Rabot wrote: >>>> Hello, >&

Re: [PHP] unable to unset reference

2008-02-20 Thread Sylvain R.
"Chris" <[EMAIL PROTECTED]> a écrit dans le message de news: [EMAIL PROTECTED] > Sylvain Rabot wrote: >> Hello, >> >> First of all I would like to know if one day we will be able to unset >> $this into a class in order to destroy the object. It could really be >> useful to prevent big memory usag

[PHP] multiple curl and web service

2007-10-01 Thread H u g o H i r a m
Hi, I am having this problem, I am retrieving some data from a MySQL DB, and using it to post a cURL, what I am calling is a web service, and I have 3 options to do it: SOAP, GET and POST, I am not very familiar with SOAP, so I am using POST, in response I get a XML on each call to the web se

[PHP] about SQL authentication on PHP

2007-07-19 Thread Lic. Eduardo R. Hernández Osorio
Hello: I'm trying to connect to a SQL Server database with PHP using windows auth. To do that I modified the PHP.ini file changing the line above: ... ; Use NT authentication when connecting to the server mssql.secure_connection = Off ... putting mssql.secure_connection = On ... instead but when

RE: [PHP] acerca de extensiones SQL Server

2007-07-16 Thread Lic. Eduardo R. Hernández Osorio
getting the MSSQL extension installed. -Stut -- http://stut.net/ > On Sa, Jul 14, 2007 at 10:39:40 -0400, Lic. Eduardo R. Hern?ndez Osorio wrote: >> >> >> Hi: >> >> I need use the SQL extension on PHP to connect to any SQL Server database. >> How

[PHP] acerca de extensiones SQL Server

2007-07-14 Thread Lic. Eduardo R. Hernández Osorio
Hi: I need use the SQL extension on PHP to connect to any SQL Server database. How I configure PHP on Linux to use that extension? I use debian with apache2 and PHP5 installed on it. Waiting for your help, Richard Eduardo Ricardo Hernández Osorio Téc

[PHP] about graphs in php

2007-07-10 Thread Lic. Eduardo R. Hernández Osorio
Hello everybody: I need work with some statistics graphs and show it in php and I don't know how to make it. How could I make some statistics graphs like histograms or Pie graphs using php and information stored in any database? Eduardo Ricardo Hernández

Re: [PHP] Extracting Variables From URL

2007-05-16 Thread J R
http://www.php.net/reserved.variables use $_SERVER['PHP_SELF'] or $_SERVER['REQUEST_URI'] just parse its value to get what you needed. hth, John On 5/17/07, CK <[EMAIL PROTECTED]> wrote: Hi All, The following code works just fine for outputting links from an array. The next goal, is parsin

[PHP] Alternatives to PHPLib for authentication, session management, etc

2007-03-23 Thread Mark R. Cervarich
Hi. Been using PHP since the 2.0 days, and been using PHPLib since 2000 as the main method of user authentication (logging in/out during same session), and simultaneously use it to give the users who are logged in different permissions. Since PHPLib has long ago stopped (at least in my opini

Re: [PHP] Filtering _REQUEST.. Why is this bad?

2007-02-13 Thread J R
to be passed but you need to pass your page using POST.(like i said be careful and not over use because of lazyness) (i hope i'm being clear) On 2/14/07, Richard Lynch <[EMAIL PROTECTED]> wrote: On Mon, February 12, 2007 8:41 pm, J R wrote: > it is not adviced to do filtering on

Re: [PHP] Filtering _REQUEST.. Why is this bad?

2007-02-12 Thread J R
here's my opinion on the matter. it is not adviced to do filtering on _REQUEST getting data in general from it actually. It is much better to specify where your data is coming from ( e.g. _POST or _GET). This is because variable _REQUST contains all the data from the cookies, get and post. and if

Re: [PHP] Text Editor for Windows?

2007-02-07 Thread J R
if you want a very lightweight use notepad2[1] i use php eclipse though :) [1] http://www.flos-freeware.ch/notepad2.html On 2/8/07, Ryan Fielding <[EMAIL PROTECTED]> wrote: Stephen wrote: > I am finding that notepad is lacking when correcting syntax errors in my php code. No line numbers. > >

[PHP] Problem with copy() function

2007-01-05 Thread R B
Hi, I'm trying to copy a file like this: copy("home/xxx/public_html/yyy/zzz/index.php", "home/xxx/public_html/yyy/www/index.php") and have this error: *Warning*: Wrong parameter count for copy() in */home/.* Someone can help me please? Thanks,

RE: [PHP] Concerning SSL

2007-01-02 Thread R. Van Tassel
Thanks. http://www.loudmerch.com/clientservices/ user: php pass: list -Original Message- From: Jochem Maas [mailto:[EMAIL PROTECTED] Sent: Tuesday, January 02, 2007 11:52 AM To: R. Van Tassel Cc: php-general@lists.php.net Subject: Re: [PHP] Concerning SSL R. Van Tassel wrote: > How

RE: [PHP] Concerning SSL

2007-01-02 Thread R. Van Tassel
s coded as if a root file is coded as if in a directory -Original Message- From: Jochem Maas [mailto:[EMAIL PROTECTED] Sent: Tuesday, January 02, 2007 11:27 AM To: R. Van Tassel Cc: php-general@lists.php.net Subject: Re: [PHP] Concerning SSL R. Van Tassel wrote: > Hello everyone, I

[PHP] Concerning SSL

2007-01-02 Thread R. Van Tassel
Hello everyone, I hope you all had a great new year. I'm having an issue with a website where changing the URL from http:// to https:// makes the images disappear. The images are all relative and not absolute. How can I fix this? Thanks, -Roy -- PHP General Mailing List (http://www.php.net/) T

[PHP] Recomended host

2006-12-18 Thread R B
Hello. I'm looking for a host to put my website. I was looking godaddy.com, but i read in phplist forum that godaddy have limitations in the number of mail to send per day. Someone can recomend me a good host provider, with good stability, good support, good features, and no limitation in the use

[PHP] Re: Re: taking a one off payment

2006-12-07 Thread Mark R. Cervarich
On Thu, 7 Dec 2006, Lester Caine wrote: Mark R. Cervarich wrote: http://checkout.google.com -- Google's answer to PayPal. Best part is, they are taking NO FEES from now through 12/31/2007. So you can use them to receive credit card payments for just over a year for FREE. At 2% + $2

[PHP] Re: taking a one off payment

2006-12-06 Thread Mark R. Cervarich
tion payments, but not do much more with it, so you needn't store the CC# to maintain state. -- Some people have a "gift" link here. Know what I want? I want you to buy a CD from some starving artist. http://cdbaby.com/browse/from/lynch Yeah, I get a buck. So? -- PHP General Mailing

Re: [PHP] How do you do the ? mark after a filename

2006-11-12 Thread J R
using "click me in your php you can get its value by use of the $_GET variable. hth, john On 11/13/06, Thomas Bonham <[EMAIL PROTECTED]> wrote: Thank you for that, it was a big help. Can I also call function that way? Again thank you for your help. Thomas Tom Chubb wrote: > On 12/11/06, T

Re: [PHP] Month in a numeric form

2006-10-15 Thread J R
http://www.php.net/manual/en/function.strtotime.php http://www.php.net/manual/en/function.date.php On 10/16/06, Ron Piggott (PHP) <[EMAIL PROTECTED]> wrote: Is there a way I am able to use the DATE command to convert January to 1, February to 2, etc. -- GMail Rocks!!!

Re: [PHP] Apply the hyper link ( javascript functon ) with php

2006-10-08 Thread J R
echo ' Test '; On 10/9/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: Dear All, How to apply the following function with php ? Test Edward. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- GMail Rocks!!!

Re: [PHP] Hotmail and junk mail

2006-10-02 Thread J R
if i get you right. your email to hotmail goes to junk/spam mail? i think i encounter this way way back when our email domain got listed into spam emailer :D so better check if your domain is on that list. i forgot what was the URL. anyway just an idea. hth, John On 10/2/06, Stefan van der L

Re: [PHP] newbie php tutorial question

2006-10-01 Thread J R
run this bit of code to check if everything is working. On 10/2/06, Stut <[EMAIL PROTECTED]> wrote: srdaniel wrote: > I setup Apache 2.2.3.0 and PHP 5.1.6.6. > > When I run this PHP file: > > > > > PHP Test > > > Hello World'; ?> > > > > > Any id

Re: [PHP] Affiliate system

2006-09-13 Thread J R
use session. or you can store it in a database but that will take speed. :) using session is much better rather than using cookies for lots of reason (just google) specially if you are concered with security. just my 2cents. hth, john p.s. if the client cookies is disabled set to true the ses

Re: [PHP] copy, open, or manipulate an image hosted in a https server

2006-09-12 Thread J R
i'm just going to guess. check your settings if it allows to open external files, especifically allowed to fopen url. http://www.php.net/manual/en/ref.filesystem.php#ini.allow-url-fopen hth, john On 9/13/06, R B <[EMAIL PROTECTED]> wrote: I think it's a security https

Re: [PHP] copy, open, or manipulate an image hosted in a https server

2006-09-12 Thread R B
I think it's a security https problem. I was reading that with IIS, you can't use fopen in a https server... I think i have this problem also with copy... Some ideas? On 9/12/06, R B <[EMAIL PROTECTED]> wrote: It's not a syntaxis problem. On 9/12/06, Robert Cummi

Re: [PHP] copy, open, or manipulate an image hosted in a https server

2006-09-12 Thread R B
It's not a syntaxis problem. On 9/12/06, Robert Cummings <[EMAIL PROTECTED]> wrote: On Tue, 2006-09-12 at 12:27 -0600, R B wrote: > Hello, > > I need to copy, open or manipulate a gif images that is hosted in a https > server. > > But when i try to do this,

[PHP] copy, open, or manipulate an image hosted in a https server

2006-09-12 Thread R B
Hello, I need to copy, open or manipulate a gif images that is hosted in a https server. But when i try to do this, i recive a warning like this: *Warning*: imagecreatefromgif(https:///aaa.gif): failed to open stream: Invalid argument in . I recive a similar message if i use: copy(htt

Re: [PHP] register globals on

2006-09-12 Thread J R
correction: $GLOBALS not $_GLOBAL :) cheers On 9/12/06, J R <[EMAIL PROTECTED]> wrote: there are many ways you can keep information. now if you must really use global. you can still use global even if the server is set to global off by using $_GLOBAL or using globals decleration. e

Re: [PHP] register globals on

2006-09-12 Thread J R
there are many ways you can keep information. now if you must really use global. you can still use global even if the server is set to global off by using $_GLOBAL or using globals decleration. example: $test = 'i'm global'; function f1() { echo $_GLOBAL['test']; // should display i'm global

Re: [PHP] Quotes?

2006-09-05 Thread J R
On 9/6/06, Gustav Wiberg <[EMAIL PROTECTED]> wrote: I want to save this to a string... var uri = 'http://impse.tradedoubler.com/imp/img/16352388/1122503?' + new String (Math.random()).substring (2, 11); docume

Re: [PHP] How to add user to linux using php

2006-09-04 Thread J R
you have to understand that the adduser is a previledge command and a root only command (unless you allowed other users) and normally php will and should be running in a restricted access. normally it is running as user apache/user/nobody (depends on your settings) now there are two ways you can a

Re: [PHP] php generated javascript

2006-08-30 Thread J R
put this at the top of your script "ob_start();" or before any output. On 8/31/06, Shu Hung (Koala) <[EMAIL PROTECTED]> wrote: On 8/31/06, Peter Lauri <[EMAIL PROTECTED]> wrote: > > Koala, > > There is no difference with the php generated javascript and javascript on > a > static html page. > >

Re: [PHP] Re: Regex

2006-08-21 Thread J R
http://www.php.net/manual/en/reference.pcre.pattern.syntax.php On 8/22/06, Alex Turner <[EMAIL PROTECTED]> wrote: If what you mean is a db table, then it would seem to me that you should not be using a regex. PHP has rawurlencode() for this sort of thing. But - you should learn regex ;-) Try

Re: [PHP] header lost session variables.

2006-08-14 Thread J R
On 8/15/06, João Cândido de Souza Neto <[EMAIL PROTECTED]> wrote: I´m in the follow location: https://www2.../?modulo=seguro&acao=identifica And in my script i use header("Location: ./?modulo=seguro&acao=novo_cadastro") i normally do header("Location: ?modulo=seguro&acao=novo_cadastro"

Re: [PHP] problem with quotes (single and double) in forms

2006-08-09 Thread J R
n 8/10/06, Chris <[EMAIL PROTECTED]> wrote: Chris wrote: > Chris wrote: >> J R wrote: >>> try to use this few lines of code. >>> >>> function stripMagicQuotes(&$var) >>> { >>>if (get_magic_quotes_gpc()) { >>>$va

Re: [PHP] problem with quotes (single and double) in forms

2006-08-09 Thread J R
try to use this few lines of code. function stripMagicQuotes(&$var) { if (get_magic_quotes_gpc()) { $var= stripslashes($var); } return $var; } this way you don't really have to worry if magic quotes is on or off. ** On 8/10/06, Chris <[EMAIL PROTECTED]> wrote: [EMAIL PROTE

[PHP] PHP Forms

2006-05-04 Thread R. Van Tassel
I am having an issue with a form, basically an order form, with 10 rows. Each row is the same, the rows are being generated by a loop and I am appending the counter of the loop to the name of the form elements (i.e. quantity1, type1, next row = quantity2, type2, etc) I can't seem to receive the

RE: [PHP] Routing downloads through PHP - Thanks!

2006-02-15 Thread R. Van Tassel
To develop locally try using the xampp package at www.apachefriends.org, really easy to set up. Thanks, -Roy http://www.myspace.com/GhostOrgy http://www.myspace.com/SuitOfLights Please add these artists as your friend on MySpace -Original Message- From: J_K9 [mailto:[EMAIL PROTECTED] Se

  1   2   3   4   5   6   >