Could you please help us, to redirect some of our pages to based on IP
address.
We have used SmartRedirect program but it is not working on with some of
our ISP's IP address. We are located at India, and like to have some
language specific pages to be displayed to our Indian user while english
Hi all,
I read from the php document that I can use the popen function to open either read
or write access to a system process, is it possible to open read and write access at
the same time? I tried popen with "w+" but it doesn't work. Anyone have solution to
this? FYI, I am using php 4.0
Hello,
I am trying to connect php and mysql with the following syntax
mysql_connect("localhost","username","password");
But it is giving error NoMysql support.
Also i have stored the files in another webserver and trying to connect
the mysql and php in the localhost it is working prope
Hi there!
I'am new to this list and half a year old with php - from Germany -
webprogramming- student - family - job - hardworking all the time ;-( ;-)
So far...
Hope, someone can help me:
I write a file with fwrite.
If I parse it with an preg_replace array, the parsing does not work correct
Hi Boaz,
Personally, I found the jobs list at weberdev much more useful when you could list
all jobs by date descending, as opposed to the seperated by country links. Anyway
that might be put back someday?
Thanks for a great PHP resource site,
John
>You can check out http://www.weberdev.
In article <006101c1ab7b$27ec01b0$9d0e533e@mazingerz>,
[EMAIL PROTECTED] (Borja martín) wrote:
> $img[3]["src"]= "img1";
> $img[6]["src"]= "img2";
> $img[9]["src"]= "img3";
>
> and I would like to change the array index adding one to their values,but
> only on the two last arrays,
I'm just being damn lazy, but has anyone got (or seen) a nice file simple
file manager writtin in PHP?
Facilities should include upload/download, copy,move,rename,delete, possibly
view image/source...
Thanks
--
Alan McFarlane
[EMAIL PROTECTED]
'I hate re-inventing the wheel!'
--
PHP General
Hi
I'm not sure what's causing it then - you can get better error reporting
using by removing the @ sign and using mysql_error() like this :
$result = mysql_query($sql,$connection) or die(mysql_error());
Regards
Girish
- Original Message -
From: "James Hallam" <[EMAIL PROTECTED]>
To:
I forgot to mention that all of the pics in my small app are renamed and are
only 5 digits in length. So I always know I can count on the substr() and 5
digits/characters. Your situation is more than likely different than mine
own, and you'll have to adjust the extraction of the file name to suit
Mmm - looks damn complex but it's really very simple - Get yourself a copy
of phpAdsNew (from sourceforge.net) - It's an amazing banner thingy with all
sorts of tricks for display adverts (text, graphics, flash, iframes, frames,
layers, etc) and it's well documentated.
Ed Lazor <[EMAIL PROTECTED]
This should do the trick, experiment wit hit;
function mail_attachment($email, $buffer)
{
//subject
$subject = "Testing pdf attachment.."
//sender
$x_sender = "F. Hertogs";
//extra (optional) headers
$x_headers = "From: [EMAIL PROTECTED]\n";
$x_headers .= "PHP mailer\n";
$x_headers .= "MIME-ver
I think that was a necessary step, I had missed that one, but it
unfortunately hasn't solved the problem. Once again the page works fine if
I hard-code the values, but even if I replace en_na with $locale, it
breaks..
James
-Original Message-
From: Girish Nath [mailto:[EMAIL PROTECTED]]
At 03:41 PM 2/1/02 -0800, Lazor, Ed wrote:
>Even with a javascript function opening a new window and closing the old?
>
>-Original Message-
>From: Matthew Walker [mailto:[EMAIL PROTECTED]]
>Sent: Friday, February 01, 2002 3:42 PM
>
>I've done some investigating on my own. There is no way t
The entire browser has to close down to clear the auth data.
Matthew Walker
Ecommerce Project Manager
Mountain Top Herbs
-Original Message-
From: Lazor, Ed [mailto:[EMAIL PROTECTED]]
Sent: Friday, February 01, 2002 4:41 PM
To: Matthew Walker; Aras Kucinskas; [EMAIL PROTECTED]
Subject:
Hi
Try without quotes :
$table_name = $locale;
Your SQL is probably reading "SELECT comp, content FROM $locale instead of
en_na
Regards
Girish
- Original Message -
From: "James Hallam" <[EMAIL PROTECTED]>
To: "Php-General" <[EMAIL PROTECTED]>
Sent: Saturday, February 02, 2002 12:4
Can anyone explain why this URL and SQL statement won't work?
Media Coverage Test Page
--> And on test_mediacoverage.php ..
$table_name = "$locale";
// ..connection content..
$sql = "SELECT comp, content FROM $table_name
WHERE sec = '$sec' AND
subsec = '$subsec
Even with a javascript function opening a new window and closing the old?
-Original Message-
From: Matthew Walker [mailto:[EMAIL PROTECTED]]
Sent: Friday, February 01, 2002 3:42 PM
To: Aras Kucinskas; [EMAIL PROTECTED]
Subject: RE: [PHP] PHP and Apache authorization: how to logout. Help!
I've done some investigating on my own. There is no way to do this.
Period.
Matthew Walker
Ecommerce Project Manager
Mountain Top Herbs
-Original Message-
From: Matthew Walker
Sent: Friday, February 01, 2002 3:37 PM
To: Aras Kucinskas; [EMAIL PROTECTED]
Subject: RE: [PHP] PHP and Apach
hi, i have the following array:
$img[3]["src"]= "img1";
$img[6]["src"]= "img2";
$img[9]["src"]= "img3";
and I would like to change the array index adding one to their values,but only on the
two last arrays, so that
I have:
$img[3]["src"]= "img1";
$img[7]["src"]= "img2";
$img
> -Original Message-
> From: Lazor, Ed
> Sent: Friday, February 01, 2002 3:20 PM
> To: 'Georgie Casey'
> Subject: RE: [PHP] Check Boxes and updating records. (HELP ME)
>
>
> Test the value of the variable storing whether the checkbox should be
> checked or not. If it should, ech
I'm trying to understand how this banner exchange works and whether it can
be done in PHP. Here's the HTML you put on your web page:
http://rpgx.rpgconsortium.com/xchange/engage.cgi?advert=NonSSI&page=XX
">http://rpgx.rpgconsortium.com/xchange/engage.cgi?id=atfantasy&page=01";
border="0" width="
I could kiss you, Corey...well, if you are a woman?
What I am specifically trying to do is save movie clip positions in a
database...which that phpbuilder tutorial covers!! Thanks!!
-L
"Corey Eiseman" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> I just ra
OK, I've a page for my users to sign up on my website and in the form,
there's a few checkboxes fields. So I set the name of the check boxes as
name[] and PHP made an array of all the options choosen. All the check boxes
values are numbers, so I got all the numbers from the array, put a comma
betw
On Fri, 2002-02-01 at 14:27, Administrator wrote:
> Yesterday I presented this problem to a local usergroup...
>
> // the following lines are contained in a class
> // although I am echoing the value of $age from within the class
> // this is only for testing during development.
> // $age will
On Fri, 2002-02-01 at 14:02, toni baker wrote:
> I would like to prevent users from uploading a file
> that contains more than 4 pipes or less than 2 pipes.
> The code below prevents users from uploading a file
> containing more than 4 pipes, but not less than 2
> pipes. Should I use awk, ereg, o
Does anyone have the answer for this question? I need it too...
Matthew Walker
Ecommerce Project Manager
Mountain Top Herbs
-Original Message-
From: Aras Kucinskas [mailto:[EMAIL PROTECTED]]
Sent: Thursday, January 31, 2002 10:39 AM
To: [EMAIL PROTECTED]
Subject: [PHP] PHP and Apache a
Sorry about this test.
Ricardo J. Veludo
e-mail: [EMAIL PROTECTED]
__
http://www.IOL.pt
Todo o mundo passa por aqui!
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the
Yesterday I presented this problem to a local usergroup...
// the following lines are contained in a class
// although I am echoing the value of $age from within the class
// this is only for testing during development.
// $age will be assigned to [$this->age_Range] later in the code
$a
Anyone have experience with authentication on ssl connections, I have a
(working) script to authenticate a user but as soon as I put it on my
ssl it just stops working.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [
I just ran across this tutorial yesterday...
Using PHP and MySQL with Flash
http://www.phpbuilder.com/columns/hill20011214.php3
Haven't had time to do more than skim it so i can't really vouch for its
usefulness, but it seems like a good start.
also flash-db.com has some forums that you may fin
Place $ in front of compDisplay: $compDisplay[$comp] = $content;
-Original Message-
From: James Hallam [mailto:[EMAIL PROTECTED]]
Sent: Friday, February 01, 2002 5:02 PM
To: [EMAIL PROTECTED]
Subject: RE: [PHP] Generating populated variables from component/content
pairs in a database
O
On Fri, 2002-02-01 at 13:54, Erik Price wrote:
> Hm... I don't know why I thought otherwise. I checked with the spec
> (http://www.w3.org/TR/xhtml1/#h-4.4), and it really doesn't say yes or
> no to this. But I'm sure you're right, since some attributes contain
> quoted content, which is why y
I would like to prevent users from uploading a file
that contains more than 4 pipes or less than 2 pipes.
The code below prevents users from uploading a file
containing more than 4 pipes, but not less than 2
pipes. Should I use awk, ereg, or sed? Thanks
system ("/bin/cat $userfile|/bin/sed -n
Okay, I stripped the SQL statement down to just select all, as there is only
one set of test data in the DB right now. $component is renamed as $comp in
the new code, as that is the actual name of the table column. I've got the
code in as follows, but I'm just getting a blank HTML page with noth
On Friday, February 1, 2002, at 03:05 PM, Lars Torben Wilson wrote:
>>> Everything is correct 'cept the 'double quotes' bit--XML accepts
>>> attribute values enclosed in either single or double quotes.
>>
>> Yes, and to extend on that: you need to stick to one convention or the
>> other throug
On Fri, 2002-02-01 at 13:28, Robby wrote:
> I am using this code below but it does not work (php in installed and
> working proplely):
You should provide a bit more information than "it's not working".
It helps immensely to know exactly *how* it isn't working. That
said, here's what sprang immed
I guess what I'm looking for "specifically" is a site for Flash/PHP
developers. I don't know that any exist...but I'm looking for more of "What
kind of design approach to use...?" then a technical answer...
-L
"Mike Krisher" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL P
I tak you realise that according to your example interface, users will be
browsing for files on their own system and ~not~ the server, are you sure
this is what you want? After all, you'll never be able to verify the
information contained within those files is viable, safe, legal etc.
Karthikeya
What do you mean " it does not work"? What error do you get? Logic error?
Compile error?
-Original Message-
From: Robby [mailto:[EMAIL PROTECTED]]
Sent: Friday, February 01, 2002 3:28 PM
To: [EMAIL PROTECTED]
Subject: [PHP] Need eregi() help
I am using this code below but it does not
SORRY WRONG MAILINGLIST
André
Alguém poderia me informar algum tutorial ou poderia até mesmo me
esclarecer algumas dúvidas sobre como manter segurança dos arquivos no
servidor.
Em alguns arquivos PHP eu possuo algumas chamadas:
-> include "arquivo.inc"
Q
On Friday, February 1, 2002, at 04:28 PM, Robby wrote:
> I am using this code below but it does not work (php in installed and
> working proplely):
>
>
> $file=fopen("http://somedomain/time.html";, "r");
> if (!$file)
>
> echo "error when connect\n";
> exit;
> }
> $line = fread ($f
Alguém poderia me informar algum tutorial ou poderia até mesmo me
esclarecer algumas dúvidas sobre como manter segurança dos arquivos no
servidor.
Em alguns arquivos PHP eu possuo algumas chamadas:
-> include "arquivo.inc"
Qual modo (CHMOD) este arquivo deverá ter para que este arquivo não sej
I am using this code below but it does not work (php in installed and
working proplely):
http://somedomain/time.html";, "r");
if (!$file)
echo "error when connect\n";
exit;
}
$line = fread ($file, filesize ($file));
eregi("^{}{.*}{}$", $line, $out)
echo "$out[1]";
fclose($file);
?>
Hi!
I wanted to know somehting. If my hosting provider does not inlude PEAR in
their PHP installation, am I able to do it myself?
I mean like you do with some Perl modules that are not installed and you use
use lib 'path_to_lib' in Perl.
Is there a way to do something similar with Php extension
what also is a great help, is sending yourself an email with an attachment,
en check the sourcecode of your mail... (in outlook that is: properties,
details, message source)... one tip: don't forget the empty lines between
the sections...
Greets,
Edward
- Original Message -
From: "Mike
In article <[EMAIL PROTECTED]>,
[EMAIL PROTECTED] (Jon Drukman) wrote:
> the idea being that if any of the commands in the block fail, the database
> package automatically does a die("") and the block is terminated.
>
> the nearest i could get with php is:
>
> do {
>mysql_query("UPDATE ..
That's because it's not a specific feature of mail sending/php's mail
features.
Instead you should look around for code examples that achieve this, as
it is no small task, and will require that you learn a good deal about
MIME and how files are "attached" to emails.. a good place to start
wou
if you name the checkbox fields with all the same names that look like this
( MyFormElement[] ) then it will act as an array.
then on the next page. find out if the array count is greater then zero, if
so, generate hidden elements with the value of the MyFormElement[] in a
name/value manner.
Ji
MEA CULPA...Big-Time typo on my part. I am sorry... I meant "list()" not
"link()":
while ( list($component,$content) = mysql_fetch_array($result) )
This statement will return the number of component/content pairs, regardless
of number that are in the database.
In the place where I say "do stu
nope, should work.
what, if any, error messages are you getting?
Jim Lucas
- Original Message -
From: "swade" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, February 01, 2002 12:20 PM
Subject: [PHP] php and sym links
>
> hi,
> Is there something about php that would prevent m
In my system, a user can query a database which is populated with the
names of image files. The form is submitted, and the page recalls
itself but displays all matching results. In each matching result is a
checkbox form field, with the primary key of the file as the value (I'm
using MySQL).
hi,
Is there something about php that would prevent me from doing the following setup
/var/www/base/index.php
/var/www/site1/index.php is sym link to /var/www/base/index.php
/var/www/site2/index.php is sym link to /var/www/base/index.php
/var/www/site3/index.php is sym link to /var/www/base/ind
Thanks for your reply.. I guess I should have mentioned my platform:
iPlanet/NT.. The manual says that link() isn't available for Windows
users.. Is there another function I could use?
My second question concerns the .. do stuff here .. portion.. I'm not sure
what I'd actually put there. My
Hi Guys,
I got some sweet responses like using cat and using Output Buffering functions. But
then what i really want is to provide user with the interface like this :
Pregeneration Program
---
Step 1 - Choose you Header file [ ] [Browse]
$sql = "SELECT * FROM $table_name
WHERE sec = '$sec' AND
WHERE subsec = '$subsec' AND
WHERE name = '$name'
ORDER BY component
";
$result = mysql_query($sql) or die("Error: ".mysql_error()."$sql");
while ( link($component,$content) = mysql_fetch_array($resul
on 2/1/02 11:36 AM, Dave at [EMAIL PROTECTED] wrote:
> How can I add an attachment to an email using MAIL(). So far I have been
> able to successfully send email by using:
>
> mail($to, $subject, $message, $headers);
>
> Is there something I can add in the $headers to add an attachment??
I've got a fairly basic website content management system I'm working on,
and I've got the data split up in MySQL by the following: a few columns for
identifiers like language, section and unique keyname, a column for a
component name and a column for the relevant content for that component. As
f
On Fri, 2002-02-01 at 10:48, Erik Price wrote:
>
> On Friday, February 1, 2002, at 05:07 AM, Lars Torben Wilson wrote:
>
> > Everything is correct 'cept the 'double quotes' bit--XML accepts
> > attribute values enclosed in either single or double quotes.
>
> Yes, and to extend on that: you ne
I'm trying to modify a PHP form processor script that
writes to files. It writes to text files fine, but I
would like it to write to a specific place in a file
because I want the file to contain HTML tags. I can
start this file out by having the proper HTML tags at
the top of the file because it
what do you mean by optimization? do you mean loading info(name/value pairs)
from PHP to Flash and vice versa. I don't know if there is a way to optimize
it at all, GET and POST are the same things with Flash as they are with HTML
and the like. Let me know if you're looking for something specific.
Is the external exe waiting for more input from you before it finishes?
Also, is the call to system() or exec() whatever inside or
tags as sometimes this makes a difference as to whether or not anything is
displayed - some characters are ignored by HTML
LJ
"Chris Randall" <[EMAIL PROTECTED]>
Maybe this is something which should be changed in future PHP releases.
Even the Windows Calcuator and my old scientific calc know that cos 90º is
0!!
Out of interest, have you tried any results using trignonometrical
identities ie tan() =
sin() / cos() to see if the error cancels out in the end?
Hello, I'm new in php development... I was wondering how can I attach a Word
(.doc) Document in an email sent with the mail() function (if I can do it
just with it).
I know it has to see with the additional headers of the email, but I would
be grateful If anyone could tell where can i go to for t
How can I add an attachment to an email using MAIL(). So far I have been
able to successfully send email by using:
mail($to, $subject, $message, $headers);
Is there something I can add in the $headers to add an attachment??
I am running PHP 4 and apache under a windows 98 environment... i
> On Fri, Feb 01, 2002 at 09:14:24AM -0800, Rasmus Lerdorf wrote:
> > > a) if Apache 2 is a single-process server (as opposed to Apache 1.x which
> > > forks a new process for a new request)
> >
> > It is a hybrid server which can be anything from one to the other.
> >
> > > b) if PHP will work, o
On Fri, Feb 01, 2002 at 09:14:24AM -0800, Rasmus Lerdorf wrote:
> > a) if Apache 2 is a single-process server (as opposed to Apache 1.x which
> > forks a new process for a new request)
>
> It is a hybrid server which can be anything from one to the other.
>
> > b) if PHP will work, or does work,
Well, the quick and dirty is that the user RIGHT-CLICKs on the link. The
Context menu will display which invites the user to "Save Target As".
But I gues you really want a LEFT-CLICK option?
-Original Message-
From: Manuel Ritsch [mailto:[EMAIL PROTECTED]]
Sent: Friday, February 01, 200
On Friday, February 1, 2002, at 05:07 AM, Lars Torben Wilson wrote:
> Everything is correct 'cept the 'double quotes' bit--XML accepts
> attribute values enclosed in either single or double quotes.
Yes, and to extend on that: you need to stick to one convention or the
other throughout the en
That'll do! Thanks!
Mike
Jason Wong wrote:
> On Saturday 02 February 2002 02:29, Mike Eheler wrote:
>
>>Okay, my goal is to compile an array of *all* functions currently
>>defined and available in PHP 4.1.1.
>>
>>That's a simple task if all I want is functions for the extensions I
>>chose to co
On Saturday 02 February 2002 02:29, Mike Eheler wrote:
> Okay, my goal is to compile an array of *all* functions currently
> defined and available in PHP 4.1.1.
>
> That's a simple task if all I want is functions for the extensions I
> chose to compile into PHP (get_defined_functions()), but what
I'm trying to write a cookie that is properly read by two hosts of the same
domain.
The hosts:
https://secure.domain.com
http://www.domain.com
With PHP 4.1.1 for Linux on Apache (as module) I've written
setcookie("session",$sesscode, "/", "domain.com", "0");
and
setcookie("session"
Okay, my goal is to compile an array of *all* functions currently
defined and available in PHP 4.1.1.
That's a simple task if all I want is functions for the extensions I
chose to compile into PHP (get_defined_functions()), but what about the
other ones? Is there a place somewhere that has a t
Anyone know of some good sites online that show how to optimize performance
for PHP/Flash interaction?
-L
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail:
Y",strtotime(odbc_result($resultado,'fechaasignacion')));?>
date accepts unix timestamps, not strings, so you have to convert that
string to a unix time with strtotime.
Mike
Jorge Arechiga wrote:
> Hi everybody
>
> I hope someone can help me in an issue on where i've been stuck for a
You can have arrays of arrays of arrays of arrays if you like. But you
must treat each array according to its type. I'm not sure what your
function parse() is doing, but I assume it's going to build three
list-type arrays. So when your looping through the associative array
with a foreach() loop
Hi there :) Check this out. It grabs the date from your table, and uses the
mktime and date functions to format the date properly :)
//format the gamedate for display below
$month = substr($gamedate, 5, 2);
//print $month . "";
$day = substr($gamedate, 8, 2);
//print $day . "";
$year = substr($ga
Hi everybody
I hope someone can help me in an issue on where i've been stuck for a while.
I'm trying to show a date from a Table in SQLServer7
when i use this :
the browser shows me the date correctly and the result is this: 2002-02-01
11:31:00
Obviously i want to format the da
Deleting and editing is accomplished by selecting out of the db the
appropriate record. So if you had a page that looped through 35 (for
example) records, and each record had a link that was created (" .
"delete" . ") -- use the querystring to pass the $photoid to a
confirmation page. On that conf
Hey There
I have a little question
I'm making a page where you can download mp3's (hip hop and funk beats made
by myself) and i want, if you press on the
link (), that it doesn't start an internal audio
player (like some configurations/browsers do), rather i want that the
download dialog (like w
That's cool.
How do you then delete and edit that image?
Will
in article [EMAIL PROTECTED], Lerp at
[EMAIL PROTECTED] wrote on 2/1/2002 5:07 PM:
> Hi there, here's a bit of code to get you started. It includes a form that
> allows uploads, and the code to process the upload on the rece
oh yes
and I had some magic_quote_=Yes parameter set by default in php.ini :)
it's really not very smart to use it, it's very misleading
one can see hundreds websites, which fill s with backslashes on
re-submit to the same form
"Lerp" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news
one thing i really love in perl is the block eval {} structure, which is
similar to try/catch/throw in java and other languages.
i'm missing it a lot in php. is there a way to simulate it?
for instance, say i have a bunch of database commands. in perl, i would do
something like (pseudocode):
Clarification: this will only work if you put the script inside the page
that the header() command points to. If you put the header() command in
the same document with this script, then the header() command won't
work, since you'll be sending output to the browser.
Here's a thought. Use the hea
hi,
can anyone tell me how I can retrieve attributes of a node using SAX parser
in PHP??
TIA,
sands
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL
Anywhere in the of the page you're gonna bust out, place this
small code --
if (parent.frames.length > 0) {
parent.location.href = self.document.location
}
Benjamin deRuyter wrote:
> Does anybody know of a way to break out of a frameset whil
> a) if Apache 2 is a single-process server (as opposed to Apache 1.x which
> forks a new process for a new request)
It is a hybrid server which can be anything from one to the other.
> b) if PHP will work, or does work, with Apache 2 in this mode
It works today.
> c) how database connection p
Look up addslashes and stripslashes in the manual. Normally you'd use
addslashes going into the db, and stripslashes coming out for display.
HTH Joe :)
"Anton Kolev" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Any idea why when I print the value of $text,
Does anybody know of a way to break out of a frameset while using the
following code to redirect the browser:
header("Location: http://www.anywhere.com/";);
exit();
Thanks.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-m
I forgot to add the security at the top of that code I sent. Upon a
successful login you might want to create a session variable to signify that
they are logged in. At the top of the pages you want to be secure from
'other' users just do a test at the top to check to see if that variable was
set.
Hi there, here's a bit of code to get you started. It includes a form that
allows uploads, and the code to process the upload on the receiving page.
Basically, you have a form that allows an upload of a file on one page, and
some code on the receiving page to insert a path to that file in the
data
We're having a little trouble tracking down some problems with out
webserver. We have a rougue script or two that's hogging a massive amount
of CPU time. I was wondering if there was a way to see what httpd (apace)
process is running what script?
Thanks
--
===
Andre
You may want to check into some of these:
http://www.hotscripts.com/PHP/Scripts_and_Programs/File_Manipulation/Upload_Systems/
Jeff
At 05:34 PM 2/1/2002 +0100, ArtistHotel wrote:
>Hi,
>
>I need an upload script that lets predefined users log in and upload files.
>Does such a script exist?
>
>Reg
Unfortunatly header("Content-type: image/png") won´t help in IIS when PHP is running
as CGI. You would have to be using PHP as an apache module or something similar. IIS
won´t let CGIs change the headers.
The solution is change your webserver, try to run PHP as an ISAPI module or save the
ima
Hi,
I need an upload script that lets predefined users log in and upload files.
Does such a script exist?
Regards
JEns
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administra
You get the results by including it in a and calling another
PHP script which uses that value. As I stated earlier, you CANNOT retrieve
the value of the COMBO BOX in the same page that it is created until the
SUBMIT button is pushed
-Original Message-
From: Eduardo Melo [mailto:[EMAIL P
how can i get a result from a COMBOBOX ?
as such as :
best regards
eduardo melo
computer programmer
_
Send and receive Hotmail on your mobile device: http://mobile.msn.com
--
PHP General Mailing List (http://www.php.net/)
To
$today = date("d/m/Y");
That will get the current date and dump it in the format you asked for
(DD/MM/, complete with leading zeros).
Mike Frazer
"Rick Emery" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
list($y,$m,$d) = explode(",",$phpdate);
$newdate
Thanx Francois this brought me on the propper road. Works fine now!
Cheers Andy
"Francois Jordaan" <[EMAIL PROTECTED]> schrieb im Newsbeitrag
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> > I am trying to find out which dir the user is browsing. How
> > can I get the
> > URL into a var? I trye
I don't know how you are getting your (,mm,dd).
But, try looking the "date" function.
It should do the trick for you.
--- Jose <[EMAIL PROTECTED]> wrote:
> Hi all.
> How can I write the date in this format (dd/mm/)
> if php gives me
> (,mm,dd)??
>
> Thanks
>
-
list($y,$m,$d) = explode(",",$phpdate);
$newdate = "$d/$m/$y";
-Original Message-
From: Jose [mailto:[EMAIL PROTECTED]]
Sent: Friday, February 01, 2002 9:36 AM
To: [EMAIL PROTECTED]
Subject: [PHP] Date format
Hi all.
How can I write the date in this format (dd/mm/) if php gives me
(
1 - 100 of 153 matches
Mail list logo