Navid Yar wrote:
Hello Guys,
I need a little bit of help with recursion. I've searched our PHP website
and Google, but none helped me understand my problem. There is a code below
this message in order to help you understand what I am trying to achieve.
Here is an explaination:
What I'm trying to
Interesting, is this for a website? If so have you tried doing the same
thing with CSS? Using CSS you could make the site load faster and be more
accessible (for instance, you can allow users to choose their own font size,
and make it easier for page readers to handle your page).
-Javier
-O
Javier Muniz wrote:
Interesting, is this for a website? If so have you tried doing the same
thing with CSS? Using CSS you could make the site load faster and be more
accessible (for instance, you can allow users to choose their own font size,
and make it easier for page readers to handle your pa
Hi List,
Is there such a tool that will generate a form and relevant code when given
the mysql db->table->fields to update, select, insert etc ?
I ask as hand coding forms and the relevant php code is becoming very time
consuming and I need to speed up this operation.
Any URL's would be useful.
Hi, I'm trying to write a front end for something and I want to be able to execute
shell commands. I tried all of the pre-written functions and non of them would work. I
setup a user that can sudo and then i set apache to run as that user. So, what I tried
to do is shell_exec("sudo -s; reboot;")
On Sun, 2003-11-09 at 03:41, Teren wrote:
>
> Hi, I'm trying to write a front end for something and I want to be able
> to execute shell commands. I tried all of the pre-written functions
> and non of them would work. I setup a user that can sudo and then i
> set apache to run as that user. So, wha
Dave Carrera wrote:
Hi List,
Is there such a tool that will generate a form and relevant code when given
the mysql db->table->fields to update, select, insert etc ?
I ask as hand coding forms and the relevant php code is becoming very time
consuming and I need to speed up this operation.
Any URL'
[snip]
> What I'm trying to do is list a typical category/subcategory system with
> parents and children associated with those parents. My database table
> (categories) lists all the parents and children together, each with a
> parent_id field
> (with root being a value of 0). What I want to do is
Check your php.ini file and see where it is trying to save your sessions
at. I "think" it is trying to save them to /tmp. You might have to make
sure that directory exists. You might also have to put it in as the full
path. ex.C:\tmp. Make sure to restart your apache, or whatever Web
S
Hello Dave,
Although HTML_QuickForm is useful, you will find DB_DataObject is closer
to what you need http://pear.php.net/db_dataobject
Greg
--
phpDocumentor
http://www.phpdoc.org
Dave Carrera wrote:
Hi List,
Is there such a tool that will generate a form and relevant code when given
the mysql
[EMAIL PROTECTED] wrote:
I have tried about 15 combinations of unset(), session_unregister(), session_destroy(), session_unset(), $_SESSION = array(),
I miss session_start in the list. You have to start the session prior to
destroying it.
--
PHP General Mailing List (http://www.php.net/)
To unsu
php-general Digest 9 Nov 2003 16:33:59 - Issue 2405
Topics (messages 168974 through 168991):
Re: Help With Recursion && Multi-Dimensional Arrays
168974 by: Jordan S. Jones
168981 by: Burhan Khalid
168988 by: Lowell Allen
Re: BTML 2.0 released!!!
168975 by: Jo
Hi,
I have a table that includes 3 columns for day, month and year. Example:
Day, Month, Year
11,Jan, 1974
4,Sep, 1921
...
...
I need to construct a query where users can specify a starting date.
Currently, I stuck in mktime function became of the 1970 epoch problem. It
gives an error for dates b
It's avaiable on:
http://members.home.nl/famde.jong/portalBT-0.0.1.zip
If you have any comments, post a reply.
If you find it is very easy, it is. That is why it is version 0.0.1
Okay, it is not that good, but please try it... There is even an install
script in it!!
--
PHP General Mailing Lis
YC Nyon wrote:
I have a table that includes 3 columns for day, month and year. Example:
Day, Month, Year
11,Jan, 1974
4,Sep, 1921
...
...
I need to construct a query where users can specify a starting date.
Currently, I stuck in mktime function became of the 1970 epoch problem. It
gives an error fo
Ok, that's reasonable. My only suggestion would be to cache the images that
your script generates. A good way to do this is to md5 or otherwise hash
the arguments to the PNG generation code and then have the code search for a
file in a specified directory (/tmp/generated_pngs for instance) with t
Ack! No no no no no! At least put something this critical in a password
protected database, not a place that could possibly be written to by a
malicious user that gains access to an easily-writable directory like /tmp,
the DoS and security ramifications of having a system like this are huge.
Be exc
Radu Manole wrote:
Hi all,
I do have a question about optimizing the php for large applications.
Many applications group the functions in files (eg. functions.inc.php) or
build classes, and these files/classes are called with 'require' or
'include' on the top of each main file.
What would be the
Thanx. I placed there as well, but wasn't getting any responses so thought
I'd try this group as it has been invaluable in the past.
Finally got a response on the Macromedia group so I'll try that suggestion.
--
Robb Kerr
Digital IGUANA
Helping Digital Artists Achieve their Dreams
http://www.dig
On Mon, 10 Nov 2003 01:41:15 +0800, you wrote:
>I have a table that includes 3 columns for day, month and year. Example:
>Day, Month, Year
>11,Jan, 1974
>4,Sep, 1921
That would be your problem - you should be using your database's native date
type.
>I need to construct a query where users can sp
You might consider creating your own lists to make releases and leave
php-list alone.
Imagine what it will happen if everybody will post their "releases" on the
list.
Cheers!
Paul
-Original Message-
From: Bas [mailto:[EMAIL PROTECTED]
Sent: Sunday, November 09, 2003 6:18 PM
To: [EMAIL PRO
Whats it about?
Can you give me a list of features?
Cheers,
-Ryan
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
I did mention database as one of the solutions. The question wasn't
about security so I didn't elaborate.
Cheers,
Rob.
On Sun, 2003-11-09 at 16:45, Javier Muniz wrote:
> Ack! No no no no no! At least put something this critical in a password
> protected database, not a place that could possibly b
Hi all:
I have a page with a img tag:
The script getthumbnail.php searchs for a thumbnail of the specified image
id; if not thumbnail exists, the script creates one; and then using
readfile() and header() functions flushes it contents to the browser. But it
fails.
The code is very simple:
head
Maybe there's an error with _generateThumbnail() ?
Do you know for certain that _generateThumbnail() works okay ?
Martin
-Original Message-
Hi all:
I have a page with a img tag:
The script getthumbnail.php searchs for a thumbnail of the specified image
id; if not thumbnail exists, the
> Maybe there's an error with _generateThumbnail() ?
> Do you know for certain that _generateThumbnail() works okay ?
>
> Martin
>
I do; it works correctly, the returned path exists. I also tested sending
the Content-Length header and it didn't work either.
Manu.
--
PHP General Mailing List (ht
If you can't change your database for some reason, for instance if it's a
legacy system or other large systems rely on that table format, look into
PEAR's Date class, it can probably help you out.
-Javier
-Original Message-
From: David Otton [mailto:[EMAIL PROTECTED]
Sent: Sunday, Novemb
I realize that, just didn't want to suggest that /tmp was a good solution
instead of a database. The question is always about security, btw ;)
-Javier
-Original Message-
From: Robert Cummings [mailto:[EMAIL PROTECTED]
Sent: Sunday, November 09, 2003 5:54 PM
To: Javier Muniz
Cc: Teren; P
--- Robert Cummings <[EMAIL PROTECTED]> wrote:
> I did mention database as one of the solutions. The question wasn't
> about security so I didn't elaborate.
I have done this same thing in the past, because I tend to answer the
question asked and nothing more.
However, recently I have begun trying
php-general Digest 10 Nov 2003 05:34:23 - Issue 2406
Topics (messages 168992 through 169008):
Solutions for 1970 epoch date restriction
168992 by: YC Nyon
168994 by: John W. Holmes
168999 by: David Otton
169006 by: Javier Muniz
First test release of BTportal
On Mon, 2003-11-10 at 00:34, Chris Shiflett wrote:
> --- Robert Cummings <[EMAIL PROTECTED]> wrote:
> > I did mention database as one of the solutions. The question wasn't
> > about security so I didn't elaborate.
>
> I have done this same thing in the past, because I tend to answer the
> question
Possibillity to create articles(with using a password)
Ability for every user to reply to articles
Module based(PHP File Links included)
And a install script.
"Ryan A" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Whats it about?
> Can you give me a list of features?
>
> Cheers,
>
32 matches
Mail list logo