I wrote this email to the php Archive list and I would like to get your
opinions on it.. Thanks! :)
"Is there any way that we could get the archives password protected? Apple
does a nice thing where they tell you the username and password to login and
the whole purpose of it is so that email har
phpbb2 has improved alot since the earlier versions
> -Original Message-
> From: Jeff Lewis [mailto:[EMAIL PROTECTED]]
> Sent: 18 May 2002 3:02 PM
> To: Richard Baskett; PHP General
> Subject: Re: [PHP] Bulletin Boards
>
>
> Never used Phorums as it didn't have what I was looking for.
> I would like to pick a file out of a directory by random. There are 400
> files and I just want to pick on of those by random.
>
> Is there a way with rand() and file ?
Well there's a couple ways you could do this...it's too early in the morning
to post code but with some quick searches in the
On Monday 20 May 2002 15:46, Richard Baskett wrote:
> I wrote this email to the php Archive list and I would like to get your
> opinions on it.. Thanks! :)
>
> "Is there any way that we could get the archives password protected? Apple
> does a nice thing where they tell you the username and passw
No Im not saying you do anything about it at all :) I have already emailed
one of the lists about doing this and after some discussion here if more
people agree with me and would like to see some precautions taken then it
gives my emails a little weight to the webmasters of these archive lists.
P
On Monday 20 May 2002 12:03, Martin Towell wrote:
> I was doing some timing of a function on the weekend and in one of the
> loops, I had to multiply a variable by 2 - easy enough - $i*2
>
> but then I remembered that in C, it's quicker to do a left shift - so $i<<1
>
> but this actually took long
That's an even better idea, precisely why I wanted to ask your opinions on
this subject. Thanks.. I think I will wait to re-email that archive list
until I have a lot of great ideas we could combine to get one great idea.
Thanks a lot for your input!
Rick
"A good head and good heart are always
If you're concerned and don't have effective anti-spam filtering on your
email box, I'd suggest coming up with a second address to use for "public"
purposes such as this.
The list shows up all over the place. For instance, Google groups picks it
up off the news.php.net server, and you're surel
I am using gmdate to get the GMT timezone and it's
working but how does it know what timezone my
server is to make the time adjustment?
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system
(http://www.grisoft.com).
Version: 6.0.361 / Virus Database: 199 - Release
Date:
Ok well that array idea could work..
but what's the filename format of these files??
if they're all contigous or in some kind of pattern there maybe a faster and
easier way such as if you have them for example named:
file1.ext, file2.ext
or some pattern or other.. then you can just use random
Hi all,
Just curious whether anyone knows where I can find a class or other
interface to the dtcm calendar manager that is a part of CDE on Solaris,
AIX, etc. Unfortunately, it would seem that dtcm doesn't support RFC
standards, so I don't think I can use mcal or anything like that to
interfa
Hi,
I want to read out the asterisk from a birthdate.
First off all I need the timestamp:
$startDate['Steinbock'] = mktime (0, 0, 0, 12, 22,
1999);
$startDate['Wassermann']= mktime (0, 0, 0, 01, 21,
2000);
$startDate['Fisch'] = mktime (0, 0, 0
php-general Digest 20 May 2002 15:44:01 - Issue 1356
Topics (messages 98411 through 98444):
Running php program when mail received
98411 by: CDitty
98414 by: Manuel Lemos
98415 by: CDitty
Re: Arrays and Forms
98412 by: Jason Wong
98421 by: Miguel Cru
I think it would be a good idea to have whatever software sends list
messages to the newsgroup block out the addresses.
Miguel Cruz wrote:
>If you're concerned and don't have effective anti-spam filtering on your
>email box, I'd suggest coming up with a second address to use for "public"
>pur
I look and I search everything, it looks I'm reaching to a wall :)
I used Netscape, I uploaded to my internet server, still the same.
Plus, I cannot find "header already send" at manual.
The error message is :
Warning: Cannot add header information - headers already sent by (output
started at /mp
I am using gmdate to get the GMT timezone and it's
working but how does it know what timezone my
server is to make the time adjustment? Where's
the setting for this?
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system
(http://www.grisoft.com).
Version: 6.0.361 / Virus Dat
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system
(http://www.grisoft.com).
Version: 6.0.361 / Virus Database: 199 - Release
Date: 07/05/02
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hi All,
I am getting some error like this:
"Fatal error: Call to undefined function: sybase_pconnect() in
/home/httpd/php/db_sybase.inc on line 47"
Please tell me its solution.
Regards,
Vivek
Hello,
On 05/20/2002 04:46 AM, Richard Baskett wrote:
> I wrote this email to the php Archive list and I would like to get your
> opinions on it.. Thanks! :)
>
> "Is there any way that we could get the archives password protected? Apple
> does a nice thing where they tell you the username and p
[snip]
I do believe it is a MySql question!!
What's wrong with the old standard way as:
$result = mysql_query("
SELECT *,
if (last_name is NULL,'zzz end',last_name) as last_name_sort
FROM new_miatapix
ORDER BY last_name_sort
LIMIT $page, 20");
$result = mysql_query("SELECT * FROM new_
Hello,
On 05/20/2002 01:42 AM, CDitty wrote:
> I get this error and the program code outputted to the screen.
>
> Failed loading /usr/local/Zend/lib/ZendOptimiser.so:
> /usr/local/Zend/lib/ZendOptimiser.so: cannot open shared object file: No
> such file or directory
>
> I just looked in that
Hello,
On 05/20/2002 09:00 AM, CDitty wrote:
> When I run /usr/bin/php -q /path/to/file/imap.php, is it supposed to run
> the program or output the actual program code to the screen? When I run
> it, it is showing the actual program code, not the program output.
Oh, of course, silly me that d
I am trying to convert date/times to different
timezones using putenv but I am having problems
using the right TZ names. I am trying the zones I
found here
http://fuck.org/~ryan/squirrel/timezone/timezones.
php but it seems the only ones that work are
EST5EDT, CST6CDT, MST7MDT, PST8PDT and GMT.
Just for confirmation:
Linux Mandrake 8.1, PHP 4.0.6, PIII 600MHz, using Jason's code:
- Original code via HTTP:
1st attempt
3.4497429132462
3.1789749860764
[7.85% faster with bit op's]
2nd attempt (reload)
3.3336659669876
3.1573359966278
[5.29% faster with bit op's]
- Original code from the c
Is their a way to retrieve the previous month using/altering the code
below:
// get the current timestamp into an array
$timestamp = time();
$date_time_array = getdate($timestamp);
$month = $date_time_array["mon"];
$day = $date_time_array["mday"];
$year = $date_time_arra
Hi, i want to use a cookie to set a skin for a site but when i go to the
site when there is no cookie set then it will display no images background
colors ect... So what i need to do is have a command that will set other
images background ect. as default if there is no cookie there. How can i
ach
Johannes Tyra <[EMAIL PROTECTED]> wrote:
>$startDate['Jungfrau'] = mktime (0, 0, 0, 08, 24,
> 2000);
>$startDate['Waage'] = mktime (0, 0, 0, 09, 24,
> 2000);
>
> but with 'Jungfrau' AND 'Waage' something is wrong!!
numbers with a leading zero are in octal form
Hi, i want to use a cookie to set a skin for a site but when i go to the
site when there is no cookie set then it will display no images background
colors ect... So what i need to do is have a command that will set other
images background ect. as default if there is no cookie there. How can i
ach
Create a function called sybase_pconnect(). That is the soluction.
At 05:11 PM 5/20/02 +0530, Vivek Kumar Agrawal wrote:
>Hi All,
>
>I am getting some error like this:
> "Fatal error: Call to undefined function: sybase_pconnect() in
> /home/httpd/php/db_sybase.inc on line 47"
>
>Please tel
> $startDate['Jungfrau'] = mktime (0, 0, 0, 08, 24, 2000);
> $startDate['Waage']= mktime (0, 0, 0, 09, 24, 2000);
Replace 08 and 09 with 8 and 9 respectivly and you will have the effect
you desire.
--
Dan Hardiker [[EMAIL PROTECTED]]
ADAM Software & Systems Engineer
--
PHP General Mailin
On Monday 20 May 2002 16:39, savaidis wrote:
> I look and I search everything, it looks I'm reaching to a wall :)
> I used Netscape, I uploaded to my internet server, still the same.
> Plus, I cannot find "header already send" at manual.
>
> The error message is :
> Warning: Cannot add header info
> Has anyone heard of the problem with MSIE 6? If this is a
> known problem; I'll have to perform some browser check to make
> sure I can gzip to that MSIE
> version 6 build (whatever) -- kind of a hassle.
>
> I just did a search on Technet, and could find no mention of it.
I've experinced si
> Has anyone heard of the problem with MSIE 6? If this is a
> known problem; I'll have to perform some browser check to make
> sure I can gzip to that MSIE
> version 6 build (whatever) -- kind of a hassle.
>
> I just did a search on Technet, and could find no mention of it.
I've experinced si
but then no one would be able to reply to an individual...
> -Original Message-
> From: Leif K-Brooks [mailto:[EMAIL PROTECTED]]
> Sent: 20 May 2002 11:42 AM
> To: Miguel Cruz
> Cc: [EMAIL PROTECTED]
> Subject: Re: [PHP] Email harvesters
>
>
> I think it would be a good idea to have wha
I appreciate all the replies to my question before about this. And also
to the person who asked the question later in the day!
What I'm looking for is a database neutral, comprehensive way to do
escaping.
First of all, though, will a php string hold binary data with the value
of 0x00 at multiple
You can't have any output before you call header. Something in main.php on
line 41 is causing some output that breaks the header() call. Be sure you
don't have any whitespace at the end of included files.
---John Holmes...
- Original Message -
From: "savaidis" <[EMAIL PROTECTED]>
To: <[E
Hi! My opinion is that you should skip the array step and jump to
database implementation - it's a slightly different approach and you'd
have to change most of the array code...
Bogdan
[EMAIL PROTECTED] wrote:
>the following code represents an ineloquent way of capturing data from multiple fo
[snip]
Hi, i want to use a cookie to set a skin for a site but when i go to the
site when there is no cookie set then it will display no images background
colors ect... So what i need to do is have a command that will set other
images background ect. as default if there is no cookie there. How ca
A key to understanding your mysql errors is by using
the mysql_error() function. It's wonderful! Here's
a simple example with a little error checking:
Regards,
Philip Olson
On Sun, 19 May 2002, Justin Latham wrote:
> I am trying to clone my webserver because I am switching ISPs. So I
On Monday 20 May 2002 23:01, Randy Johnson wrote:
> Is their a way to retrieve the previous month using/altering the code
> below:
>
> // get the current timestamp into an array
> $timestamp = time();
> $date_time_array = getdate($timestamp);
> $month = $date_time_array["mon"];
>
Hiya, me again :-)
Is it possible to expire certain session data, while still keeping the
session itself in tact?
Example...
$_SESSION['AlwaysTrue'] = "True";
$_SESSION['ExpireThis'] = "10:20:00";
At 10:19:50 the session is registered. AlwaysTrue must remain True for as
long as the session it
On Monday 20 May 2002 23:56, Patrick Laverty wrote:
> Create a function called sybase_pconnect(). That is the soluction.
I doubt it.
> At 05:11 PM 5/20/02 +0530, Vivek Kumar Agrawal wrote:
> >Hi All,
> >
> >I am getting some error like this:
> > "Fatal error: Call to undefined function: syb
But then how would newsgroup users write back to people?
miguel
On Mon, 20 May 2002, Leif K-Brooks wrote:
> I think it would be a good idea to have whatever software sends list
> messages to the newsgroup block out the addresses.
>
> Miguel Cruz wrote:
>
> >If you're concerned and don't have
On Mon, 20 May 2002, Darren Edwards wrote:
> Hi, i want to use a cookie to set a skin for a site but when i go to the
> site when there is no cookie set then it will display no images background
> colors ect... So what i need to do is have a command that will set other
> images background ect. as
I think these are system-specific. You'll probably have to check which
time zone your machine understands. For instance, on this FreeBSD machine
there are hundreds of them in /usr/share/zoneinfo but on other machines
there are only a handful.
In short, I believe it's an OS rather than a PHP th
On Mon, 20 May 2002, SP wrote:
> I am using gmdate to get the GMT timezone and it's working but how does
> it know what timezone my server is to make the time adjustment?
> Where's the setting for this?
In your server's configuration files somewhere. Nothing to do with PHP.
miguel
--
PHP Ge
08 and 09 are not real numbers. Any number starting with a 0 is an octal
number which means you can only use digits 0-7
Drop the leading 0 and everything will work.
-Rasmus
On Mon, 20 May 2002, Johannes Tyra [BrainData] wrote:
> Hi,
>
> I want to read out the asterisk from a birthdate.
>
> Fi
I know I'm not doing this right, but ..
What I want to do is display the value of $q1 through $q3.
How? I can't get eval() to do it, can I?
for ($i = 1; $i <= 3; $i++)
{
$x= eval ("\$q".$i);
echo"$x\n";
echo"\n";
}
John
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit:
On Mon, 20 May 2002, jtjohnston wrote:
> I know I'm not doing this right, but ..
>
> What I want to do is display the value of $q1 through $q3.
> How? I can't get eval() to do it, can I?
>
> for ($i = 1; $i <= 3; $i++)
> {
> $x= eval ("\$q".$i);
> echo"$x\n";
> echo"\n";
> }
eval() is for runni
This is well-documented. Right out of the set_time_limit() docs:
Note: The set_time_limit() function and the configuration directive
max_execution_time only affect the execution time of the script itself.
Any time spent on activity that happens outside the execution of the
script such as sy
for ($i = 1; $i <= 3; $i++) {
$x= "$q$i";
$val=$$x;
echo"$val\n";
echo"\n";
}
jtjohnston wrote:
>I know I'm not doing this right, but ..
>
>What I want to do is display the value of $q1 through $q3.
>How? I can't get eval() to do it, can I?
>
>for ($i = 1; $i <= 3; $i++)
>{
>$x= eval ("\$q".$i
Sorry, please change line 2 with $x="q$i".
Bogdan
Bogdan Stancescu wrote:
> for ($i = 1; $i <= 3; $i++) {
> $x= "$q$i";
> $val=$$x;
> echo"$val\n";
> echo"\n";
> }
>
>
>
> jtjohnston wrote:
>
>> I know I'm not doing this right, but ..
>>
>> What I want to do is display the value of $q1 through
Windows? Blah. This stuff may very well not work there. No idea.
-Rasmus
On Sat, 18 May 2002, Jason Caldwell wrote:
> It doesn't matter. I'm setting the output *not* to the browser, but to the
> command shell, where I am running the script from. If you look at the
> errors, you'll see 2 of
What makes you think you can echo something after your script has timed
out? Change that print to write something to a file in /tmp and you will
see that it works just fine.
-Rasmus
On Sat, 18 May 2002, Jason Caldwell wrote:
> Here's my code:
>
> set_time_limit(1);
> functi
If there was just one archive of this list and we controlled it, then this
would be ok. But the fact is that there are dozens, and we don't control
any of them. So I don't see how this could be done.
-Rasmus
On Mon, 20 May 2002, Richard Baskett wrote:
> I wrote this email to the php Archive l
"Miguel Cruz" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> But then how would newsgroup users write back to people?
>
> miguel
>
> On Mon, 20 May 2002, Leif K-Brooks wrote:
> > I think it would be a good idea to have whatever software sends list
> > messages
Use a mirror. us2.php.net is quick
We are having some network problems on the main server. A good reminded
to everyone to go find your local mirrors and use them instead.
On Sat, 18 May 2002, Jason Caldwell wrote:
> Anyone know why http://www.php.net is s incredibly slow today
> (
Is there some var that does this automaticly? I don't really know what to
search for on php.net.. :P
If there isn't, is there any other way to do this? I know it's possible with
asp but I have no plans on using asp :P
HÃ¥kan
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, vis
You are resetting $row inside your loop. Don't do that.
On Sun, 19 May 2002, Lee P Reilly wrote:
> Hi,
>
> I wonder if someone could have a quick look at this for me? It's a
> simple while loop, but it's not acting the way (I think) it should. If I
> break down the while loop, it reads:
>
> ---
readdir();
search for that and you should find what you need.
HTH
Jas
"Hawk" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Is there some var that does this automaticly? I don't really know what to
> search for on php.net.. :P
> If there isn't, is there any ot
Or why not just use include_once() or require_once() ??
That's their purpose.
---
Scott Hurring
Systems Programmer
EAC Corporation
[EMAIL PROTECTED]
Voice: 201-462-2149
Fax: 201-288-1515
> -Original Message-
> From: Paul Roberts [mailto:[EMAIL PROTECTED]]
> Subject: Re: [PHP] Variable wo
Hello every one:
I'm trying to create XLS files on the fly.
I found BiffWriter. Looks great for adding texts and numbers, but not
formulas.
Has anyone implemented something about formulas?
Thanks.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsu
Change your die() call to this:
die(mysql_error())
so you can actually see what is going on.
-Rasmus
On Mon, 20 May 2002, Php Developers wrote:
> This command just dies!
>
> I have checked sql connection ... ok
> the insert into line ... ok
>
> Pfft it just don't wanna work
>
>
>
> $answe
http://php.he.net/distributions/php-4.2.1-Win32.zip
On Sat, 18 May 2002, Jason Caldwell wrote:
> Is there some place else I can download release 4.2.1 ??? www.php.net is
> dead slow, and us2.php.net is taking forever to prompt me for the
> download -- I keep getting hit with the "Page Cannot be
Can you just write out the formula to a cell? i.e. write the value
"=SUM(C1:C5)" to a cell and see if it's evaluated? Just throwing things
out...
I would think that you wouldn't need formulas. Isn't that the idea of using
PHP to create the Excel document? Have PHP compute the values of the
"formu
Are you on a Win32 platform?
If so, use COM...
$cell = $sheet->Cells($row,$col);
$cell->activate;
$cell->formula = "your formula";
---
Scott Hurring
Systems Programmer
EAC Corporation
[EMAIL PROTECTED]
Voice: 201-462-2149
Fax: 201-288-1515
> -Original Message-
>
> -Original Message-
> From: 1LT John W. Holmes [mailto:[EMAIL PROTECTED]]
> Subject: Re: [PHP] PHP & Excel
>
> I would think that you wouldn't need formulas. Isn't that the
> idea of using
> PHP to create the Excel document? Have PHP compute the values of the
> "formulas" and print out
> What if the user opens up the sheet and changes a number
> after PHP creates it? Wouldn't you want formulas to
> re-compute the sheet and keep it correct? :)
Like I said, it depends on your case. When I create an Excel file, it's a
"snapshot" of everything. If you need an updated speadsheet,
Hi there!,
To keep both on the same line, you need to put them inside a table
(like this:
)
You can switch off any borders with the following:
in the iframe code use an iframe tag like this:
So to combine the two (both on the same line with no borders), something
like this...
Hello Rasmus Lerdorf,
=== At 2002-05-18, 22:45:00 Rasmus Lerdorf wrote: ===
>http://php.he.net/distributions/php-4.2.1-Win32.zip
>
Why not use a cookie and some type of redirection on php.net, where a user is forced
to choose a mirror, and then when they go to php.net, it redirects them
On Tuesday 21 May 2002 02:24, Hawk wrote:
> Is there some var that does this automaticly? I don't really know what to
> search for on php.net.. :P
> If there isn't, is there any other way to do this? I know it's possible
> with asp but I have no plans on using asp :P
Download the manual and look
[ by the way Darren, your email address doesn't work ]
On Mon, 20 May 2002, Darren wrote:
> Ok what i mean is this if the $skin cookie is not present then what can i
> add to this so that it has a default value with the color #00
>
> if($skin=="default") { $skin="#6e6e6e"; };
> if($skin=="re
I am trying to register an array containing file types, htm, jpg, jpeg, gif
and pdf. I think I am missing something, if someone could look at this and
tell me what I am doing wrong that would be awesome, thanks in advance.
jas
"1",
".jpg"=>"2",
".jpeg"=>"2",
".htm"=>"3",
".pd
On Sun, May 19, 2002 at 07:54:45PM -0500, Greg Beaver wrote:
> PHPDocumentor is a JavaDoc-like automatic documentation generator for PHP
> written in PHP. It is the most versatile tool for documenting PHP.
This sounds like the phpdoc tool that php/pear is using already. But what
can *WE*, as advo
Have you tried creating HTML with the equivalent META header?
Does it work for you?
cheers,
thalis
On Mon, 20 May 2002, Olexandr Vynnychenko wrote:
> Hello php-general,
>
> Has anyone else here the same proplem as I have? I write in my php:
>
> header("Refresh: 3; url=newpage.php");
>
Hello php-general,
Has anyone else here the same proplem as I have? I write in my php:
header("Refresh: 3; url=newpage.php");
Netscape 4.79 works fine and goes to page.php after 3 seconds pass.
But IE 6 doesn't want to do that. Can anyone explain such a wonderful
behavior?
--
Best regards,
In the php.ini file I have display_errors = Off, how would I configure
the server, or the application to display the errors for specific hosts,
the developers?
--
Jeff Bearer, RHCE
Webmaster
PittsburghLIVE.com
2002 EPpy Award, Best Online U.S. Newspaper
--
PHP General Mailing List (http://ww
[EMAIL PROTECTED] writes:
>Hello php-general,
>
> Has anyone else here the same proplem as I have? I write in my php:
>
>header("Refresh: 3; url=newpage.php");
>
>Netscape 4.79 works fine and goes to page.php after 3 seconds pass.
>But IE 6 doesn't want to do that. Can anyone explain such a wonde
Hello Thalis,
Monday, May 20, 2002, 10:51:57 PM, you wrote:
TAK> Have you tried creating HTML with the equivalent META header?
TAK>
TAK>
TAK>
TAK> Does it work for you?
TAK> cheers,
TAK> thalis
TAK> On Mon, 20 May 2002, Olexandr Vynnychenko wrote:
>> Hello php-general,
>>
>> Has anyon
What I'm planning to do is to add the logo of the site over every image
uploaded.
Here is the code after upload:
$dst_im = @ImageCreateFromJPEG ("../".$pathImg.$NomeFile);
$src_im = @ImageCreateFromJPEG ("../imgsite/logo.jpg");
$dst_size = GetImageSize("../".$pathImg.$NomeFile);//800x60
On Sat, May 18, 2002 at 11:45:49AM +0100, Henry wrote:
>
> http://GetResponse.com/k.cgi?a=blahblah&f=henry_Xyteacake.force9.co.uk
> I subscribed using the email address [EMAIL PROTECTED]
> They appear to have translated the "@" symbol to "_Xy".
> Any guess why? Is there a PHP function that does t
What about something like this: (un-tested, just off the top
of my head) It'll set a cookie the first time a user gets
to the page, and will then only re-load data every 75+ seconds
(from the time the user first loads data) -- and only updates
the cookie when data is re-loaded
if (date("U") > (
Have a look at my post of 17/05/2002, I got a lot of help from there.
Bye,
Evan
"Jean-Louis Letortorec" <[EMAIL PROTECTED]> ha scritto nel
messaggio 615315231286D21182E40008C7B1EED241EDF7@COMPAQ3000">news:615315231286D21182E40008C7B1EED241EDF7@COMPAQ3000...
> Hello every one:
>
> I'm trying to
Hi:
To be honest, I don't feel like wading through their example to figure
out what's wrong. The way they're parsing doesn't seem very efficient
to me. Check this tutorial/example out:
http://www.analysisandsolutions.com/code/phpxml.htm
Way cleaner and straight ahead.
Enjoy,
--Dan
--
> -Original Message-
> From: Analysis & Solutions [mailto:[EMAIL PROTECTED]]
> Subject: Re: [PHP] Any Ideas "@" becomes "_Xy"
>
> On Sat, May 18, 2002 at 11:45:49AM +0100, Henry wrote:
> >
> >
> http://GetResponse.com/k.cgi?a=blahblah&f=henry_Xyteacake.force9.co.uk
> > I subscribed usin
On Sun, May 19, 2002 at 12:38:36AM -0500, Miguel Cruz wrote:
> On Sat, 18 May 2002, Rafael Perazzo wrote:
> > Is there any way to ask the user to type the value of
> > a variable from stdin ? (like read in Pascal, or scanf
> > in C). I'm using PHP from command line.
>
> $f = fopen('php://stdin
Do you really need that 3 second delay? You can use a location header
instead...
Bogdan
Olexandr Vynnychenko wrote:
>Hello Thalis,
>
>Monday, May 20, 2002, 10:51:57 PM, you wrote:
>
>TAK> Have you tried creating HTML with the equivalent META header?
>
>TAK>
>TAK>
>TAK>
>
>TAK> Does it work
I have an algorithm that I don't want anyone to see; therefore I can't put
it in a php file. Is there a way I can create a compiled file containing the
algorithm/method that a php file can call? I see information on creating
extensions--is this the way to go? If so, it looks like there's php sourc
Yes, building a small custom extension is the way to go. And the source
tree is the same for UNIX and Windows.
On Mon, 20 May 2002, Bruce Miller wrote:
> I have an algorithm that I don't want anyone to see; therefore I can't put
> it in a php file. Is there a way I can create a compiled file co
Hi guys:
What I need is a php file that will read a text file and show it on a
html file.
And it will also write to a text file, but at the end of the file.
Thanx, Rodrigo de Oliveira Costa.
hi ,
I saw this software its just query analyzer I would like users to have first
look @
http://www.anse.de/mysqlfront/
this is real good for managing mysql remotely
Thanks
Vinod
--
Vinod Palan A
Calypso Technology, Inc.
[EMAIL PROTECTED]
(415) 817-2463 Phone
"Ritesh Nadhani" <[EMAIL PROTECTE
... so open up the text file and read it.
What problem are you having? Are permissions set
correctly? Are you making sure to escape "\" on Win?
---
Scott Hurring
Systems Programmer
EAC Corporation
[EMAIL PROTECTED]
Voice: 201-462-2149
Fax: 201-288-1515
> -Original Message-
> From: Rod
Hello php-general,
on a LAMP server I have the following problem:
1. playing around I tried to execute the linux df (diskfree) command with
exec() or system() - no problem, works fine!
2. trying to start an application did not work!
- the application which I am trying to start can be started by
On Mon, 20 May 2002, Rodrigo wrote:
> What I need is a php file that will read a text file and show it on a
> html file.
>
> And it will also write to a text file, but at the end of the file.
Well, you're in luck; that's all very easy to do.
Are you having a specific problem with some aspect o
Have you checked is_readable() on the full pathname of the file? Perhaps
one of the parent directories isn't accessible to the web server.
miguel
On Mon, 20 May 2002, Alexander Saupe wrote:
> Hello php-general,
>
> on a LAMP server I have the following problem:
>
> 1. playing around I tried
su - nobody (substitute your web server user id)
then try to run the command
The other problem can be that the app requires a TTY.
-Rasmus
On Mon, 20 May 2002, Alexander Saupe wrote:
> Hello php-general,
>
> on a LAMP server I have the following problem:
>
> 1. playing around I tried to execut
Here is how i fixed the problem:
//Adding logo
$dst_im = @ImageCreateFromJPEG("../".$pathImg.$NomeFile);
$src_im = @ImageCreateFromPNG("../imgsite/logoxmail.png");
$dst_size = GetImageSize("../".$pathImg.$NomeFile);
$src_size = GetImageSize("../imgsite/logoxmail.png");
ImageCopy( $dst_i
Hello,
On 05/20/2002 05:02 PM, Bruce Miller wrote:
> I have an algorithm that I don't want anyone to see; therefore I can't put
> it in a php file. Is there a way I can create a compiled file containing the
> algorithm/method that a php file can call? I see information on creating
> extensions--i
Hi,
I'm planning on using userinput as a part of path to read (horrific I know :)
So to make this userinput a bit more secure I'm thinking to use
$path = escapeshellarg($path);
$path = str_replace("../","",$path);
I'm thinking to use a basedir in a constant something like
/usr/home/userdir (thi
Hello,
On 05/20/2002 05:02 PM, Bruce Miller wrote:
> I have an algorithm that I don't want anyone to see; therefore I
can't put
> it in a php file. Is there a way I can create a compiled file
containing the
> algorithm/method that a php file can call? I see information on creating
> extensi
1 - 100 of 130 matches
Mail list logo