At 11:37 AM 5/27/2006, tedd wrote:
I'm looking for a recommendation for a good javascript list like
this list is for php -- does anyone have any recommendations?
I've been on the LA Tech javascript list the last few years and find
the quality of discussion usually high (and with much less ir
//[dv] depricated
//http://us2.php.net/manual/en/function.mysql-create-db.php
//return mysql_create_db($name, $db);
//[dv] this is not a good way to do this, as it doesn't tell you if
it succeeded or not.
//return mysql_query("CREATE DATABASE IF NOT
2006/5/27, Jochem Maas <[EMAIL PROTECTED]>:
2. any include file that does contain code that runs on inclusion contains
something
like the following as the first line of code:
if (!defined('MY_APP_IS_SETUP')) die('try
http://'.$SERVER['SERVER_NAME'].'/');
An enhancement to this strategy could
Hi gang:
I'm looking for a recommendation for a good javascript list like this
list is for php -- does anyone have any recommendations?
Thanks in advance for any replies.
tedd
PS: I know that I can Google "javascript ", but I'm looking
for recommendations.
--
-
Hi,
I think you can start here:
http://wildphp.free.fr/wiki/doku.php?id=howto:embeding_a_php_source_into_a_windows_executable_file
Regards,
Gonzalo
Adam Zey escribió:
D. Dante Lorenso wrote:
All,
Can anybody give me a pointer on where I might start to learn how to
embed Zend2/PHP 5 insi
Robin, Dan, Rabin,
Thank you all for your advice. You've helped me understand regular
expressions a little better, and cleared some some confusion about arrays.
I'll be adapting all the code you provided for me needs.
Thank you for taking the time to help.
--
Dave M G
--
PHP General Mailing
At 4:01 PM +0200 5/27/06, Jochem Maas wrote:
tedd wrote:
> Name them .inc.php so that they cannot be opened by a webbrowser, thus
> giving more information to a potential attacker.
As always, there's another side to that augment. If you give them
the .php suffix, then they can be ran via a
thank you, that worked excellent!
Merlin
Dave Goodchild schrieb:
On 27/05/06, Merlin <[EMAIL PROTECTED]> wrote:
Hi there,
I am somehow lost when it comes to regex. I am trying to remove ! and ?
characters from a string. Could somebody please help me to get a working
regex running for that?
Merlin wrote:
Hi there,
I am somehow lost when it comes to regex. I am trying to remove ! and ?
characters from a string. Could somebody please help me to get a working
regex running for that?
I tried: $str = preg_replace('/\!\?\./', ' ', $str);
$s = "?!help!?";
echo "--",$s,"--",preg_repl
On 27/05/06, Merlin <[EMAIL PROTECTED]> wrote:
Hi there,
I am somehow lost when it comes to regex. I am trying to remove ! and ?
characters from a string. Could somebody please help me to get a working
regex running for that?
I tried: $str = preg_replace('/\!\?\./', ' ', $str);
How about $s
Merlin wrote:
> Hi there,
>
> I am somehow lost when it comes to regex. I am trying to remove ! and ?
> characters from a string. Could somebody please help me to get a working
> regex running for that?
>
> I tried: $str = preg_replace('/\!\?\./', ' ', $str);
>
> Thank you for any help,
>
> Mer
tedd wrote:
> Name them .inc.php so that they cannot be opened by a webbrowser, thus
> giving more information to a potential attacker.
As always, there's another side to that augment. If you give them the
.php suffix, then they can be ran via a browser "as-is" , which may not
be something
Hi there,
I am somehow lost when it comes to regex. I am trying to remove ! and ?
characters from a string. Could somebody please help me to get a working
regex running for that?
I tried: $str = preg_replace('/\!\?\./', ' ', $str);
Thank you for any help,
Merlin
--
PHP General Mailing List
Mark Sargent wrote:
Peter Lauri wrote:
Have you created a connection to the Server with the correct
permissions?
Hi All,
sorry, meant to post that too,
1 3 $connect=mysql_connect("localhost", "root", "password omitted") or
die("Hey, check your server connection.");
I get no error for that
Peter Lauri wrote:
Have you created a connection to the Server with the correct permissions?
Hi All,
sorry, meant to post that too,
1 3 $connect=mysql_connect("localhost", "root", "password omitted") or
die("Hey, check your server connection.");
I get no error for that line. Cheers.
Mark S
On Sat, May 27, 2006 11:02, Mark Sargent wrote:
> Hi All,
>
>
> I get the following,
>
>
> *Fatal error*: Call to undefined function mysql_create_db() in
> */usr/local/apache2/htdocs/createmovie.php* on line 6
Sounds like you don't have the MySQL component of PHP installed. If
you're using the pa
Have you created a connection to the Server with the correct permissions?
-Original Message-
From: Mark Sargent [mailto:[EMAIL PROTECTED]
Sent: Saturday, May 27, 2006 5:03 PM
To: PHP List
Subject: [PHP] Fatal error: Call to undefined function mysql_create_db()
Hi All,
I get the followin
Hi All,
I get the following,
*Fatal error*: Call to undefined function mysql_create_db() in
*/usr/local/apache2/htdocs/createmovie.php* on line 6
for this code,
5 //create the moviesite database
6 mysql_create_db("moviesite") or die(mysql_error());
which is from a tutorial in the book I'm u
18 matches
Mail list logo