[PHP-DB] Compatibility with PHP and MySQL

2011-09-05 Thread Gabriel Solberg
Will installing the most recent XMAPP to install PHP MySQL and Apache to create a development environment on my local computer affect how everything runs when I upload it to the server (My web host 1and1.com runs php 5.0 and MySQL 5.0) thanks -- Gabriel Solberg Solberg Design 845/389-6877

[PHP-DB] multiple queries in the same "request"

2005-06-20 Thread Gabriel B.
returns an error quoting everything after the first ";" anyidea if i can't send several queries at once? any workaround? Thanks, Gabriel -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-DB] Struggling to install php4 on win 2000 system with apache2

2004-12-07 Thread Gabriel kolbe
I have Windows 2000 on my system. I have installed Apache 2 and it seems to work fine, when I test it, it goes to the 'localhost' dir. PHP is the problem, I have tried about 5 different websites's installation manuals to no avail. I have tried to do a manual installation I have downloaded P

[PHP-DB] PostgreSQL + Cygwin

2004-04-16 Thread Gabriel Gramajo
Alguien ha hecho funcionar PostgreSQL con Cygwin, que error puede ser que me diga que gcc no puede generar ejecutables. Gracias desde ya, Saludos, Gabriel.

[PHP-DB] Re: using

2003-10-21 Thread Gabriel Peugnet
It's just the syntax: 1. Don't use the "/" after .php: abc"; maybe you will get the link you want. Gabriel. "MüCella Erdem Efe" <[EMAIL PROTECTED]> escribió en el mensaje news:[EMAIL PROTECTED] > Hi; > > I need to usestatement in a xx

[PHP-DB] Re: disable History

2003-10-17 Thread Gabriel Peugnet
Check the Header() function in the manual: // Tels to the browser the page has caducated and forces to reload.. header("Expires: Mon, 26 Jul 1997 05:00:00 GMT"); // Avoids cahce. It seams it's what you want. header("Cache-Control: no-cache, must-revalidate"); Gabri

[PHP-DB] Sorry, "About security" is for this discution.

2003-10-16 Thread Gabriel Peugnet
The message "About security" is for "Help with file upload". I placed the message outside. -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-DB] About security.

