[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] 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] 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 phps...@gmail.com wrote: On Wed, Jun 3, 2009 at 12:27 PM, R B rbp...@gmail.com wrote: Hi, Do you know if amazon s3 hosting

[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 ?php $movie = movie.swf; readfile($movie); ? SCRIPT # 2 ?php $movie = movie.flv; readfile($movie); ? The script # 1 with the .swf file works fine: the video is executed with streaming. The script

[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?

Re: [PHP] Re: mysql_query - CREATE DATABASE

2009-02-09 Thread R B
, because a prefix is added. On Mon, Feb 9, 2009 at 12:17 PM, Shawn McKenzie nos...@mckenzies.netwrote: R B wrote: 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

Re: [PHP] Re: mysql_query - CREATE DATABASE

2009-02-09 Thread R B
McKenzie nos...@mckenzies.netwrote: 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 is created the database, but usually the name is created with a prefix. In this case

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 nos...@mckenzies.net 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.php to create the database

[PHP] Include PHP library file in the .htaccess

2009-01-30 Thread R B
Hello. Supose that i have this script: ?php require_once(lib.php); lib_function(); ? 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,

[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

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 On

[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

[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

[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] 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

[PHP] Another way to send variables

2008-06-13 Thread R B
Hello. I have this script (script1.php): ?php $a = Hello; header(Location: script2.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.

[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: ?php header(Expires: Mon, 26 Jul 1997 05:00:00 GMT); header(Last-Modified: . gmdate(D, d M Y H:i:s) . GMT); header(Cache-Control: no-store, no-cache, must-revalidate);

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: ?php header(Expires: Mon, 26 Jul 1997 05:00:00 GMT); header(Last-Modified: . gmdate(D, d

[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.

[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,

[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

[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:

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, i recive a warning like this: *Warning

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 Cummings [EMAIL PROTECTED

[PHP] avi to wmv convert

2004-08-20 Thread R B
I'm making a php video system, buy i need to convert the avi videos to wmv videos. Some one knows a good, free, and functional avi to wmv converter? Thanks, RB _ Charla con tus amigos en línea mediante MSN Messenger:

Re: [PHP] avi to wmv convert

2004-08-20 Thread R B
In what manual? From: Jason Wong [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: Re: [PHP] avi to wmv convert Date: Sat, 21 Aug 2004 00:45:07 +0800 On Saturday 21 August 2004 00:36, R B wrote: I'm making a php video system, buy i need to convert the avi videos to wmv videos. Some one knows

Re: [PHP] Re: PDF Creation

2003-03-14 Thread R B
I'm trying to use PDFreportsLite in Windows. in the /src folder, there is a rep.php example. But when i run the rep.php script, nothing apears, only the white page and the window done status. In the PDFReportsLite.php, i set: $MM_PDFReportsLite_HOSTNAME = 127.0.0.1;

Re: [PHP] limiting characters

2003-02-18 Thread R B
You can use the substr function: $myoutput = This is my sample output.; $myoutput = substr($myoutput,0,10); From: Michael P. Carel [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: [PHP] limiting characters Date: Wed, 19 Feb 2003 07:00:52 +0800 Hi to all, How could i limit the character

Re: [PHP] Max Limit of post variables

2003-02-07 Thread R B
I was making an aplication few months ago, and i had your same problems. I think that crash because the php file send to the client its to large, and the client machine dont have the necesary memory to suport that in the navigator. So i chanche my grid to one row of controls, and i put all the

Re: [PHP] ayuda...solo se ve el código cuando ejecuto los script

2003-01-20 Thread R B
Tenes el codigo PHP entre ? y ? ... ? Ej.: ? echo Hello World; ? From: Rot Alvarez [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: [PHP] ayuda...solo se ve el código cuando ejecuto losscript Date: Mon, 20 Jan 2003 09:20:51 -0800 (PST) Subo los script y solo

[PHP] Other Notice problem...

2002-11-08 Thread R B
This is not the same question i asked yesterday. When i set error_reporting = E_ALL and display_errors = On in my php.ini, i get the next message: Notice: Undefined variable: varname in . How can i fix this problem without setting error_reporting = E_ALL ~E_NOTICE and/or

Re: [PHP] Other Notice problem...

2002-11-08 Thread R B
the data not when i submit the data. How can i fix the problem? or there is another best way to do this? From: Marco Tabini [EMAIL PROTECTED] To: R B [EMAIL PROTECTED] CC: [EMAIL PROTECTED] Subject: Re: [PHP] Other Notice problem... Date: 08 Nov 2002 10:25:46 -0500 This usually means that you're

Re: [PHP] Other Notice problem...

2002-11-08 Thread R B
to on because if i set to off, i can't pass GET variables to other page. how can you pass GET variables to other page without setting register_globals=on? From: Ernest E Vogelsinger [EMAIL PROTECTED] To: R B [EMAIL PROTECTED] CC: [EMAIL PROTECTED],[EMAIL PROTECTED] Subject: Re: [PHP] Other Notice

Re: [PHP] Other Notice problem...

2002-11-08 Thread R B
PROTECTED] To: R B [EMAIL PROTECTED] CC: [EMAIL PROTECTED],[EMAIL PROTECTED] Subject: Re: [PHP] Other Notice problem... Date: Fri, 08 Nov 2002 17:31:25 +0100 At 17:27 08.11.2002, R B spoke out and said: [snip] The array_key_exists or isset is a good solution

Re: [PHP] Other Notice problem...

2002-11-08 Thread R B
And without using the $_GET[] array. From: Stuart [EMAIL PROTECTED] To: R B [EMAIL PROTECTED] CC: [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED] Subject: Re: [PHP] Other Notice problem... Date: Fri, 8 Nov 2002 16:52:50 + On Friday, Nov 8, 2002, at 16:44 Europe/London, R B

Re: [PHP] Other Notice problem...

2002-11-08 Thread R B
It's ok. I understand that i can't use plain variables with register_globals=on, but this is only for GET variables or to all variables? Thanks, RB From: Jason Wong [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: Re: [PHP] Other Notice problem... Date: Sat, 9 Nov

[PHP] Search engine simulation...

2002-11-08 Thread R B
I'm making a php database application. The database tables have many rows and in a webpage i have to display a big number of that rows, but the browser display the information so slow or the browser chash. So i was thinking to make a search engine simulation or webmail simulation, that display

Re: [PHP] Search engine simulation...

2002-11-08 Thread R B
I was thinking in limit for mysql. But my question is how to make all the process. When you click the number 5 for example in the bottom numbers, how to knows the rows to display, etc... From: Marco Tabini [EMAIL PROTECTED] To: R B [EMAIL PROTECTED] CC: PHP-General [EMAIL PROTECTED] Subject: Re

Re: [PHP] Search engine simulation...

2002-11-08 Thread R B
a php solution is the best, because is compatible with both versions. Thanks, Rodolfo From: Rodolfo Gonzalez [EMAIL PROTECTED] To: R B [EMAIL PROTECTED] Subject: Re: [PHP] Search engine simulation... Date: Fri, 8 Nov 2002 12:31:19 -0600 (CST) On Fri, 8 Nov 2002, R B wrote: Do you know a query

[PHP] Problem with reference variables.

2002-11-07 Thread R B
Hello, If i set display_errors = on and error_reporting = E_ALL in my php.ini file, then i get this warning: Warning: Call-time pass-by-reference has been deprecated - argument passed by value; If you would like to pass it by reference, modify the declaration of [runtime function name](). If

Re: [PHP] Problem with reference variables.

2002-11-07 Thread R B
] Problem with reference variables. Date: Thu, 07 Nov 2002 19:09:06 +0100 change the function declaration to function myTestFunction($x) { funtion stuff here } R B wrote: Hello, If i set display_errors = on and error_reporting = E_ALL in my php.ini file, then i get this warning

[PHP] array_change_key_case() warning...

2002-11-07 Thread R B
Hello, I'm using array_change_key_case to return an array with all string keys uppercased. ex: $myArray = array_change_key_case($result,CASE_UPPER); If i have the display_errors = on and error_reporting = E_ALL in my php.ini then i get the warning: Warning: Wrong datatype in

Re: [PHP] array_change_key_case() warning...

2002-11-07 Thread R B
] Reply-To: [EMAIL PROTECTED] To: R B [EMAIL PROTECTED] CC: [EMAIL PROTECTED] Subject: Re: [PHP] array_change_key_case() warning... Date: Thu, 07 Nov 2002 20:02:31 +0100 Are you sure you don't have something different from strings and integers in one of your keys? Anyway, you can still quiet the error

[PHP] Notice problem...

2002-11-07 Thread R B
When i set display_errors = On and error_reporting = E_ALL in my php.ini, i get the next message for each variable that i use in the script: Notice: Use of undefined constant varname . How is the best solution for this problem, setting error_reporting = E_ALL ~E_NOTICE or other method?

[PHP] Mysql date format

2002-11-07 Thread R B
I'm using php with MySql. I'm migrating an php-oracle application to php-mysql. I need to know if exists any function in mysql similar to the to_char or to_date functions of oracle; or format function of access?. These functions make a date format or numeric format. ex:

Re: [PHP] array_change_key_case() warning...

2002-11-07 Thread R B
Now it's working well. I was making a mistake with the while's loop. I saw my mistake using the print_r function. Thanks, RB From: Maxim Maletsky [EMAIL PROTECTED] To: R B [EMAIL PROTECTED] CC: [EMAIL PROTECTED], [EMAIL PROTECTED] Subject: Re: [PHP] array_change_key_case() warning... Date

RE: [PHP] command to determine the end of a page?

2002-10-31 Thread R B
When you use, FPDF class (i think others pdf class too), you can setup the paper size in the document (pdf), but the printer don't care this paper size configuration and prints with the default paper size, and my printer don't have a custom size setup. Do you know who to print with custom

Re: [PHP] Free compiler for Win

2002-10-30 Thread R B
I need to know how to compile php code with ms visual studio 6.0. Thanks, RB. PHP is ANSI compliant, thus, theoretically, any compiler should be able to build it. Though, MS Visual Studio 6 is the one used for PHP windows version. That's not free.

[PHP] paper size print problem

2002-10-30 Thread R B
I want to set up a specific size of paper to print a report. I made this with a PDF document and in screen looks like the size that i need, but when i print it, the printer doesn't respect the size and always print with the letter or default acrobat size. I check the printer properties and

Re: [PHP] Free compiler for Win

2002-10-30 Thread R B
I want a php code compiler. I wrote above visual studio 6.0 because i read in the mailking list archieve that it was posible with that software, but i want a good free compiler because i don't want to distribute my php code. Thanks RB From: Stuart [EMAIL PROTECTED] To: R B [EMAIL PROTECTED

[PHP] array_diff usage

2001-04-02 Thread V e r b a l
++) { print $test[0]; } gives me "5". What I was hoping was that $lines should be 3 and that I'd get 3 4 5 printed. V e r b a l -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contac

Re: [PHP] Good Free PHP Editor?

2001-03-16 Thread V e r b a l
On 12 Mar 2001 03:51:13 -0800, [EMAIL PROTECTED] (Nick Davies) wrote: How about linux ones? I just tend to use vim or emacs but i'm sure there are some out there. I've used Xemacs. Do you know if there is a PHP mode for it? Otherwise you could check out Screem (www.screem.org) or Quanta