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
>
> Yo
Hi David,
I know that there is an php application doing multiple file uploading at
once which is open source..
The application is san franscisco indymedia's news publishing system.
You might wanna download it at: http://tech.sfimc.net/download.php and
scrutinize the source code.. I am very sure th
Hi Adam,
I am not sure if my solution will work for you, because i don't know
anything about your language, so i couldn't be sure of the results of
the test:)
You can get around that program by encoding the html page..
Add this lines between your head tags on the html pages:
And see if it wil
Hi,
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
Gurhan
On Mon, 2003-06-30 at 15:05, John M wrote:
> Hello,
>
> I have the code below. It's a simple file upload. But it doesn't work.
> Before the line
You can either use global keyword or put the variable into $GLOBALS[]
array..
See: http://www.php.net/manual/en/language.variables.scope.php
Gurhan
On Thu, 2002-09-05 at 23:52, Justin French wrote:
> Hi,
>
> I'd like to be able to define multiple variables within a function, and have
> it avai
A little addition/clarification,
I mean in the main page, have the javascript open up a new window with
logout.php file when the user closes the browser.
Gurhan
On Thu, 2002-09-05 at 18:04, Gurhan Ozen wrote:
> Ohhh, I see what you are looking for..
> You have to play around wit
-09-05 at 17:32, Raphael Hamzagic wrote:
> Of course Gurhan,
>
> I have read all the php manual.
> How can I send a message when the user closes the browser to destroy the
> session?
>
> Thanks in advance
>
> Raphael
>
> "Gurhan Ozen" <[EMAIL PROT
You can end the session by using function session_destroy().
See:
http://www.php.net/manual/en/function.session-destroy.php
For general information on how PHP handles sessions see:
http://www.php.net/manual/en/ref.session.php
Hope this helps.
Gurhan
On Thu, 2002-09-05 at 17:17, Raphael Hamzag
You have to use recursive functions for this. You can write one..
function linkchecker($id)
{
$query="SELECT COUNT(*) AS mycount FROM tablename WHERE id=".$id."";
$result=mysql_query($query);
$row=mysql_fetch_array($result);
$nextid = $id + 1;
if (($row["mycount"]) > 0 )
Where does it fail?? By the way seems like you have forgotten the
parenthesises.. Try:
$temp = new Relic();
$temp->SetName("test");
$temp->DebugPrint();
Hope this helps..
Gurhan
"Pafo" <[EMAIL PROTECTED]> wrote in message
news:<[EMAIL PROTECTED]>...
i reed thru my code and i noticed that it w
You don't let PHP know that it is installed. You just have to make sure that
PHP is supporting mysql functions (compiled with mysql support) and start
using mysql function.. Check out what phpinfo() prints , whether or not
there is mysql related info in its output..
Gurhan
"Joel Lopez" <[EMAIL PR
Hi Kit,
For your first question, take a look at:
http://www.php.net/manual/en/installation.php
and click on the windows links..
For your second question, I am really not sure what you are asking.. What
exactly do you want to do? Just add a form to a php page? or have a form
automatically added by
eregi("php$", $stringtobecompared);
See: http://www.php.net/manual/en/ref.regex.php
Gurhan
- Original Message -
From: "David Busby" <[EMAIL PROTECTED]>
To: "php-general" <[EMAIL PROTECTED]>
Sent: Tuesday, July 02, 2002 4:49 PM
Subject: [PHP] RegEx question
> List,
> How can I regex t
Hi Jule,
You need to sort your records with "ORDER BY" clause . I don't know what
your table looks like and obviously don't know if you have suitable columd
for it.. Say you have a newsid field defined with int datatype with
auto_increment property, then you can issue your statement as "SELECT ..
play 10 results per page, but that doesnt work when
you want to do a ORDER BY rand() query.
"Gurhan Ozen" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> are you just looking for a way to display 10 results per page? If yes
then
> y
are you just looking for a way to display 10 results per page? If yes then
you can just use LIMIT to limit your result to 10 .. So, for the first page,
you can do "SELECT LIMIT 1, 10;" and for the second page "SELECT ...
LIMIT 11, 20" etc etc .
You can sure use "ORDER BY" with "LIMIT" to t
and osx to do this. The question is what
would be the fastest way.
I never heared of unix shell scripting, but I asume it is something what
youwould call a batch file in win or apple script on mac.
Thanx again for your help.
Andy
"Gurhan Ozen" <[EMAIL PROTECTED]> schrieb im Ne
Hi Andy,
The little snippet you showed from the text file made me think that the data
layout for each country is not consistent.
For example:
For Algeria there is the country name and right underneath goes the info
about yellow fever and malaria as opposed to American Samoa where underneath
the c
That's a pretty naive question to ask. For what specific task do you want to
compare them ? Besides if you can't write a comparison article on PHP vs.
JAVa , how can you set the outcome in PHP's favor?
I would advise you to sit down and try to do the task both in Java and PHP
, and compare both
The actual content of the .php files won't be seen from the net since it is
server side scripting language.. But if you are still concerned you can put
database connection info into another file (preferably .php file) and place
it somewhere outside your web directory and access it thru require() o
20 matches
Mail list logo