You didn't show how you construct the JavaScript string in PHP - I'm sure
the problem is with quoting in there.
Have a look at your output in the browser (do a "View Source" or whatever
your Browser calls it), and check the JS your PHP application constructed.
You'll spot the error...
At 05:28 13
At 02:06 13.11.2002, Todd Cary said:
[snip]
>Many thanks!! One thing I do not understand in the "types" of variables
>is the use and referencing of a variable with the "[]". What I usually do
>is define a variable as
>
>$myvar = array();
>
>And then I use
At 01:59 13.11.2002, David Rice said:
[snip]
>On Tuesday, November 12, 2002, at 07:34 PM, Ernest E Vogelsinger wrote:
>>
>> Sure it is - just name the listbox control "myvar[]" (note the angle
>> brackets). PHP will recognize this being an array, and you'll e
At 01:59 13.11.2002, Gustaf Sjoberg said:
[snip]
>hi,
>i tried to implement the code, but it does not work if the string:
>
>a) doesnt contain any ..
>b) doesnt contain any
>c) doesnt contain any
>d) contains multiple ..'s
>
>so i altered it a little and th
"Chris Shiflett" <[EMAIL PROTECTED]> wrote:
...[snip]...
> Yes, this is the same code that "works fine in plain html". Why echo it in
PHP if it is static?
Good question ;)
But I'm sure there's a good a answer :) Besides, why would anybody want to
do that if there's no good reason?
- E
--
"Ben C." <[EMAIL PROTECTED]> wrote:
> I was setting up a news site that is customized for the registered user.
I
> wanted that user to have the ability to be able to click a button and have
> the password e-mailed to him. The password function that I used is
> password(password) through mysql.
Does unsetting an array element make the array smaller? For example, if I
have two elements in an array...
$array = ("title" => "Title of Document",
"content" => "Ten paragraphs of text in here..." );
...then issue this command...
unset ($array['content']);
...will this ma
If I type some "+" signs in a form and that I send it by POST, the
result is that the "+" become spaces.
I guess there's an option in the php.ini, but can't find out !
Thanks for your help!
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
@ Edwin wrote:
"Aaron Merrick" <[EMAIL PROTECTED]> wrote:
This works fine in plain html:
When I put it in PHP thus:
echo "";
When the page loads, I get an "Error: 'menuObj' is null or not an object"
I think php is parsing your js code. Have you tried echoing with single
quotes?
echo '';
I was setting up a news site that is customized for the registered user. I
wanted that user to have the ability to be able to click a button and have
the password e-mailed to him. The password function that I used is
password(password) through mysql. Do you know how I can get the encrypted
strin
Hello,
"Aaron Merrick" <[EMAIL PROTECTED]> wrote:
> Folks,
>
> Can't see an answer anywhere in the archives, so here goes.
>
> This works fine in plain html:
>
> onresize="window.location.reload(false)" topmargin="1" bottommargin="0"
> leftmargin="0" rightmargin="0">
>
> When I put it in PHP thu
Gerard Samuel wrote...
> Do you store this utf-8 stuff only in xml files?? Do you use a database? I
> was under the impression that mysql doesn't support utf-8
Yeah, that would be a problem. I didn't think MySQL would be an issue, and
I'll investigate...
-- Charles Wiltgen
--
PHP General Ma
"John W. Holmes" <[EMAIL PROTECTED]> wrote:
>
...[snip]...
> And where do you plan on storing this 'secret code' that your dynamic
> PHP script have to have access to in order to add users and send
> forgotten email messages??
>
> If you have something to protect, then you should have your own
Ernest E Vogelsinger wrote:
At 07:54 12.11.2002, Chris Shiflett said:
[snip]
Anyway, thanks for your insight. Some of these slightly off-topic issues
are more interesting than the on-topic ones. :-) Maybe our community
needs a historian to collect some
If you want php to do it in the remote server (your case),
of course, you do not have to use javascript //
Just do like this
if (isset($_POST['submit'])) // to verify that browser are sending something
correctly
{
// --> record posted data into database
and after
// --> send mail
}
But if you w
On Tue, 12 Nov 2002 18:28:53 -0800, you wrote:
[snip]
>My Invisible GET method avoids all of this.
If you get an example of this up and running somewhere why don't you
post a link...
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Do you store this utf-8 stuff only in xml files??
Do you use a database? I was under the impression that mysql doesn't
support utf-8
[EMAIL PROTECTED] wrote:
I utf8_encode and utf8_decode all data that I put into XML files. The
application is on a large site so it is thoroughly tested and has
> Using ENCODE and DECODE with protected 'secret code' help you to
improve
> your security and user's security. And you don't lost anything doing
this,
> on the contrary, it is a good marketing arguments, like as your system
> (site) is more safe than other and user could fell in.
And where do you
>
> Okay, so why are you giving users read access to the mysql data folder?
> They can also open up your .php file and find your "secret code."
I think, it is good discussion, so I try to go deeper to it, because we need
improve security. And I hope another people to join this.
Since I don't hav
hi,
try this parser
http://creaturesx.ma.cx/kxparse/
(not stable)
_
The new MSN 8: advanced junk mail protection and 2 months FREE*
http://join.msn.com/?page=features/junkmail
--
PHP General Mailing List (http://www.php.net/)
To un
Take a look at this class:
http://websapp.mirrors.phpclasses.org/browse.html/package/767.html
(Class for generating Excel Spreadsheets)
Jason
On Tue, 2002-11-12 at 13:06, [-^-!-%- wrote:
>
> All,
> Does anyone know where I can find information on generating MS Excel
> files, with PHP?
>
> I wa
Could you post some code?
David Russell
IT Support Manager
Barloworld Optimus (Pty) Ltd
Tel: +2711 444-7250
Fax: +2711 444-7256
e-mail: [EMAIL PROTECTED]
web: www.BarloworldOptimus.com
-Original Message-
From: pig pig [mailto:pigpig8080@;yahoo.com.sg]
Sent: 12 November 2002 03:52 PM
To:
hi,
do you want to show the whole XML content (including tags and other things)
or you want to extract data (tag text and attribute vaules) from it?
khalid
_
The new MSN 8: smart spam protection and 2 months FREE*
http://join.
Folks, I have a popup window that I would like to put a mild security constraint on. I
don't want others to be able to directly type in the address of this page, modify url
parameters, etc. I only want this page accessible if it was triggered from a link on
my own website, then I know I can trus
Hi Scott,
what you want to do can be acomplished just by telling php what to do in
order... for example run the $query to insert the data into the DB and after
that, run a mail function that sends the mail. IF you want to be more
elegant in your scripting, do the mailing within an IF clause so the
Hello all,
I currently having some trouble getting PHP to compile with the correct
crypt() support. It seems that when compiled as a DSO under Apache
crypt() will not do MD5 encryption. However if I compile PHP standalone
then all works correctly. I have tried with and without mod_ssl. I
h
Hello
I would like to know if it is possible to use Php to make a form perform 2
actions by having the user click on a single submit button. For instance,
send data to a database and email it simultaneously. I would prefer not to
use javascript. If someone could point me to an example I would
> I don't think so,
> data stored as plain text is almost stored intact in the file system.
>
> Using stupid windows for example,
> you can easily open mysql file "table.MYD" in the folder database with
> NotePad, and you can read everything. Which means, everybody without
any
> hacking knowledge
Hi,
I'm seeking a good Bug Tracker in PHP. I've tried Mantis. I was at
freshmeat and tried a bunch of those. Found nothing I liked. I did find
one bug tracker that used Smarty but I did not like it.
I'm seeking a Bug Tracker where everything is in classes. Design is in
a template class (strong
David -
Speaking of JavaScript, is there a way to block the Enter key? If I
have two buttons, the Enter key always pushes the one with focus.
What is the accepted way to handle this? With one button it is nice to
let the user press the Enter key and depress the one button - with two,
it can
I don't think so,
data stored as plain text is almost stored intact in the file system.
Using stupid windows for example,
you can easily open mysql file "table.MYD" in the folder database with
NotePad, and you can read everything. Which means, everybody without any
hacking knowledge can access to
> I have some code that looks like this:
>
> if(!session_is_registered('errors'))
> session_register('errors');
>
> but i want to do this using the $_SESSION, i tried
> doing it this way
>
> if(!isset($_SESSION['errors']))
> session_register('errors');
>
> but when i echo(isset($_SESSION['e
I have some code that looks like this:
if(!session_is_registered('errors'))
session_register('errors');
but i want to do this using the $_SESSION, i tried
doing it this way
if(!isset($_SESSION['errors']))
session_register('errors');
but when i echo(isset($_SESSION['errors'])) it prints
fals
Folks,
Can't see an answer anywhere in the archives, so here goes.
This works fine in plain html:
When I put it in PHP thus:
echo "";
When the page loads, I get an "Error: 'menuObj' is null or not an object"
The onoff() function is what contains the menuObj, so I suspect the single
quotes a
How would i call a page in PHP that is XML?
eg; if i had a file that was like below.
http://www.philipnz.com/news/rss.xml
and i wanted to include it onto a page.
HELP (looking through the docs now)
---
Philip J. Newman.
Head Developer.
PhilipNZ.com New Zealand Ltd.
http://www.philipnz.com/
[
In an earlier message, Ernest E Vogelsinger [mailto:ernest@;vogelsinger.at]
said ...
> Think of how an interpreter works. It parses the
> sourcecode in realtime, not as a compiler. People must
> _wait_, every time, until it is finished,
> not only once like a compiler. Thus designers of
> interpre
I utf8_encode and utf8_decode all data that I put into XML files. The
application is on a large site so it is thoroughly tested and has encoded and
decoded data without problems. I have run the application on Linux Slackware
and FreeBSD.
Quoting Charles Wiltgen <[EMAIL PROTECTED]>:
> Hello,
>
Hello,
I anyone out there using UTF-8 for files and databases? I want to use it
for everything, and it'd be a major hassle if PHP's UTF-8 support was super-
dependent on underlying OS issues, so any feedback is appreciated.
-- Charles
Charles Wiltgen wrote...
> How mature is PHP's support for
If you want an email password feature, then just store it as plain text.
If someone is able to get access to your database, that means they more
than likely have access to the rest of your box, so your 'secret code'
is worthless.
---John Holmes...
> -Original Message-
> From: rija [mailto
ENCODE(value, 'secret code')
DECODE(field name, 'secret code')
to record
" ... VALUES ( ... blahblah, ENCODE('$passord', 'secret code', ... BLAH
BHAL") ;
and to read the value
do like this
MYSQL_QUERY("SELECT DECODE(password, 'secret code') as password, id, BLAH
BLAH
- Original Message
Hello,
"@ Nilaab" <[EMAIL PROTECTED]> wrote:
> Hello Everyone,
>
> I have a directory that I want emptied everytime a script accesses a
certain
> function. I tried using rmdir() and then mkdir(), thinking that it will
> delete the directory and the contents within it, and would create a brand
> n
you could break out into the shell and do
rm $dir/*(rm -r $dir/* if there's directories too)
(or del $dir/*.* for dos)
or use opendir, readdir, closedir to read the directory's content and use
unlink to delete the file(s)
(if $dir is not hardcoded, I can see a security hole he
Hello Everyone,
I have a directory that I want emptied everytime a script accesses a certain
function. I tried using rmdir() and then mkdir(), thinking that it will
delete the directory and the contents within it, and would create a brand
new directory for me to work with from scratch. Well, that
Hello,
"Step Schwarz" <[EMAIL PROTECTED]> wrote:
> Hi all,
>
> I was hoping to find some code examples or tutorials on using PHP/MySQL
with
> Japanese text. The site I've built is very close, but apparently a very
I'm not sure about tutorials in English but if you know Japanese, I'm sure
you ca
Michael Sims wrote...
> It's always been my experience that trans sid doesn't append the SID to header
> redirects. You have to do it manually (I use the SID constant for this
> purpose).
When I test on a browser with cookies disabled, I imagine I'll find that I
have to do that. That's okay, th
Hello
"Kelly Meeks" <[EMAIL PROTECTED]> wrote:
> I saw this used in a script, but after a couple of searches didn't come up
with anything on php.net.
I think you're looking for this:
http://www.php.net/manual/en/language.types.string.php#language.types.string
.syntax.heredoc
- E
...[snip]...
There are typically called a 'heredoc' or 'here document'. basically it
changes the double quotation mark(") to
'content' (in this case). To start, do this <<
and to end it just type content;
on a line by itself.
The example you showed does echo the stuff out. It sets all the internal
html to $
I saw this used in a script, but after a couple of searches didn't come up with
anything on php.net.
$phpvarhere
content;
echo $var;
?>
So, does this allow you to output mixed html/php without having to escape offending
characters with no echo or print?
Conceptually, would the syntax ab
I have to change the constant "maximum_time_out" (via
set_timeout_limit) on the "first" script, and keep it seted
in a session, until the second script became to be loaded.
Is that possible?
[[]]'s Bragatto
PS: sorry for my miserable english #)
--
PHP General Mailing List (http://www.php.ne
Upon reading my reply, I think perhaps I wasn't clear enough. I am using
users_file, etc. I am unable to upload a file because $users_file is given
the value of "none".
-Original Message-
From: Van Andel, Robert
Sent: Tuesday, November 12, 2002 3:59 PM
To: Ernest E Vogelsinger
Cc: [EMA
On Tue, 12 Nov 2002 15:55:52 -0800, you wrote:
>It's simple, which is one thing I like about it. My submit.php looks like
>this:
>
>session_start();
>header('Location: ' . $_REQUEST['target']);
[snip]
I'm curious...your redirect doesn't include the session ID, so how you
maintain ses
Can anyone recommend a good resource for php -related jobs, especially in
the los angeles area?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
If the password is md5, then no - you can't reverse it because md5 is a
one way hash.
If you want to have bi-direction encryption/decryption, look into using
mcrypt. - just not on windows... Because it will make you want to kill
yourself.
http://www.php.net/mcrypt
-Original Message-
From
Is there not any way to reverse the crypted password before e-mailing??
If not, how do I use ENCODE / DECODE?
>
> From: "rija" <[EMAIL PROTECTED]>
> Date: 2002/11/12 Tue PM 07:32:28 EST
> To: "php" <[EMAIL PROTECTED]>,
> "Ben C." <[EMAIL PROTECTED]>
> Subject: Re: [PHP] Trying to e-mai
hi,
i tried to implement the code, but it does not work if the string:
a) doesnt contain any ..
b) doesnt contain any
c) doesnt contain any
d) contains multiple ..'s
so i altered it a little and this is what i came up with:
)(.*?)(<\/pre>)(.*)/is', $string))
{
if (!preg
On Tuesday, November 12, 2002, at 07:34 PM, Ernest E Vogelsinger wrote:
Sure it is - just name the listbox control "myvar[]" (note the angle
brackets). PHP will recognize this being an array, and you'll end up
with
$myvar = array('select1','select2');
Is this the only way to do this?
I jus
Many thanks!! One thing I do not understand in the "types" of variables
is the use and referencing of a variable with the "[]". What I usually do
is define a variable as
$myvar = array();
And then I use the "[]" to refer to the elements. However, if I understand
you suggestion, which works
Check the documentation on the openldap and see what you need to use for
the rdn..
if you are running gnome you might want to test it out with gq. That is
what i use to test out my connection and stuff with...
On Wed, 2002-11-13 at 00:44, Karim Jafarmadar wrote:
> On 12 Nov 2002 17:33:35 +
On 12 Nov 2002 17:33:35 +
BigDog <[EMAIL PROTECTED]> wrote:
> You have two problems it seems.
>
> 1. Wrong connection security...now you are using ldaps
> 2. Now you have the incorrect rdn.
Oh .. i get it
you mean the second error is due to a ldap/nds problem but i got the connection right
Sure! Just add [] to the end of the name of the field. PHP will return
all the values in an array:
Marco
--
php|architect - The magazine for PHP Professionals
The monthly worldwide magazine dedicated to PHP programmers
Come visit us at http://www.phparch.com!
--- Begin Message -
You should do like this:
$password = $row['password'];
This return weird crypted value of your password.
Unless you want send the this weird password. The function mysql_password is
irreversible, you cannot get back the value crypted by password. Use ENCODE
and DECODE instead,
- Original M
At 01:37 13.11.2002, Todd Cary said:
[snip]
>I have a pull-down with the MULTIPLE attribute. If the Form is of Type
>GET and two values are selected (e.g. select1 and select2), I see in the
>URL the following:
>
>?myvar=select1&myvar=select2
>
>"myvar" app
You have two problems it seems.
1. Wrong connection security...now you are using ldaps
2. Now you have the incorrect rdn.
when you tried it with ldap you could not even pass the rdn because the
encryption was not sufficient. Now you have the encryption down and now
it seems that the rdn is wrong
On 12 Nov 2002 17:24:38 +
Ray Hunter <[EMAIL PROTECTED]> wrote:
> So you are connecting via ldaps://host in the ldap_connect function
> right?
>
> then when you bind make sure you are using the appropriate rdn for that
> ldap server.
do i have to use another rdn, than when connecting via lda
I have a pull-down with the MULTIPLE attribute. If the Form is of Type
GET and two values are selected (e.g. select1 and select2), I see in the
URL the following:
?myvar=select1&myvar=select2
"myvar" appears twice, however, if I check the $HTTP_GET_VARS, I only
have one value: myvar=select2.
So you are connecting via ldaps://host in the ldap_connect function
right?
then when you bind make sure you are using the appropriate rdn for that
ldap server.
That is probably why u are getting a "No such Object" error.
On Wed, 2002-11-13 at 00:19, Karim Jafarmadar wrote:
> thanks for your r
Found it - sorry. For anyone curious here's what I found:
You _need_ to have an Order directove for Allow, so:
the .htaccess file reads
AuthName "IPlease authenticate"
AuthType Basic
AuthUserFile /www/.htpasswd
AuthGroupFile /www/.htgroup
Require group internal
Order deny,allow
thanks for your reply
the whole error message is
Warning: LDAP: Unable to bind to server: Strong authentication required
and when i connect via SSH its something like that
Warning: LDAP: Unable to bind to server: No such Object in ...
i am running this thing on a debian box with php4 and openl
Can u not get it from php.net...the zip file that contains all the
extensions and dlls...not the installer...
That should have the one that you need.
I am still thinking it is an issue with the path...it took me about a
week to get it all working...
On Tue, 2002-11-12 at 23:08, Nick Richardson
What type of strong authentication does it want?
Do you need to connect via ssh or something...
On Tue, 2002-11-12 at 22:13, Karim Jafarmadar wrote:
> hello
>
> I want to connect to a local NDS via LDAP, but when i try to bind i get
> the error:
>
> Unable to bind: Strong authentication requ
Yeah, I wondered about that. Having heard that C was designed in part for
the parser. A parser with no lookahead (or maybe 1 char of lookahead) was
used, which is why hex numbers start with "0x" instead of being suffixed
with "_16", just to contrive an example.
I would be curious to hear the autho
At 01:09 13.11.2002, Ben C. said:
[snip]
>I am trying to have a form that send a user their email and password to
>login. I am using the following:
>
>while ($row = mysql_fetch_array($result)) {
> $email = $row['email'];
> $passw
I am trying to have a form that send a user their email and password to login. I am
using the following:
while ($row = mysql_fetch_array($result)) {
$email = $row['email'];
$password = $row['password(password)'];
When I use the mail() function to send both $email
Hi folks,
sorry, no PHP or else this time, just a quick OT question (don't want to
need to subscribe to another mailing list).
I'm just messing around with our Apache config and thought someone could
give me a quick pointer...
Here we go:
AllowOverride AuthConfig Limit
The .htaccess file
It was a typo. Sorry.
Robbert van Andel
===
Network Operator
NW Regional Operations Center
Charter Communications
ROC Phone: 866-311-6646
Desk Phone: 360-828-6727
email: DL NW ROC
===
-Original Message-
From: Ernest E Voge
maybe you should remove the dot before the session path or do like this :
session.save_path = C:\PHP\sessions\tmp
- Original Message -
From: "Charlie Fowler" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>;
<[EMAIL PROTECTED]>
Sent: Wednesday, November 13, 2002 10:19 AM
S
Justin French wrote...
> Well, you seem so sure it will work, so give it a go... I can't see how, but
> am totally willing to learn!
>
> Have you got any info on invisible gets?
It's simple, which is one thing I like about it. My submit.php looks like
this:
Then to send a new value for a
At 00:36 13.11.2002, Joseph Szobody said:
[snip]
>Folks... when I execute the following code, I get a big black nothing. I
>think it's the right size, but all black. No image is showing up. What gives?
>
>
>Header("Content-type: image/tiff");
>
>$filename =
At 00:25 13.11.2002, Van Andel, Robert said:
[snip]
>encType=multipart/form-data>name=MAX_FILE_SIZE>
>
> }
>?>
>When I submit the form at the bottom of the script, the $user_file variable
>equals "none". I am unable to figure out what is going on. The var
> Is there anyway at all of reading the results of a parsing PHP page
from
> within that same PHP page itself. In other words can you read the HTML
> code
> it's going to create. I know that you can use regular expressions to
parse
> the HTML page manually swapping variable content as you would wit
Folks... when I execute the following code, I get a big black nothing. I think it's
the right size, but all black. No image is showing up. What gives?
Header("Content-type: image/tiff");
$filename = image.tif
$file = fopen("$filename",rb);
fpassthru($file);
fclose($file);
Any help would be ap
Is there anyway at all of reading the results of a parsing PHP page from
within that same PHP page itself. In other words can you read the HTML code
it's going to create. I know that you can use regular expressions to parse
the HTML page manually swapping variable content as you would with most any
I am having issues uploading a file. I am trying to up load a file from my
computer to the server so taht I can run a mysql query using the load data
infile query. here is the code
Remote File Name: $users_file";
echo "Local File Name: $users_file_name";
echo "L
At 00:19 13.11.2002, Charlie Fowler said:
[snip]
>.c:/php/sessions/tmp .c:/php/sessions/tmp
>
>open(.c:/php/sessions/tmp\sess_fa42372dcdbde0e457309f134d71827f, O_RDWR)
>failed: Invalid argument (22) in C:\Program Files\Apache
>Group\Apache2\htdocs\SAMS\Chap
error_reporting() ;
1 E_ERROR
2 E_WARNING
4 E_PARSE
8 E_NOTICE
16 E_CORE_ERROR
32 E_CORE_WARNING
64 E_COMPILE_ERROR
128 E_COMPILE_WARNING
256 E_USER_ERROR
512 E_USER_WARNING
1024 E_USER_NOTICE
- Original Message -
From: "C
Hi all,,
Can some one help me with this little issue ... I am trying out some
prewritten scripts curtesy of SAMS PHP and MYSQL Web Development, Ch24 -
User Authenication & Personalisation on my server setup
The Configuartion for my development environment is Apache 2.39, Win
2000, PHP 4.2.3
T
Well, you seem so sure it will work, so give it a go... I can't see how, but
am totally willing to learn!
Have you got any info on invisible gets?
Justin French
Creative Director
http://Indent.com.au
Web Developent &
Graphic Design
--
PHP General Mai
At 23:35 12.11.2002, Cesar Aracena said:
[snip]
>The problem is that I have a remote "rented" server and I don't have access
>to these configurations
>
>any other ideas are welcome. Thanks
>
>any ot
>
>- Original Message -
>From: "BigDog" <[EMAIL PROT
Still having problems getting mcrypt to work under Windows. But I think
I have narrowed it down to me not having the correct version of
php_mcrypt.dll.
I downloaded the source for PHP and attempted to compile this myself,
but can not get it to work. If anyone has any information about where I
ca
At 23:23 12.11.2002, Ben C. said:
[snip]
>I am receiving the following error on my change password form:
>
>Warning: Cannot send session cache limiter - headers already sent (output
>started at /home/httpd/vhosts/localhost/httpdocs/order/change_psswd.php:14)
At 23:00 12.11.2002, Mike MacDonald said:
[snip]
>Hi People ! (Diagram below in text)
Hi! I like your graphics, esp. the folded corner ;-)
>I'm interested in thoughts on how to effect the equivalent of Router
>Network Address Translation for a PHP page.
>
At 22:56 12.11.2002, Joel Boonstra said:
[snip]
>All I know is when I think back to programming C++, I can't imagine how
>I could deal with variables that didn't have something in front of them
>to separate them from barewords.
[snip]-
Hi
thanks a lot John Nichel and Stephan , I understand now. I put blank in
password and it works.
thanks.
but after that in the next day (as I said my previous email) : Mysql stop
working and shows : "Host 'localhost' is not allowed to connect to this
MySQL server"
thanks for help
- Original
At 22:40 12.11.2002, Jonathan Rosenberg \(Tabby's Place\) said:
[snip]
>I guess this could be true. But I don't understand why someone would need
>an "easy" way to identify variables? Why not an easy way to identify
>function names? Or constants?
>
>In any
Hi Cesar,
> Hi all,
>
> I came back from vacations and forgot some things about
> queries... can anyone tell me what is wrong with this? of all
> the error messages I set up in the script, none comes back on
> the page but the record is not saved...
Dont we all forget 'things' after vacations
You must do session_start() before any output. You can get around this with
output buffering. ob_start(); ob_end_clean();
-Kevin
- Original Message -
From: "Ben C." <[EMAIL PROTECTED]>
To: "Adam Williams" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Tuesday, November 12, 2002 3:35 P
$query = "INSERT INTO mararegistro (visitorid, fname, lname, borndate,
address, city, country, phone, how) VALUES (null, 'c', 'c', '12', 'c', 'c',
'c', '12', 'c')";
I think you should put quotes around all of these values 12 exept null or
change null to '' ///
- Original Message -
From:
I am using the require() function.
- 1st require() includes the top portion of my page on every page.
- 2nd require puts the following code in the middle:
16 || strlen($new_passwd)<6)
echo "New password must be between 6 and 16 characters. Try again.";
else
{
// attem
The problem is that I have a remote "rented" server and I don't have access
to these configurations
any other ideas are welcome. Thanks
any ot
- Original Message -
From: "BigDog" <[EMAIL PROTECTED]>
To: "Cesar Aracena" <[EMAIL PROTECTED]>
Cc: "PHP General" <[EMAIL PROTECTED]>
Sent: Tuesd
Hi
I am running normally a phpMyAdmin 2.2.6, until yesterday it shows me :
Host 'localhost' is not allowed to connect to this MySQL server
please help
1 - 100 of 234 matches
Mail list logo