Must have overwritten this, but very good to know that.
Thanx.
Michael
"Analysis & Solutions" <[EMAIL PROTECTED]> schrieb im
Newsbeitrag [EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> On Fri, May 24, 2002 at 06:30:50PM +0200, Michael Virnstein wrote:
>
> > i think the exec in your php waits for
Sorry, asked and answered:
The code (in Page1.php):
seems to work with the OpenWindow function in a JS header.
Any obvious problems with this?
David
Begin forwarded message:
> From: David Bourne <[EMAIL PROTECTED]>
> Date: Fri May 24, 2002 11:07:08 PM US/Central
> To: [EMAIL PROTECTED
Hello
I noticed a recent thread regarding popup windows from a php page. The
solution appears to work using JavaScript for client side action. This
worked OK, except I want to open a new window and display data from the
previous page. I'm using php 4.1.2.
What I want is Page1.php containing t
- Original Message -
From: "Alex Shi" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, May 24, 2002 8:25 PM
Subject: [PHP] How is SESSION_ID passed?
> Hello,
>
> I have created several web sites using php. In all these sites
> session id is passed via cookie. However I noticed
Hello,
I have created several web sites using php. In all these sites
session id is passed via cookie. However I noticed that some
times it was passed by url. I am thinking that to pass session
id by url will be safer than by cookie. However I don't know
how can do this without change my code. D
Do a search on google and you will find plenty to keep you busy with...
Thanks,
Ray Hunter
-Original Message-
From: John Ngo [mailto:[EMAIL PROTECTED]]
Sent: Friday, May 24, 2002 8:47 PM
To: [EMAIL PROTECTED]
Subject: [PHP] php apache log analysers/website stats
hey does anybody kn
hey does anybody know of any good apache log analyser or website statistics
php projects?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Okay, just upgraded to PHP 4.2.1 and it doesn't appear to care if you do
$val['key'] .= "string";
or other +=, overload-type, operations.
So is it safe to assume that anything Pre-4.2.1 will choke on lines like
that?
---John Holmes...
> -Original Message-
> From: John Holmes [mailto:
Not sure if you guys have already responded to this, but here we go (I'm
checking the archives of PHP as I am writing this).
I have Apache 2.0.36 running with PHP 4.2.1. Apache seg faults with a certain
application (which has redirected me back here). Child processes quit with a
signal 11. I
Create a separate PHP file that creates your image, and put it in the
HTML like this:
All file.php should do is output image headers and the binary image
data.
---John Holmes...
> -Original Message-
> From: Dani [mailto:[EMAIL PROTECTED]]
> Sent: Saturday, May 25, 2002 12:33 AM
> To:
Thanks for the advice.
I found out there I shouldn't put the script in between any html tags at all.
Now my question is:
What if we want to insert image which is generated by the php in the table?
thanks
Gerard Samuel wrote:
> Double check your file for the whitspace like the others have stat
Double check your file for the whitspace like the others have stated.
I tried your example and had no problems with it...
Dani wrote:
>Hi again,
>
>I have got this script :
>//setup image
>$height = 200;
>$width = 200;
>
>$im = ImageCreate($width,$height);
>$white = ImageColorAllocate($im, 255,
Thanks Miguel!
I have checked everything but it seems there aren't any blank space but I
still get the error message.
Miguel Cruz wrote:
> On Sat, 25 May 2002, Dani wrote:
> > I have got this script :
> > > //setup image
> > $height = 200;
> > $width = 200;
> >
> > $im = ImageCreate($width,$
Something is being output in index.php on Line 10. That's causing the
headers to fail. Check for whitespace.
---John Holmes...
> -Original Message-
> From: Dani [mailto:[EMAIL PROTECTED]]
> Sent: Friday, May 24, 2002 11:27 PM
> To: [EMAIL PROTECTED]
> Subject: [PHP] IMAGE CREATE() header
On Sat, 25 May 2002, Dani wrote:
> I have got this script :
> //setup image
> $height = 200;
> $width = 200;
>
> $im = ImageCreate($width,$height);
> $white = ImageColorAllocate($im, 255, 255, 255);
> $black = ImageColorAllocate($im, 0, 0, 0);
>
> //Draw on image
> ImageFill($im, 0, 0, $black);
Hi again,
I have got this script :
but when I execute the script I got this ERROR MESSAGE:
Cannot add header information - headers already sent by (output started
at D:\graphic_practise\index.php:10) in D:\graphic_practise\index.php on
line 25
Any advise?
thanks!
--
PHP General Mailing Li
probelm Fix!\
thanks
Dani wrote:
> I have just installed the PHP 4.2.1 Installer but get this error message:
>
> "Security Alert! The PHP CGI cannot be accessed directly.
> This PHP CGI binary was compiled with force-cgi-redirect enabled. This means that a
> page will only be served up if the R
While Natalie's example, was doable, this one takes the cake for me.
Thank you all for your suggestions
Jerome Houston wrote:
> While Natalie's solution is a valid one, i have another
>
> first - the error you're getting is because the headers are sent AS
> SOON as you echo, print or o
Like every other PHP directive which can be used in a per-dir manner:
...
php_admin_flag safe_mode On
...
On Sat, 25 May 2002, Liam MacKenzie wrote:
> Hi guys,
> I was wondering if it were possibe to have safemode activated for some users
> but not others.
>
> Say I have 3 Virtual Hosts in Ap
Hi. I'm getting this error on my scripts:
Fatal error: Cannot use assign-op operators with overloaded objects nor
string offsets in
c:\inetpub\wwwroot\usap\reports\Daily_Report_Student.php on line 40
After doing some searching, I concluded the errors are caused by using
.=, +=, etc on an array.
Read a tutorial about using strings here:
http://www.zend.com/zend/tut/using-strings.php
The manual also talks about them:
http://www.php.net/manual/en/language.types.string.php
Regards,
Philip Olson
On Fri, 24 May 2002, Shane wrote:
> Question Please.
>
> What is the syntax for getti
Hi guys,
I was wondering if it were possibe to have safemode activated for some users
but not others.
Say I have 3 Virtual Hosts in Apache.
I don't trust one, but I want him to have PHP, so I enable safe mode.
But the others are my mates and they don't want safe mode. How could I get
around thi
Escape the quotes with \
echo "My dog has \"fleas\"";
Or use single quotes
echo 'My dog has "fleas"';
But note that variables aren't evaluated within single quotes.
---John Holmes...
> -Original Message-
> From: Shane [mailto:[EMAIL PROTECTED]]
> Sent: Friday, May 24, 2002 7:21 PM
>
Well if there are no variables to be parsed just do it like this:
echo 'My dog has "fleas"'; // notice single quotes
If there are variables to be parsed to it like this:
echo "My dog has \"$var\"";
Cheers!
Rick
"If I accept you as you are, I will make you worse; however, if I treat you
as th
echo "My dog has "\fleas"\";
- Original Message -
From: "Shane" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Saturday, May 25, 2002 9:20 AM
Subject: [PHP] HELP!!! QUOTES!
Question Please.
What is the syntax for getting double quotes to appear in an echo statement.
EXAMPLE:
ech
Question Please.
What is the syntax for getting double quotes to appear in an echo statement.
EXAMPLE:
echo "My dog has 'fleas'";
puts out... My dog has 'fleas'
But I need it to put out... My dog has "fleas" (NOTE DOUBLE QUOTES)
(So I can call a JavaScript function)
What am I missing here?
I have just installed the PHP 4.2.1 Installer but get this error message:
"Security Alert! The PHP CGI cannot be accessed directly.
This PHP CGI binary was compiled with force-cgi-redirect enabled. This means that a
page will only be served up if the REDIRECT_STATUS CGI variable is set, e.g. via
You could include it in the auto_prepend_file variable in your php.ini.
This will make this file available to every page.. You could include it in
your .htaccess file, if you do not have access to the php.ini
Something like this in your .htaccess file:
php_value auto_prepend_file /path_to_file_f
go to:
http://www.php.net/manual/en/configuration.php
and look for "auto_prepend_file"
-jerome
Original Message Follows
From: "Darren Gates" <[EMAIL PROTECTED]>
Reply-To: "Darren Gates" <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
Subject: [PHP] including functions on every php page in a s
Hello,
I have about 10 function definitions that I want included on every page in
my website. Instead of calling:
on every page, I'd prefer to have the functions automatically loaded into
memory when a user visits any page of my site. I was thinking that there may
be some what to do this with
Can PHP do that? Of course. Can it do it that easily right out of the
box. No. Just like the RXML backend is already written that parses
into the appropriate number, the backend would
have to be written for PHP to do the same thing. You'd have to write a
template engine, basically, that'll look f
I don't know if this is the best way or not, but I just use the
following function to send Excel headers, then just create your page as
a normal HTML table. Excel will take the HTML table and create a
spreadsheet with it.
##
#
# Creates headers to send
Just use MySQL_select_db() to switch between databases between your
queries. Remember to switch back, too.
Or you can just give the database name in your query:
SELECT * FROM database.table WHERE ...
---John Holmes...
> -Original Message-
> From: d3crypt [mailto:[EMAIL PROTECTED]]
> Se
Hello,
MC> For one thing, change your php invocation to 'php -q'.
Yes, I've done this, even php -q -d phpa=0 to avoid phpa messages...
But same problem !
--
Cordialement,
Cedricmailto:[EMAIL PROTECTED]
http://www.sincever.com : Actu Music Only
--
PHP General Ma
On Fri, 24 May 2002, Cedric Fontaine wrote:
> MC> qmail uses the exit code to determine what happened to the message. Try
> MC> ending your script with exit(99); that tells qmail that you're done with
> MC> the message and never want to see it again.
>
> MC> miguel
>
> Yep but it doesn't work
On Fri, 24 May 2002, Chris Boget wrote:
> Is there a way to back track an IP address to find out where in the
> world the user is? I believe it can be done because I've seen several
> graphical trace ip utils do this. Perhaps you can do something similar
> to get the local TZ?
The graphical tra
Hello,
MC> qmail uses the exit code to determine what happened to the message. Try
MC> ending your script with exit(99); that tells qmail that you're done with
MC> the message and never want to see it again.
MC> miguel
Yep but it doesn't work anymore with a such exit(99)... But it's
something
Hello,
I'd like to know the method to connect and query multiple databases in
the same php script ...
I've to do something like this :
do query on db1_on_server_1
while( get results of query on db1_on_server_1){
do query on db2_on_server_2
}
the structur
Hello,
I am using php 4.2.0 and apache 2.0 on win95. I am facing some problems with
xslt extension.
Nobody replied at [EMAIL PROTECTED]
Problem is that xslt processor is unable to find the xml and xsl files.
Files are in the same directory as the php file and document_root is
e:\wwwroot\newsite.
Hello !
AS> Are you calling environment or server variables directly? For _example_
AS> $PATH. If so, call them using the superglobal $_SERVER['PATH']. Or
AS> perhaps you're utilizing $argv to bring in stuff from the command line?
AS> Similarly, use $_SERVER['argv'].
AS> These chagnes are
I have to php pages that call the same mysql query
The first page would be:
The query in this page works well with an $art variable that is being passed.
The problem comes on another page where I have a an array being passed and I dont know
which would be the first value, so I have this:
Anyone know how to declare globals in a function from an array? The
following doesn't seem to work:
foreach($_POST as $key => $value)
global $form_var[$key];
Thanks for any help!
Jeff
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
I am currently using Roxen and it's built-in pike-based markup language
RXML for my dynamic websites. PHP is naturally alot more flexible than
RXML, but there are some thing I -really- like about Roxen that I don't
know if I can have PHP replicate, please tell me if anything of the
following i
OK cheers. I'll have a try.
I saw UNIX_TIMESTAMP() in the MySQL docs but I didn't quite understand it
(PHP is MUCH easier for me!)
Thanks for the example too
"Peter" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Is there a built in PHP function which will co
How come the last announcement in the php.announce newsgroup was regarding
GTK 0.5.0 and the one before was for PHP 4.1.1?
Why weren't 4.2.0 and 4.2.1 announced? Have I missed something somewhere?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub
"Peter" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Is there a built in PHP function which will convert a MySQL type date
> (DDMM or whatever) into a unix timestamp so it can be used with the
> other PHP time and date functions?
>
> I'm currently using
Hey,
I am looking to read information from a database and when you click a link
all of those arrays will be displayed in excel using header();. I have heard
there are lots of commands in cgi but I don't know cgi and I am wondering if
it is still possible with php. I would also like info on r
Use DATE_FORMAT() in your query to format the MySQL date to whatever
format you want. You can also use UNIX_TIMESTAMP() in your query to
return a Unix timestamp instead of the MySQL format. But if that's all
you want to do is format it a certain way, do it in your query.
Check Chapter 6 of the My
Baba told me about his time zone class in pear
just recently.
http://pear.php.net/package-info.php?pacid=57
-Original Message-
From: John Hughes [mailto:[EMAIL PROTECTED]]
Sent: May 24, 2002 4:45 PM
To: Miguel Cruz; [EMAIL PROTECTED]
Subject: Re: [PHP] adjusting time() to correct for
Is there a built in PHP function which will convert a MySQL type date
(DDMM or whatever) into a unix timestamp so it can be used with the
other PHP time and date functions?
I'm currently using substr() to extract bits of the date so it displays as
DD / MM / but it's annoying!
--
PHP
I'm not familiar with PHP 3 stuff but try
echo "start";
$fpLog = fopen
("/usr/home/aurica/aurica.com/cannesEmail/emailblastSendLog.txt","a");
if (!$fpLOG) {
die ("Could not open file");
}
if (flock ($fpLog, 2) ) {
$strFileLog = "Manisha Test";
fwrite($fpLog,$strFileLog);
}
flo
Read 'Secure Programming in PHP':
http://www.zend.com/zend/art/art-oertli.php
cheers,
thalis
On Fri, 24 May 2002, Hawk wrote:
> I was checking around on a page I made, and I just noticed the lack of
> security, it is rather easy to gain admin status if you enter the right
> ?blabal=blablabla a
> If there is no other choice, there is no other choice. But in a
> perfect world, there would be a way to locally correct the server
> time on a global basis and thus correct ALL applications -- present
> and future -- that need to know the "local" time.
Is there a way to back track an IP addres
I was checking around on a page I made, and I just noticed the lack of
security, it is rather easy to gain admin status if you enter the right
?blabal=blablabla after the url, I need some help to make this secure, I
tried with adding a name check to, but that didnt work since the
?user=blabla can
While Natalie's solution is a valid one, i have another
first - the error you're getting is because the headers are sent AS SOON as
you echo, print or output html outside of your tags. you're echoing
something before you call ob_start();
second- the reason this doesn't work, is because yo
--- Miguel Cruz <[EMAIL PROTECTED]> wrote:
> On Fri, 24 May 2002, John Hughes wrote:
> > My server is located on the East Coast, but all of the users of
> my
> > site live on the West Coast. I have an application that makes
> several
> > calls to time() and as a result all of the times displayed
Hello,
I have a form with a file upload field (named 'file1') and a number of
other data fields for submission.
I am attempting to use curl to take the user submitted data, add some
additional data, submit it to another location, retrieve the response
and send that response back to the user t
On Fri, 24 May 2002, Fearless Froggie wrote:
> I've noticed that a number of online marketing companies now advertise
> the ability to send a combined HTML and Text email. The text email
> readers then apparently display these as text, and html email readers
> display these as html.
>
> I know ho
Howdy,
I've noticed that a number of online marketing
companies now advertise the ability to send a combined
HTML and Text email. The text email readers then
apparently display these as text, and html email
readers display these as html.
I know how to send an html email, and a text email.
But I
On Fri, 24 May 2002, John Hughes wrote:
> My server is located on the East Coast, but all of the users of my
> site live on the West Coast. I have an application that makes several
> calls to time() and as a result all of the times displayed are East
> Coast.
>
> Rather than changing every time()
On Fri, 24 May 2002, Kamran Shakil wrote:
> I personally have got 10 big and small demanding , complete solution
> websites, in php , made with access database with odbc connection
> string..wanna sell them for adequate and handsome price ? wanna know
> sites regarding sales and exchange of pr
On Sat, 25 May 2002, Jason Wong wrote:
> Your biggest problem is that you're trying to nest mysql_query() but you're
> only using 1 link identifier. You need to establish another connection using
> another mysql_connect().
The same link identifier can be used simultaneously for any number of
q
You need to put the ob_start() call at the very beginning of your script,
not inside that function. You have to turn output buffering on before ANY
output is generated, if you want to be able to send headers later on.
miguel
On Fri, 24 May 2002, Gerard Samuel wrote:
> Im trying to use dynamic
On Fri, 24 May 2002, Cedric Fontaine wrote:
> In fact, the script does work and does its jobs... But when Qmail
> delivers the mail to my script, it assumes that the mail is not
> successfully delivered and puts the mail in queue. But the mail is
> fully delivered...
>
> That means that my script
On Fri, May 24, 2002 at 01:57:31PM -0400, Cedric Fontaine wrote:
>
> Any clue ? What the differences between 4.0.6 and 4.2.1 makes this
> happens ?
Are you calling environment or server variables directly? For _example_
$PATH. If so, call them using the superglobal $_SERVER['PATH']. Or
perh
Ok that works..
but I dont declare the variable and have it read it from a form but..
It can only execpt one email address at a time..
How can i take email address from each line in the form and use that..
I have been trying to adapt this to do it.. but it isnt working for me ?
$lines = split("\n
Mauricio:
On Fri, May 24, 2002 at 09:25:33AM -0500, Mauricio Cuenca wrote:
>
> I'm trying to work with the environment variable $PATH_INFO in a website
> that has PHP as CGI, not as an Apache module.
I find the following to provide consistent information between CGI and
Module modes:
*['PH
> I don't know what gmtime() is supposed to do. But is gmmktime() similar?
time() returns the number of seconds since the Unix Epoch to the current
local time
gmtime() should return the number of seconds since the Unix Epoch to the
current GM-time
Do you understand now?
gmmktime() does exact
At 12:29 PM 5/24/2002 -0500, Steve Buehler wrote:
>I am having trouble with the following function. What it should do is to
>check one table for team_id's. Than it goes to another table and gets all
>rows with that team_id. If the team_id is in the new table, it should do
>one thing, else it
Thanks! I didn't know it was that helpful :-) It's in there now.
-Natalie
-Original Message-
From: Boaz Yahav [mailto:[EMAIL PROTECTED]]
Sent: Friday, May 24, 2002 3:58 PM
To: Leotta, Natalie (NCI/IMS)
Subject: RE: [PHP] image_create(), header.
This looks like a great example to
On Fri, May 24, 2002 at 06:30:50PM +0200, Michael Virnstein wrote:
> i think the exec in your php waits for the shell to return, but before the
> shell can answer, php terminates the script, because of the max_exection.
http://www.php.net/manual/en/function.set-time-limit.php
"... Any time spen
> Did you see gmdate()?
> http://www.php.net/manual/en/function.gmdate.php
Yes, of course.
I can do time()-date("Z") to have gmtime
(or maybe) something better, but wouldn't it be better to
have gmtime() implemented anyways? Please tell me if I
missed something. Thank you.
Jens Lehmann
PS: dat
Hi,
Does anyone know if there are functions in PHP or an extension for
getting the mime type (and possibly a description) of ANY kind of
file? I know that the array that the getimagesize() function returns
has an image type field, but I'd like to be able to determine the
appropri
I don't know what gmtime() is supposed to do. But is gmmktime() similar?
http://www.php.net/manual/en/function.gmmktime.php
-Kevin
- Original Message -
From: "Jens Lehmann" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, May 24, 2002 12:51 PM
Subject: [PHP] gmtime?
> Any reas
My server is located on the East Coast, but all of the users of my
site live on the West Coast. I have an application that makes several
calls to time() and as a result all of the times displayed are East
Coast.
Rather than changing every time() to time()-10800, I was wondering if
there is a way
Michael, I wrote this function for a project that I'm working on. It
returns an indexed array of local links found on a given page. It returns
false if the url is not a valid file. If you want it to return all links
regardless of prefix or file extension then just return $arrayoflinks[1]
instea
Did you see gmdate()?
http://www.php.net/manual/en/function.gmdate.php
-Original Message-
From: Jens Lehmann
[mailto:[EMAIL PROTECTED]]
Sent: May 24, 2002 2:52 PM
To: [EMAIL PROTECTED]
Subject: [PHP] gmtime?
Any reasons why there's no gmtime()-function in
PHP? I'd like to hear your
thou
Any reasons why there's no gmtime()-function in PHP? I'd like to hear your
thoughts.
Jens Lehmann
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
You can save them and then call them up, but then you have to use a cron or
something to empty out the folder. Here's how I save it:
//Image created and everything up here, this is the very end of it
$myTime = time();
ImagePNG($im, "../spool/jp$myTime.png"); //this creates a unique name
chmod(".
make $dir a local directory, try for example:
$dir = '.';
regards,
Philip Olson
On Fri, 24 May 2002, _michael wrote:
> well do you think you can point me in the right direction to listing the
> files on my site? - is it possible (as i said i am very new to this)
>
> thanks
>
> -Origi
Im trying to use dynamic buttons, and Im trying to figure out how to get
around the header call.
I figure use output buffering, but so far Ive only come up with errors.
Anyone see a better way or any errors in my code.
Thanks
nb: Uncomment the echo() statement to get the error.
HI ALL .
I personally have got 10 big and small demanding , complete solution websites, in php
, made with access database with odbc connection string..wanna sell them for
adequate and handsome price ? wanna know sites regarding sales and exchange of projects
DO REPLY IF ANY ..
---
At 01:54 AM 5/25/2002 +0800, Jason Wong wrote:
>Your biggest problem is that you're trying to nest mysql_query() but you're
>only using 1 link identifier. You need to establish another connection using
>another mysql_connect().
Why? I can nest 1000's of these as long as I don't use $result= for
On Fri, May 24, 2002 at 10:58:08AM -0500, CDitty wrote:
> if(IsSet($Mime_Version)){
> $Mime_Version = "MIME-Version: $Mime_Version\r\n";
> }
Man, THINK!
Did you set $Mime_Version anywhere in your code before this point?
What happens here if $Mime_Version isn't set already?
Then, remem
well do you think you can point me in the right direction to listing the
files on my site? - is it possible (as i said i am very new to this)
thanks
-Original Message-
From: Jason Wong [mailto:[EMAIL PROTECTED]]
Sent: 24 May 2002 19:09
To: [EMAIL PROTECTED]
Subject: Re: [PHP] listing the
On Saturday 25 May 2002 02:01, _michael wrote:
> hi, i'm pretty new to php - i am trying to list/print a list of files and
> folders that are on my server:
>
> from my little knowledge i have got:
>
> $dir = "http://mysite.com/";;
> $handle = opendir($dir);
> while (($file = readdir($handle))) {
On Saturday 25 May 2002 01:29, CDitty wrote:
> I have looked at it and from what I understand, it should be working but
> it's not.
Try plugging in fixed strings for your headers and see what results.
--
Jason Wong -> Gremlins Associates -> www.gremlins.com.hk
Open Source Software Systems Integ
You can set a variable in a configuration file containing the email
address as normal
$to = "[EMAIL PROTECTED]";
In the function, use the global statement to bring the variable into the
function's scope.
Function SetTo($to)
{
global $to;
if (strlen($to)<=0)
hi, i'm pretty new to php - i am trying to list/print a list of files and
folders that are on my server:
from my little knowledge i have got:
http://mysite.com/";;
$handle = opendir($dir);
while (($file = readdir($handle))) {
if ($file != "." && $file != "..") {
echo "- " . $file . "
Hello !
Since some months, I created a bot to parse a special email address.
It means that my MTA Qmail sends the mail to a php script and this
scripts make some works on it.
It works great for months with php 4.0.6.
Sunday, I installed php 4.2.1 mod for Apache and also on shell. And
since this
On Saturday 25 May 2002 01:15, Anil Garg wrote:
> Hi,
>
> I am using php
>
> In a html form m using:
> When i submit the form and try to retrieve the path written in the text box
> by using 'printf("%s",$file)' it returns a path "/var/tmp/trash" ...
> How can i print the path selected by browse b
On Saturday 25 May 2002 01:29, Steve Buehler wrote:
> I am having trouble with the following function. What it should do is to
> check one table for team_id's. Than it goes to another table and gets all
> rows with that team_id. If the team_id is in the new table, it should do
> one thing, else
I have looked at it and from what I understand, it should be working but
it's not.
At 12:18 PM 5/24/2002, you wrote:
>Hi:
>
> > Per your request..
>
>[... code snipped ...]
>My request was really for you to examine your code, not to send the code
>to me:
>
>
> > >... I'm guessing the $Mime_V
I am having trouble with the following function. What it should do is to
check one table for team_id's. Than it goes to another table and gets all
rows with that team_id. If the team_id is in the new table, it should do
one thing, else it should do something else. Can somebody look at this
On Fri, 24 May 2002, Anil Garg wrote:
> In a html form m using:
> When i submit the form and try to retrieve the path written in the text box
> by using 'printf("%s",$file)' it returns a path "/var/tmp/trash" ...
> How can i print the path selected by browse button.
By developing a browser that
Hi,
I am using php
In a html form m using:
When i submit the form and try to retrieve the path written in the text box
by using 'printf("%s",$file)' it returns a path "/var/tmp/trash" ...
How can i print the path selected by browse button.
Any ideas are appreciated.
Thanx
anil
--
PHP Genera
Hi:
> Per your request..
[... code snipped ...]
My request was really for you to examine your code, not to send the code
to me:
> >... I'm guessing the $Mime_Version is only
> >getting "Status:\n" stuck into it. Then, your $headers string adds the
> >extra "\n" which results in the follow
On Fri, 24 May 2002 [EMAIL PROTECTED] wrote:
> What php functions should I use to convert a UNIX timestamp to a human -
> legible format and back again?
Human -> Unix: strtotime()
Unix -> Human: date()
miguel
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.
Your comparison function doesn't compare anything.
You should look at $a and $b and return an answer indicating which one
comes first. If you want $a to come before $b, return -1. If they're the
same, return 0. If you want $a to come after $b in the sorted list, return
1.
miguel
On Fri, 24 M
lol... the problem was in this line:
move_uploaded_file($_FILES['userfile']['tmp_name'],"c:\\inetpub\\wwwroot\\up
load\\".$_FILES['userfile']['name']);
I used single backslash.. and thats no good i think ;)
"Ragnar" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]
1 - 100 of 147 matches
Mail list logo