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
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
> 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 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
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
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
> 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
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
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
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
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,
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.
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:
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
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
>
> 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
> 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
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
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
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
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
"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
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
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
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
@ 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 '';
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
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
"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.
"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
--
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
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 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
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
201 - 234 of 234 matches
Mail list logo