$db= @mysql_pconnect ( $DB_HOST , $DB_USER , $DB_PASS );
@mysql_select_db ( $DB_DB ) or die ( "DATABASE ERROR!".mysql_error() );
Returns DATABASE ERROR!Can't connect to local MySQL server through
socket '/tmp/mysql.sock' (2)
MySQL server exists on a Win2ksp3 box.
Apache with PHP 4.3.0 exists on
Greetings,
You ought to make your link something like
www.foo.com/products.php?autoid=105. and then make a query on your page
that displays the pics based on an autoincrement number in your table.
You ought to be able to make the code something like:
//Display link for product
print "";
print "
This is a system automated E-Mail reply.
If you email is a request for support then please visit the below URL and lodge
your support request.
If you cannot access the below URL, then please email [EMAIL PROTECTED] for prompt
support.
http://www.wildcomm.net/support.php
If this is not a
Hi,
I put pictures from a database ont the page about my products. If the user
click on a picture I want to give a detailed description about the product.
But how can I get, which picture was selected?
Thanks
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.
sorry everyOne..
I have Found the answer..
Problem Solved..,
And Topic Canceled..
thanks..
Remon Redika writes:
Hi EveryOne..,
I need your help..
I am Using 2 Pages for Deleting rows..
In Page 1 Like This Below. (I am displaying The ID of table ..)
and my Page 1 Will Post to Page 2
in Page
So '/error.php' is in the DOCUMENT ROOT, not the server root, correct?
And I will get all the CGI environment available to the original
requested document?
Peter Janett wrote:
>
> Use a relative path in your ErrorDocument line, instead of a full url, and
> you'll get what you are looking for.
>
Use a relative path in your ErrorDocument line, instead of a full url, and
you'll get what you are looking for.
ErrorDocument 404 /error.php
instead of:
ErrorDocument 404 http://www.yourdomain.com/error.php
Note that even though error.php is in your root (or wherever it is), that it
can be calle
Hey Guys,
Thanks for all the help with classes. I think I can now turn the
lightswitch on.
Leonard Burton
[EMAIL PROTECTED]
www.phpna.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On Tuesday 04 February 2003 06:30, Jonathan Wright wrote:
> At around Mon, Feb 03, 2003 at 04:20:03PM -0600, Greg Donald constructed the
following notation:
> > On Mon, 3 Feb 2003, Jonathan Wright wrote:
> > >Aside from this, PHP's running like a dream. I haven't had a single
> > >problem (other t
Hi EveryOne..,
I need your help..
I am Using 2 Pages for Deleting rows..
In Page 1 Like This Below. (I am displaying The ID of table ..)
and my Page 1 Will Post to Page 2
in Page 2, I've Tried to Deleting Rows..
But I Can't Deleted the Rows... :(
PAGE 1
include "config.inc";
$mysqllang = "se
Chill out. It's only PHP programming.
:)
-Original Message-
From: Philip Olson [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, 4 February 2003 2:56 PM
To: Chris Shiflett
Cc: Sunfire; Todd Barr; [EMAIL PROTECTED]
Subject: [PHP] Re: Etiquette
On Mon, 3 Feb 2003, Chris Shiflett wrote:
> --- Phi
On Mon, 3 Feb 2003, Chris Shiflett wrote:
> --- Philip Olson <[EMAIL PROTECTED]> wrote:
> > No offense Sunfire but I don't think you're ready to
> > be answering questions.
>
> Please try to be a little more kind. While his answer does
> have problems, his helpful attitude is a good thing.
>
> Whe
Anyone know how to use shell_exec or exec and execute a shell script as user
root ?
-
Regards
Nick
Wildthing Communications
~~~
How can a species, that can create machines to c
> John,
> I was under the impression that the mysql database had as default user
> when
> installed:
> ..
> anonymous
> root
>
The last time I installed MySQL it had four default users, I think.
> And that the _anonymous_ user could only create a database that began
When one writes a 404 document in PHP, how do I get access to all the
POST, GET, COOKIE, URL, protocol, Languages, etc. that the originally
requested document came in with?
--
--
Carpe Dancem ;-)
-
Remember your friends while they a
$_SERVER['HTTP_REFERER']
Mr. BuNgL3 wrote:
Hi again...
There is any way to know what page we came from in php?
I want to make a clause if i came from certain page in my web site...
Thanks
--
The above message is encrypted with double rot13 encoding. Any unauthorized attempt to decrypt i
Hi again...
There is any way to know what page we came from in php?
I want to make a clause if i came from certain page in my web site...
Thanks
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
> During the ./configure part of the installation, PHP checks for
> sendmail, but only in /sbin/sendmail. If it doesn't find it, the
> function mail() isn't complied in.
>
> I just get 'call to undefined function mail()' in x/y.php on z.
Ok, make your link this way then:
ln -s /usr/sbin/sendmail
An easy way would be to to convert your code to a function and use
recursion with an is_dir conditional.
Here is a quick example, there are also a few examples in the user notes
at the PHP manual for opendir or readdir.
function lsdir($dir) {
if ($handle = opendir($dir)) {
This code *should* do something similar to what Phillip suggested. It
will figure out the correct Sunday based on whether the week is odd or
not, then it will add the correct number of days to get to either next
Saturday or the Saturday after next Saturday.
On Mon, 2003-02-03 at 18:15, Philip H
When you name a function in the class with the same name as the class
itself, this function gets automatically executed upon defining the
object (class). this is called `constructor'.
in your very case, this is the function first, which requires two
parameters to be passed to it. You need to crea
hey!
this is the code I'm using to get into array all filenames in a directory:
$mydir = mydir //the directory name
$output_file = fopen($data_file, "w");
$begin = "");
fclose($output_file);
chmod($output_file, 0777); //to preview
This code will work for determining if the week is odd or even, it uses
Monday for the first day in the week as noted on
http://www.php.net/manual/en/function.date.php.
Note I just scribbled this down so you may need to adapt it but I ran it
through a quick test and it worked.
Jason
On Mon, 2
> I'm writing a quick little thing to act as a time clock since people are
> writing out by hand and it's not so accurate. It's basically click a button
> to clock in and click a button to clock out.
>
> What I also want to do is create a report (well I've already created the
> report) but I want t
On Mon, 3 Feb 2003, Sunfire wrote:
> do this:
> run your php query to get the value of the text box and then do this:
> //connect to db here
> $query=//put your query here
> while($foo=mysql_fetch_array($query)){
> //if you use mysql that is...
> echo "";
> }
> ?>
No offense Sunfire but I don't
I'm writing a quick little thing to act as a time clock since people are
writing out by hand and it's not so accurate. It's basically click a button
to clock in and click a button to clock out.
What I also want to do is create a report (well I've already created the
report) but I want to limit it
Add the directory that contains the script you want to run to
safe_mode_exec_dir (check the docs to confirm this)
-philip
On Tue, 4 Feb 2003, [ISO-8859-2] Bc. Radek Krejèa wrote:
> Hello,
>
> I need use function exec or backtick operator, but i have PHP in
> safe mode. I need use it only for
Hello,
I need use function exec or backtick operator, but i have PHP in
safe mode. I need use it only for one virtual host in Apache.
How can I do it without disabling safe mode.
Thanks
Radek
--
Regards,
Bc. Radek Krejča
Starnet, s. r. o.
[EMAIL PROTECTED]
http://www.ceskedomeny.
do this:
run your php query to get the value of the text box and then do this:
";
}
?>
- Original Message -
From: "Todd Barr" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, February 03, 2003 9:59 AM
Subject: [PHP] Html forms
I am having difficulty putting results into an form
On Mon, 3 Feb 2003, Tomator wrote:
> User "Mr. Bungl3" <[EMAIL PROTECTED]> wrote:
> > I'm trying to delete a some records from a table with checkboxes and then
> i
> > have this code:
> >
> $sql="DELETE FROM divx where id=".$del[$i]."";
>
> Great idea, but when checkbox is checked, variable of it
Simply try
$hf = fopen($filename, "w");
- Original Message -
From: "Jason Jacobs" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, February 03, 2003 9:30 PM
Subject: [PHP] problems with fopen
Afternoon all.
I've been trying to write to a text file for a while. I opened it
At around Mon, Feb 03, 2003 at 04:20:03PM -0600, Greg Donald constructed the following
notation:
> On Mon, 3 Feb 2003, Jonathan Wright wrote:
>
> >Aside from this, PHP's running like a dream. I haven't had a single
> >problem (other than mail() not working, but I found that's because I use
> >/us
On Mon, 3 Feb 2003, Jonathan Wright wrote:
>Aside from this, PHP's running like a dream. I haven't had a single
>problem (other than mail() not working, but I found that's because I use
>/usr/sbin/sendmail, not /sbin/sendmail, so I'll just need to recompile).
Recompile, why? How about a link?
l
User "Mr. Bungl3" <[EMAIL PROTECTED]> wrote:
> I'm trying to delete a some records from a table with checkboxes and then
i
> have this code:
>
$sql="DELETE FROM divx where id=".$del[$i]."";
Great idea, but when checkbox is checked, variable of it's name just becomes
true (doesn't get value of it's
At around Mon, Feb 03, 2003 at 10:42:47AM -0800, Chris Shiflett constructed the
following notation:
> --- Jonathan Wright <[EMAIL PROTECTED]> wrote:
> > i'm having problems with sessions. I've set up the server
> > (httpd-2.0.44) with php (4.3.0) and switched on sessions.
>
> I would recommend no
Read this:
http://www.php.net/features.http-auth
Regards,
Philip
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Each select control has an 'options' container,
you should review it to find all values for all selected elements, and
create and string to send to the server into a hidden control included in
the submited form.
In the server will be another history!!
It's the way I use, may be somebody could adv
I figured it was along those lines... i know that perl also caught
me a few times becuase perl differentiates between "==" and "eq"
for numerical or string comparisions.
I'll probaly end up using the "===", becuase i've got a severe
aversion to using functions for comparisions. :-)
--
Scott Hurr
I'm trying to delete a some records from a table with checkboxes and then i
have this code:
Lista de Filmes (DivX)
...TítuloCds
$titulo$cds
";
$i++;
}
echo "";
if($HTTP_COOKIE_VARS["cookie1"] && $HTTP_COOKIE_VARS["cookie2"])
{
include('menuadmin2.php');
Something like..
$query = "INSERT INTO tablename (fieldname) VALUES";
foreach ($_POST['listbox'] as $key => $val) {
$values[] = "('$val')";
}
$query .= implode(',', $values);
$result = mysql_query($query);
This is assuming all your listbox values go into the same table column.
-Kevin
-
> There is a way to supposedly do this by authenticating
> a username and password through php first through such
> methods as database lookups and then passing the
> username and password through $PHP_AUTH_USER and
> $PHP_AUTH_PW using the header() command to point to the
> URL of the .htaccess pr
Afternoon all.
I've been trying to write to a text file for a while. I opened it thusly:
$file = fopen($filename, "w+");
to read it and then write to it after I modified what goes in it. The problem is it
won't write. It sets the pointer to the beginning and erases everything, but doesn't
wr
I'm sorry the line should have been...
header("Location:http://$PHP_AUTH_USER:$[EMAIL PROTECTED]";);
Ed
On Mon, 3 Feb 2003 [EMAIL PROTECTED] wrote:
>
> There is a way to supposedly do this by authenticating a username and
> password through php first through such methods as database lookups
There is a way to supposedly do this by authenticating a username and
password through php first through such methods as database lookups and
then passing the username and password through $PHP_AUTH_USER and
$PHP_AUTH_PW using the header() command to point to the URL of the
.htaccess protected dir
Thanks for all the help thusfar. Classes are just not something I am
understanding. I have read the sections on classes in several books and the
www.php.net section on them and still am missing something. It seems that
these books have been telling me what a light switch is used for but not how
hi..
i have an array (not written in code yet) but it is from a multiple select
listbox and i want to use the elements in the array in an insert query.. and
dont know how that works...
(i wont know how many elements there will be on the insert)..the array
elements will need to be put in 1 field on
and how can i be root from a php script?
i want chown from the script itself which created the page.
-Original Message-
From: Marek Kilimajer [mailto:[EMAIL PROTECTED]]
Sent: Monday, February 03, 2003 12:39 PM
To: Gurvinder Singh
Cc: [EMAIL PROTECTED]
Subject: Re: [PHP] safe mode problem
Chris,
Exactly. I am relying on the webserver to provide the restrictions.
Now my next question:
what functions should I utilize or come close to to do it? There isnt any
PHP pages directed towards teh directory itself. Its is just a hard link to
the protected areas. Are there any functions that
> > function setData( $age, $name )
> > {
> > $age = $age;
> > $name = $name;
> > }
> Is useless ;-) I think you wanted this:
> function setData( $age, $name )
> {
>$this->age = $age;
>$this->name = $name;
>
On Monday 03 February 2003 20:45, Chris Boget wrote:
> function setData( $age, $name )
> {
> $age = $age;
> $name = $name;
> }
Is useless ;-) I think you wanted this:
function setData( $age, $name )
{
$this->age = $age;
Hi Leonard,
Try this:
total = $age.$name;
}
}
//main script
$obj = new first(35, "chris");
print $obj->total;
?>
The problem with what you were doing is that when you were instantiating the class,
with the way you have set this up, you need to pass arguments because when you create
the function with the same name as the class is the
constructor and is called when the instance is created.
So "$first = new first" runs first::first() without passing
any parameters hence the warning.
Tim Ward
http://www.chessish.com
mailto:[EMAIL PROTECTED]
- Original Message -
From: Chr
> Apparently it does not like the function name to be the same as the class
> name. So change one of them.
No, what's happening is that when you instantiate an class, it runs
(as a constructor) the function whose name is the same as the class.
So when you do this:
$first = new first;
it's auto
Apparently it does not like the function name to be the same as the class
name. So change one of them.
first(35, "chris");
print $test;
?>
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Greetings,
I am trying to figure out using classes. I have read and read and read
about them but still cannot figure them new fangled things out. Could
someone please alter this snippet just a bit so it would be a correct test
script with a call to it?
When I run the script I get this
The first ImageColorAllocate(0 function always sets the background color .
So add one more call to ImageColorAllocate() to set the background color
before line
$tx_color = ImageColorAllocate($png,255,255,255);
and then the text will be as you set in $tx_color
HTH
-R'twick
- Original Message -
I am doing something similar to what you are doing. Sending out a newsletter
of about 1500 every month.
I have one table that holds every people.
I also have a campaign table. Every month I create a new newsletter
campaign. The campaign holds things like name of campaign, date sent and
location o
--- Chris Winters <[EMAIL PROTECTED]> wrote:
> So, if one was to protect a directory or folder, a
> regular dialog will appear for username and passcode
> prompt within the web browser. I was researching some
> variables that I came across which is called
> $PHP_AUTH_USER, $PHP_AUTH_PW, and $PHP_AU
It is all here:
http://www.php.net/manual/en/ref.session.php
-Kevin
- Original Message -
From: "Mike Tuller" <[EMAIL PROTECTED]>
To: "php mailing list list" <[EMAIL PROTECTED]>
Sent: Monday, February 03, 2003 11:06 AM
Subject: [PHP] Sessions
> In an earlier post I wanted to carry an i
--- Mike Tuller <[EMAIL PROTECTED]> wrote:
> I click on the link and it adds the id number
> to the url like this:
>
>
>
>$row[asset_id]
>
>
I think you want to have something like:
everywhere you currently have $row[asset_id].
> $query = "select * from assets where asset_id =
>
Sorry about that.
What I meant was for example, sometimes I come across protected sites that
require a username and passcode. So, if one was to protect a directory or
folder, a regular dialog will appear for username and passcode prompt within
the web browser. I was researching some variables that
The question is too broad to answer in one post. Suffice to say Yes you can
do all of this if you have the know-how. Recommend you continue your
research with some basics on PHP.net and a good tutorial-style book such as
"PHP and MySQL Web Development". There is tons of information online as
we
- Original Message -
From: "Lowell Allen" <[EMAIL PROTECTED]>
To: "PHP" <[EMAIL PROTECTED]>
Sent: Monday, February 03, 2003 10:37 AM
Subject: [PHP] tracking bulk email
> I've added an email feature to a content management system that will send
> plain text email to about 1400 contact addr
--- Jonathan Wright <[EMAIL PROTECTED]> wrote:
> i'm having problems with sessions. I've set up the server
> (httpd-2.0.44) with php (4.3.0) and switched on sessions.
I would recommend not using Apache 2 with PHP right now.
Stick with the latest stable 1.3.x version.
Chris
--
PHP General Mailin
--- Chris Winters <[EMAIL PROTECTED]> wrote:
> If you by chance come across a secure area that prompts
> the username and passcode to a folder
Can you rephrase that? I can't tell what you are talking
about. Does a separate window pop up prompting for a
username and password, or is this part of the
Any idea why this would NOT create white text?
$png = ImageCreatefrompng("images/menu0.png");
$tx_color = ImageColorAllocate($png,255,255,255);
imagettftext($png,12,0,25,16,$tx_color,$font,$text);
There IS white (255,255,255) in the source png's palette, I don't know
weather that makes a differe
In an earlier post I wanted to carry an id number that I had in
$HTTP_GET_VARS into another script. I was told that one way would be to
store the number in the session.
My question is how can I store a variable inside a session? In my books
and in the documentation I see things about the global $_
I have a client that currently gets MDB exports of their database to run
reports and mail merges with. Has anyone heard of or have any idea of
how to make an MDB (Access Data File) on the file from PHP or any other
scripting language?
Thx-
Matt
Wow, an embarrassment of riches. Thanks to all of you who replied so
quickly.
- Brian
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hiya,
I'm currently trying to create a logon script for my web site, and i'm
having problems with sessions. I've set up the server (httpd-2.0.44)
with php (4.3.0) and switched on sessions.
The sessions are only avalibale via cookies over a secure connection
(i've got session.cookie_secure = true)
I have a question that maybe someone could answer.
If you by chance come across a secure area that prompts the username and
passcode to a folder, how I can PHP to automagically add them in later on?
Also, instead of that dialogue popping up, is there a way you can "add" your
own via HTML form and
I've added an email feature to a content management system that will send
plain text email to about 1400 contact addresses. Each contact is sent a
separate email with the contact name and address in the "To:" header. It
works fine to small test lists, but hasn't been tested with a large list.
Alth
I wouldn't break it up into 3 lines of code. try:
print "";
or
echo '';
Jeff
- Original Message -
From: "Todd Barr" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, February 03, 2003 8:59 AM
Subject: [PHP] Html forms
I am having difficulty putting results into an form
> This hasn't come up too much yet in one of the databases on my site, but
as
> I get closer to starting a big project, I thought I'd get an idea of how
the
> rest of you handle this.
>
> How do you handle accented words and other problematic symbols on your
> database-driven sites? If you need to
> --- "Ian M. Evans" <[EMAIL PROTECTED]> wrote:
> > How do you handle accented words and other problematic
> > symbols on your database-driven sites? If you need to
> > store one, do you store it as the actual character and
> > display it with htmlentities, or do you store it as the
> > html entity
At 17:54 3-2-03, you wrote:
if (is_object($_REQUEST['page']))
for me
if (isset($_REQUEST['page']))
works.
I often add a check against an empty value after this check.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
--- Brian Dunning <[EMAIL PROTECTED]> wrote:
> All I'm trying to do is check for the presence of a
> query string, but everything I try gives me an
> Undefined Index error.
...
> http://www.mysite.com/index.php?page=hello
>
> if (is_object($_REQUEST['page']))
> $pagename = $_REQUEST['page'];
>
--- "Ian M. Evans" <[EMAIL PROTECTED]> wrote:
> How do you handle accented words and other problematic
> symbols on your database-driven sites? If you need to
> store one, do you store it as the actual character and
> display it with htmlentities, or do you store it as the
> html entity?
Most peop
if(isset($_REQUEST['page']))
{ $pagename = $_REQUEST['page']; }
else
{ $pagename = 'home'; }
Should work... If not, let us know. Make sure your case match, too.
?page=hello and ?Page=hello are two different variables.
---John Holmes...
- Original Message -
From: "Brian Dunning" <[EMAIL P
Hi,
All I'm trying to do is check for the presence of a query string, but
everything I try gives me an Undefined Index error. I want to set a
variable $pagename to whatever was passed as the ?page= value, and if
it wasn't passed, set it to some default value.
http://www.mysite.com/index.php?pa
This hasn't come up too much yet in one of the databases on my site, but as
I get closer to starting a big project, I thought I'd get an idea of how the
rest of you handle this.
How do you handle accented words and other problematic symbols on your
database-driven sites? If you need to store one,
ImageFtBbox() can do this for you.
Here's a portion of my code that uses it. >>
$string="This is some text";
$pointsize = 15;
$fontfile = getcwd()."/arial.ttf";
$string_size = ImageFtBbox($pointsize, 0, $fontfile, $string,
array("linespacing" => 1));
$s_width = $string_size[4];
$s_height = $strin
> From: "1LT John W. Holmes" <[EMAIL PROTECTED]>
>
>> I'm having a problem escaping double quotes in email messages sent with
>> mail(). The message is built as a string and assigned to a variable and
> the
>> variable name is passed to the mail function.
>>
>> The double quotes appear correctly
Trying to set the image size based on the amount if text/fontsize,
etc... Looked through a bunch of the functions but nothing is jumping
out at me. Does anyone have an example and or can point me to the
correct function(s) for this.
--
PHP General Mailing List (http://www.php.net/)
To unsubsc
"Maxim Maletsky" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
>
> I agree, I'd go for Smarty. Though, on the other hand, I often see no
> reason for using the Templates of any kind. Why? Because you stil get to
> hard code the tags in it. Not making that much se
--- "arthur.chereau" <[EMAIL PROTECTED]> wrote:
> That's right, but with curl it's not a true redirection:
> you just print the content of the target page, you don't
> redirect to the page.
>
> What I need is "automated forms", that send the same
> data as forms but without user interaction. I can
> I'm having a problem escaping double quotes in email messages sent with
> mail(). The message is built as a string and assigned to a variable and
the
> variable name is passed to the mail function.
>
> The double quotes appear correctly in a simple test like this:
> $message = "This message uses
I'm having a problem escaping double quotes in email messages sent with
mail(). The message is built as a string and assigned to a variable and the
variable name is passed to the mail function.
The double quotes appear correctly in a simple test like this:
$message = "This message uses 'single' an
fileperms($link) returns - 16877
The permissions seem to be that of the directory the link is pointing to.
How can i get the permissions of the link ?
is_link only tells me if it is a link or not.
thx
gamin
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.
--- Todd Barr <[EMAIL PROTECTED]> wrote:
> I am having difficulty putting results into an form
>
> Once the query runs, I have this for my output
>
> print "";
>
> This results in an HTML error
>
> being apache finds an error AFTER the tag
>
> Any ideas?
My idea is that your error has nothi
I agree, I'd go for Smarty. Though, on the other hand, I often see no
reason for using the Templates of any kind. Why? Because you stil get to
hard code the tags in it. Not making that much sense as many think. You
might simply create a framework by appending the genuine PHP files where
HTML code
How does Smarty compare with PHP FAST Template??
- Original Message -
From: "Danny Shepherd" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, February 03, 2003 2:51 PM
Subject: Re: [PHP] PHP Framework
> Well, Yahoo! have moved/are moving to Smarty and they get a few million
> vi
Chris Shiflett" wrote in message:
> Your query returns two rows because you have two rows in
> the database that match the condition:
>
> host='localhost'
>
> --
> Chris
..
Chris,
I was under the impression that the mysql database had as default user when
instal
John W. Holmes wrote in message :
> Because a default install of MySQL includes an anonymous user, one with
> no username or password. There is also a root user with no password.
> Read the MySQL manual on Installation and the GRANT command on how to
> fix this.
>
> ---John W. Holmes...
..
Yeah, on your DBConnection include file (where your username/pass is kept), encrypt
the page with a encoder like IonCube (http://www.ioncube.com) they charge by the amount
of code, so for say, two connection lines, it's like $1.00. Check out there site, after you sign
up for an account you c
Hi everyone,
I found the same problem regarding security issue with database password file. Does
anyone has solution for that?
thanks
Hardik
"John W. Holmes" <[EMAIL PROTECTED]> wrote:> Major security question:
>
> I manage a shared Linux web server running PHP 4.2.3. Apache must have
> r
> Parse error: parse error in C:\apache\htdocs\tsadbatest.php on line 148
> Its the line after the html ends
Almost always means you forgot a closing brace somewhere. Count up your {
and } and make sure they match.
---John Holmes...
--
PHP General Mailing List (http://www.php.net/)
To unsubscr
Parse error: parse error in C:\apache\htdocs\tsadbatest.php on line 148
Its the line after the html ends
- Original Message -
From: "1LT John W. Holmes" <[EMAIL PROTECTED]>
To: "Todd Barr" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Monday, February 03, 2003 9:59 AM
Subject: Re: [PHP]
What is the error message you get?
---John Holmes...
- Original Message -
From: "Todd Barr" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, February 03, 2003 9:59 AM
Subject: [PHP] Html forms
I am having difficulty putting results into an form
Once the query runs, I have thi
Well, Yahoo! have moved/are moving to Smarty and they get a few million
views a day.
The killer part with smarty is that it converts the Smarty tags, in your
template, to real PHP code - that's what makes it so fast. It's also very
easy to extend.
Danny.
- Original Message -
From: "John
1 - 100 of 136 matches
Mail list logo