--- Daniel Page <[EMAIL PROTECTED]> wrote:
> Would it be possible to store PHP code in a MySQL table,
> then via a web page, connect to the DB, recover the code
> that corresponds to a certain id number, then include
> that code for execution?
Yes, and since your example demonstrates that you know
Thanks for the comments everyone! eval() has just made my day :)
Cheers,
Daniel
"Daniel Page" <[EMAIL PROTECTED]> a écrit dans le message de news:
[EMAIL PROTECTED]
> Hi,
>
> Would it be possible to store PHP code in a MySQL table, then via a web
> page, connect to the DB, recover the code that
This one time, at band camp,
Hardik Doshi <[EMAIL PROTECTED]> wrote:
> I know how to write XSL style sheet along with XML
> document. But i really dont know what contents should
> be in XML. If XML contains data (and it is true) then
> what is the need of MySQL? At last i can say i don't
> know a
hi..
was wondering about how you could run a script that automatically ran at
midnight every day and deleted records that matched a certain date stored in
a mysql table? any ideas how that supposed to work?..
i think the script has to be a chron task on linux but im not really sure
how to go about
I have a form and I want the user to be able to enter html in a text area.
This will then be stored in an array in a config file. Example
$htmlstuff[1] = '
"Sunfire" <[EMAIL PROTECTED]> wrote:
> was wondering about how you could run a script that automatically ran at
> midnight every day and deleted records that matched a certain date stored
in
> a mysql table? any ideas how that supposed to work?..
>
> i think the script has to be a chron task on lin
--- Kevin Waterson <[EMAIL PROTECTED]> wrote:
> This one time, at band camp,
> Hardik Doshi <[EMAIL PROTECTED]> wrote:
>
> > I know how to write XSL style sheet along with XML
> > document. But i really dont know what contents
> should
> > be in XML. If XML contains data (and it is true)
> then
>
Hi all,
I have the following script that (in theory) would work:
http://$PHP_AUTH_USER:$clean@server/member/index.php";;
header ("Content-Location: $url");
}
?>
So here is the basics: The user authenticates using http auth against a
MySQL database - if the username and password is corrent the
Hi.
Im working with a multidimensional array where the data in the array is a class
(struct). All the information is being stored correctly, but I need to sort each
column (AA0, BA0, etc. see below) by the fieldNo portion of the struct.
class fieldClass
{
var $fieldNo;
var $srcL
im writing an announcement board and i have a posted timestamp a field for
the date and time of the event (needs to be checked with cron) and a event
name and message field in the table..
i need to have the date and time of the event checked so when cron runs if
the posted event is on 2003-02-11 1
G'day all
I've been trying for a day or so to get a script to traverse all the levels
of a directory. With help from list archives and web sites I've come up
with this:
";
}
?>
I've read lots f stuff about "if (is_dir($blah)" but I get a bit lost with
the navigation after that (I'm _real_ new
--- Sunfire <[EMAIL PROTECTED]> wrote:
> i need to have the date and time of the event checked
> so when cron runs if the posted event is on 2003-02-11
> 15:00:00 for example then at 24:00:00 that day cron will
> delete that record because it isnt needed anymore
Work on creating a script that you
Great
Thanks a lot!
/Håkan
"Marek Kilimajer" <[EMAIL PROTECTED]> skrev i meddelandet
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Then why not use single quotes, its faster than double quotes, and you
> could also use comma instead of full stop (echo can take multiple
> parameters,
> which is f
test
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
I have a membership base that is logging into a php and MySQL based web site
and am wanting to be able to create a who's online (and perhaps an ability
to contact that person, but that's later) so that that person's profile is
available.
Anyone have any ideas where I could download a quick script
I am building a page that submits an article with 9 jpgs images of 45 to
60ko in size.
I got it working with no problems for two to three files, until when I
tested with all nine images I saw the real problem, that wouldn't uploaded
it.
When I consulted with my service provider they said they hav
Hmmm... I guess no one is doing this??? Seems fairly common.
Thanks!
Shawn
"Shawn McKenzie" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> I have a form and I want the user to be able to enter html in a text area.
> This will then be stored in an array in a
Search the archives. This asked, and answered, a few times a week.
Justin French
on 11/02/03 9:53 AM, Vernon ([EMAIL PROTECTED]) wrote:
> I have a membership base that is logging into a php and MySQL based web site
> and am wanting to be able to create a who's online (and perhaps an ability
>
I guess it might be possible with javascript. At the very least, you can do
a validation client-side for numbers only before submitting.
Justin.
on 11/02/03 5:27 AM, Edward Peloke ([EMAIL PROTECTED]) wrote:
> IS there a way to only allow the user to type in numerics to a text field?
> I do not
On Mon, 10 Feb 2003 16:36:58 +0100, Sascha Braun <[EMAIL PROTECTED]>
wrote:
Hi is something wrong with the above show argument?
Under Windows everything works fine under linux it just
shows me an 0 or 1, maybe for true or false, dont know.
Nothing really, except maybe the missing semicolon.
I want to run php 4.2.3 on Windows 98 2nd edition using apache server, but
after installing apache on it, I've got the following message, No service
installed.
So how can I install it? Then, I also cannot install php.
Any thought?
--
PHP General Mailing List (http://www.php.net/)
To unsubscrib
Is more info needed, or was everyone just going post replies like:
"see stripslashes() and htmlentities()"
***
I have a form and I want the user to be able to enter html in a text area.
This will then be stored in an array in a config file. E
Apache won't be a service on Win98. there should be a batch file to start
it, or just start apache.exe from the command line with options. You'll
need to do it every you reboot unless you put a batch file in Startup.
Once Apache is running, just follow the install instructions for PHP,
restart A
That is the right answer though... along with the various magic_quotes
flags in the configuration.
You need to look at your existing settings and then create a simple test
where you type in something such as: x'x"x\x and then spit it out and save
it and generally see at what point slashes are bein
This one time, at band camp,
Hardik Doshi <[EMAIL PROTECTED]> wrote:
> THe stuff which you are doing with XSLT and XML is
> pretty same like Smarty template engine? What is the
> advantage of using XML, XSLT than Smarty template
> engine?
Well basically, Smarty is gay.
Smarty supposedly will sep
Hi there,
I'm new to PHP, so maybe this Q makes me look rather stupid... never mind,
asking it anyway...
I want to have a form with several checkboxes and an OK button next to each
of them, to enable users to send data when checkbox has been changed..
I need to pass $i to know, which button has b
Thanks Phillip!
"Philip Hallstrom" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> That is the right answer though... along with the various magic_quotes
> flags in the configuration.
>
> You need to look at your existing settings and then create a simple test
>
Hi,
Why do you want a checkbox beside each button? Wouldn't the button alone be
enough? I'm assuming it's for something like a delete items list?
This is one of many ways to do it... I can't see why you need checkboxes --
perhaps you need to tell us more abut what you want to achieve.
";
e
On Mon, 10 Feb 2003 16:23:10 -0600, you wrote:
>Hi.
>
>Im working with a multidimensional array where the data in the
>array is a class (struct). All the information is being stored correctly,
>but I need to sort each column (AA0, BA0, etc. see below)
>by the fieldNo portion of the struc
On Sun, 2003-02-09 at 19:43, Jason Wong wrote:
> On Monday 10 February 2003 05:56, Gurhan Ozen wrote:
>
> > You need to specifye the MAX_FILE_SIZE value as a hidden argument to the
> > form..
> > See: http://www.php.net/manual/en/features.file-upload.php
>
> You don't.
>
> If you can show other
Hi,
When a user wants to add a comment on my site and uses either " or ', and
when it gets printed out, comes out as /" or /', either to the web page or
on a form to alter.
The only "treatment" i give it after its submited on the form is:
$comentarioc = str_replace("\r\n", "\n", $coment
MAX_FILE_SIZE only tells the browser how large the file should be. This is
why the PHP manual page also says, "The MAX_FILE_SIZE is advisory to the
browser. It is easy to circumvent this maximum. So don't count on it that
the browser obeys your wish! The PHP-settings for maximum-size, however,
cann
Which sounds like it has to be there to me? I just checked a working
file upload form without MAX_FILE_SIZE field, and it worked.. I guess i
misunderstood what was on the tutorials ? Or i wonder if this was a must
in the earlier versions of PHP? Anyone?
I have an upload feature on my a
Hi,
I have a very annoying little problem that someone might have an insight as
to its cause. The opening page on my site has two small jpeg pixs (3.9KB)
that display properly for any user. I have another page, with exactly the
same code, and same jpeg pixs that displays properly as well.
";
Hi,
Tuesday, February 11, 2003, 5:36:22 AM, you wrote:
JM> I have made a Mysql database class. I wanted to know how I could use
JM> that class in another class without using extend. For example:
JM> include 'db.php';
JM> $db = new db();
JM> ...some php code...
JM> class blah {
JM> va
Kevin Waterson wrote:
Well basically, Smarty is gay.
Smarty supposedly will seperate code from content.
but you have still need to markup to able to handle loops,
conditions etc which puts code right back into the content.
But it is Smarty code and not PHP code, where is the value in that?
The
Hi to all,
Is there anyone who could help me regarding php-cli in windows. What should
be the syntax to make the screen clear before echoing something?
Is there a good reference in php-cli?
Thanks in advance for the replies.
mike
--
PHP General Mailing List (http://www.php.net/)
To unsubs
Hi,
Tuesday, February 11, 2003, 7:39:16 AM, you wrote:
DP> Thanks for the comments everyone! eval() has just made my day :)
DP> Cheers,
DP> Daniel
DP> "Daniel Page" <[EMAIL PROTECTED]> a écrit dans le message de news:
DP> [EMAIL PROTECTED]
>> Hi,
>>
>> Would it be possible to store PHP code in
I really really like the idea of using XML/XSLT for creating future CMS
Apps. XML is simply a good way to manage and share content between different
companies, etc. Those that are not too familiar with XML, should try and
read a little bit on the advantages of it. It is the next generation markup
l
On linux it says:
-t ttl Set the IP Time to Live for multicasted packets. This flag
only
applies if the ping destination is a multicast address.
> -Original Message-
> From: Philip Hallstrom [mailto:[EMAIL PROTECTED]]
> Sent: Friday, February 07, 2003 4:31 PM
> To: Dae
How can I pass in a user/pw to an fopen() (or something similar)?
I am trying to render a dynamic db/php page into a static .html page --
or more specifically, I'm trying to email me back an html version of a
report page on remote servers. The reports are located behind an
https:// Apache user/pas
On Tuesday 11 February 2003 10:47, Pag wrote:
You have started a new thread by taking an existing posting and replying to
it while you changed the subject.
That is bad, because it breaks threading. Whenever you reply to a message,
your mail client generates a "References:" header that tells all r
Hi,
When a user wants to add a comment on my site and uses either " or ', and
when it gets printed out, comes out as /" or /', either to the web page or
on a form to alter.
The only "treatment" i give it after its submitted on the form is:
$comentarioc = str_replace("\r\n", "\n", $comen
On Tuesday 11 February 2003 06:34, Sunfire wrote:
> i have never used cron/crontab before ..
>
> and just so i know what should i search for on google...since none of my
> searches for anything about cron/crontab come back with anything on the
> list archive..
Which list archive did you search? I
On Tuesday 11 February 2003 07:03, Shawn McKenzie wrote:
> Hmmm... I guess no one is doing this??? Seems fairly common.
Patience. You should allow 1 day to give every list subscriber a chance to
read your post.
> "Shawn McKenzie" <[EMAIL PROTECTED]> wrote in message
> [EMAIL PROTECTED]">news:[
you will want to issue a "cls" command to the shell with the exec
command for using the back ticks...
That should do it for you...
example:
exec( "cls" );
That should do it for you...
Ray
On Mon, 2003-02-10 at 21:20, Michael P. Carel wrote:
> Hi to all,
>
> Is there anyone who could help me
Hi,
I have a file upload page that accepts file uploads from pretty much
every browser and os EXCEPT any browser on mac os 9. I have no idea
why, any of you ever have problems with file uploads on mac os 9? How
did you solve the issue.
--
Jimmy Brake <[EMAIL PROTECTED]>
--
PHP General Mai
i've tried that several times but it doesnt work here. here's my test script
This does'nt clear the previous lines of MS-DOS. Any ideas why?
> you will want to issue a "cls" command to the shell with the exec
> command for using the back ticks...
>
> That should do it for you...
>
> example:
On Tuesday 11 February 2003 14:20, Michael P. Carel wrote:
> i've tried that several times but it doesnt work here. here's my test
> script
>
> exec("cls");
>
> echo"/
>
> **/";
>
> ?>
>
> This does'nt clear the previous lines of MS-DOS. Any
I am new to regex and broke my head on it the other day...in vain...
Can any one tell me a place to get a step by step tutorial on it or help me
out on how to work it out ?
I am trying to make a link collector.
after opening the desired page, I want to get all the hyperlinks on it...
Thank You!
> well Im out of a job so I am sitting around learning XML. It seems like a
> great tool, but I am trying to figure out why I would actually use it?
If you intersting for my experience:
I find xml+xslt useful for offline-site generation tasks,
right now I am making site, and there are folders
con
There is a good article on user management @ www.devarticles.com
- Original Message -
From: "Davy Obdam" <[EMAIL PROTECTED]>
To: "PHP" <[EMAIL PROTECTED]>; "PHP-WIN"
<[EMAIL PROTECTED]>; "PHP-DB" <[EMAIL PROTECTED]>
Sent: Sunday, February 09, 2003 7:03 PM
Subject: [PHP] Confirmation e-mai
101 - 152 of 152 matches
Mail list logo