2003-10-16 Thread Gabriel Peugnet
In your code, where you have: if (is_uploaded_file($_FILES['ufile1']['name'])) { copy($_FILES['ufile1']['name'], "."); ... you should check the extension of the file been uploaded you should'n accept files with php, cgi, asp, etc., extensions neither an index file if you do, some user (hacke

[PHP-DB] Another way.

2003-10-16 Thread Gabriel Peugnet
You can also pass the variable via POST to the script where the function is. It remains a local variable. Or you can set it as global like Chris says. And another way is puting it in a cookie. "Adam Symonds" <[EMAIL PROTECTED]> escribió en el mensaje news:[EMAIL PROTECTED] > Hi, > I am starting

[PHP-DB] more about permissions

2003-10-16 Thread Gabriel Peugnet
Have in mind that some permissions can be changed only via FTP but some other can only be changed useing chmod(). If you want more security you should set the permission in the moment of the upload and change it again after it. -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, v

[PHP-DB] Re: Help with file upload

2003-10-16 Thread Gabriel Peugnet
I made a mistake in my last message: The lines that say: ftp_chdir( $site , $folder ); ftp_site( $site , "chmod $mode $folder" ); should say: ftp_chdir( $site , $folderbase );// this is the one that was wrong ftp_site( $site , "ch

Re: [PHP-DB] Help with file upload

2003-10-16 Thread Gabriel Peugnet
For the message: > Warning: move_uploaded_file(./ayservenet.jpg): failed to open stream: > Permission denied in /home/ayserve/public_html/fu/fuprocess.php on line 6 you have to change the permissions of the file folder where you are copying the file. If you created it via FTP then you can't use co

Re: [PHP-DB] Can't conect with mysql_connect(), please help.

2003-10-14 Thread Gabriel Peugnet
e one that seems to be useful is /usr/lib/php4/mysql.so it's the socket, isn't? I guess that running /etc/init.d/mysqld start is kind of command line executing So, how can I start mysql from inside a php script? Thanks again. Gabriel. "Joe Nilson Zegarra Galvez" <[EMAIL P

Re: [PHP-DB] Can't conect with mysql_connect(), please help.

2003-10-14 Thread Gabriel Peugnet
> I'm starting to use MySQL, well, trying to, and I get the next message: > > > > Warning: mysql_connect(): Can't connect to local MySQL server through > > socket > > '/var/lib/mysql/mysql.sock' (2) > > > > The manual says th

[PHP-DB] Can't conect with mysql_connect(), please help.

2003-10-14 Thread Gabriel Peugnet
doing. What's wrong? Thanks, Gabriel. -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-DB] Re: Parse Errors...

2003-10-12 Thread Gabriel Peugnet
of these two lines: $formatted = sprintf("%01.2f", $money); echo $formatted; I'd use only one line: echo number_format( $money, 2 ); The output would be: "123.10" I'm sorry I can't help about the format "%01...". I'm not fa

[PHP-DB] Re: Parse Errors...

2003-10-12 Thread Gabriel Peugnet
Some times parse errors aren't in the line the interpreter says. Looking at the code you sent I don't see the error but if your original code is in a biger file try looking if the brackets {} or parenthesis of all the code are balanced. "Scott V Nipp" <[EMAIL PROTECTED]> escribió en el mensaje ne

[PHP-DB] Re: tutorial

2003-09-21 Thread Gabriel Peugnet
Go to www.php.net, in the section Documentation you'll find manuals in several languages. "Novianto Dwiatmojo" <[EMAIL PROTECTED]> escribió en el mensaje news:[EMAIL PROTECTED] > > Hi everyone > > i'm a newbie in php, mysql and linux but i want to learn about it can you > guys help me or give me

[PHP-DB] Re: set password on a page

2003-09-21 Thread Gabriel Peugnet
In my last replay I told you to find the manual in the wrong place. The right place is www.php.net "Sagerat" <[EMAIL PROTECTED]> escribió en el mensaje news:[EMAIL PROTECTED] > How do I set up password on a page so that only restricted people can open > it? -- PHP Database Mailing List (http:/

[PHP-DB] Re: best" upload method

2003-09-21 Thread Gabriel Peugnet
I use file upload, it's faster than ftp because the ftp conection and login process takes a few seconds. You have to see that the permissions in each method are diferent. Some times you cannot delete a file copied with ftp useing the unlink() function unless you change the chmod. If you used the u

[PHP-DB] Re: set password on a page

2003-09-21 Thread Gabriel Peugnet
Use setCookie() function. It places a global variable on the client that your programs can verify after. See the manual for the use of the function. Here is an example: // Example of file chkacces.php. with POST method. if( ($pass != "xyz" ){// where "xyz" is the right password.

[PHP-DB]php-odbc-ctree

2003-05-27 Thread Gabriel Gramajo
Does anybody knows any kind of odbc for c-tree´s databases in linux ? Thanks in advance, Gabriel. -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-DB] C-Tree And PHP

2003-03-20 Thread Gabriel Gramajo
Hi all, Anyone has interact with c-tree databases using php. Where can i found help about it? Thanks in advance, Gabriel.

[PHP-DB] How can i upload files

2003-02-13 Thread Gabriel Gramajo
Hi All, Can anyone tell me how can i select and upload files using php. Thanks in advance, Gabriel, - Original Message - From: "Clarkson, Nick" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, February 13, 2003 10:59 AM Subject: RE: [PHP-DB

[PHP-DB] Re: [PHP-DEV] [CROSS POST] PHP Meetup & Texas PHP Users

2002-07-30 Thread Gabriel Ricard
anyone else in this area... I've been looking for user groups in the Massachusetts area, and the only one that did exist, was PHPUG New England, which doesn't seem to exist anymore. Anyone interested in getting one going around here? Again, sorry for the cross post. -- Gabriel Ri

Re: [PHP-DB] How can recommend a book for SQL and DB design

2002-01-18 Thread Gabriel Ricard
On Tuesday, January 15, 2002, at 05:33 PM, DL Neil wrote: > Andy (and Natalie), > > In fact the O'Reilly book on PHP is the exception that might well prove > the rule - normally I think them v.good > The reference work on MySQL is by Paul DuBois (who often stops by > here - "hi Paul") and pub

Re: [PHP-DB] Moving from MySQL to MSSQL Server 2000

2002-01-15 Thread Gabriel Ricard
Sorry for the late reply to this, but if you were to move to MS SQL I'd highly recommend using FreeTDS (www.freetds.org) to access the database from PHP. Due to the lack of an MS SQL client library in Mac OS X I have to use FreeTDS to contact another MS SQL server ( I use MySQL myself ). Setup

[PHP-DB] Use of Like

2001-07-09 Thread Gabriel
Can anyone tell me a way to simulate the command "LIKE" in mySQL query´s, Thanks in advance, Gabriel. -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrato

[PHP-DB] Filling mysql db with access db

2001-05-16 Thread Gabriel
How can i import data from an access database to a mysql db. Thanks in advance, Gabriel.

[PHP-DB] Fwd: URGENT : How can i generate scripts of database

2001-05-08 Thread Gabriel
Anyone can tell me how can i generate the scripts of my database to create it in another mysql server. Or better wich other ways i´ve to do it. Thanks in advance, Gabriel.

[PHP-DB] Method POST not allowed

2001-04-04 Thread Gabriel
; > >I´ll appreciate any kind of help, > >Thanks in advance, > >Gabriel. *** END FORWARDED MESSAGE *** -- PHP Database 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]

Re: [PHP-DB] SSI and PHP?

2001-03-10 Thread Fernando Gabriel Ranea
Dear Dan, Yes, you can! In PHP you must use: or Include evaluates andd executes the code in the external. And replace just replaces the contents of the file. Regards, Dan Eskildsen wrote: > Hi there, > > Can anyone tell me if it is possible to combine Server Side Includes with > PHP? If

Re: [PHP-DB] Sorting alphabetically and Tv guide

2001-02-27 Thread Fernando Gabriel Ranea
Hi! You can order everything but you must be carefull in the database design. Select "program" from "table" order by "time" Where "time" is a DATE value in your database. In mysql you have a variety the formats. For example, DATETIME: -MM-DD hh:mm:ss Maybe you need use a good book related

Re: [PHP-DB] Sorting alphabetically

2001-02-27 Thread Fernando Gabriel Ranea
Hi! I guess that you want the following: Select "name" " from "Table" order by "name" For the search box, you need build a form, send the search value to the script (a PHP script for this list :-o) and the script must query in your database. The script depends on the complexity in the search an

[PHP-DB] Excel to Mysql

2001-02-15 Thread Gabriel Adame
Hi, ¿ Please, someone have an excel macro to export data to mysql ? Thanks Gaby _ ¿ Tu mama piensa que eres muy inteligente ? Desengañate jugando ... http://www.atrivia.com __

[PHP-DB] i need help with odbc!

2001-01-29 Thread Angel2 Gabriel Lena Valega
Emanuel.exe