seems to be
30 seconds, pretty low for 300 emails:
>cat `locate php.ini`|grep max_execution_time
max_execution_time = 30 ; Maximum execution time of each script, in
seconds
--
Greg Donald
http://destiney.com/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
mpile, why? How about a link?
ln -s /sbin/sendmail /usr/sbin/sendmail
--
Greg Donald
http://destiney.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
ink this way then:
ln -s /usr/sbin/sendmail /sbin/sendmail
--
Greg Donald
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
ly not be possible in safe mode, but there's no
way to tell since you posted no code.
--
Greg Donald
http://destiney.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
> What is the syntax to have php redirect to another web site?
http://domain.com/";);
?>
--
Greg Donald
http://destiney.com/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
at happens when I user has lost there password and needs to
>retrieve it, there is no way to reverse the process is there?
md5 is one-way encryption. I use a password 'hint' field in conjunction
with md5.
--
Greg Donald
http://destiney.com
--
PHP General Mailing List (http://
is the expected release date? Or is still too soon to tell still?
Thanks,
--
Greg Donald
http://destiney.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
ries. Then the data that is
returned you will want to place into an array. Then finally you
will want to iterate over the array creating some html from each row for
display.
--
Greg Donald
http://destiney.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: htt
that is not the case, I'd move.
What kind of system is it? If it's unix you can make use of chown and
chmod to protect your stuff. If it's windows, I don't know.
--
Greg Donald
http://destiney.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On Mon, 17 Feb 2003, Jonathan Pitcher wrote:
>This process involves an IRR Calculation. Or Internal Rate of Return.
Sorry, I don't think there are any accountants lurking on the list, so
please explain what the actual calculation for an IRR should be.
--
Greg Donald
http://dest
On Tue, 18 Feb 2003, Bruce Miller wrote:
>Will PHP allow multiple-thread execution?
PHP4 does not have thread support.
--
Greg Donald
http://destiney.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
if (ereg('[0-9]+','$_POST["gamt_$i"]'))
> {
> continue;
> }
> else
>{
> die("Non-numeric data entered in grass entry field(s).");
>}
>}
Try changing '$_POST["gamt_$i"]' to $_POST['gamt_$i']
--
they receive the alert message, but then have to start all
>over again. How do I keep the existing data in the textareas from
>dissapearing after the alert message?
$fill = isset($_GET['textareafield']) ? $_GET['textareafield'] : "";
$html = <<$fill
EOF;
On Wed, 5 Mar 2003, LeTortorec, Jean-Louis wrote:
>My pages starting and ending with "" don't work anymore. I would
>have to change them to "".
>
>Do you know if there is a way for keeping "http://destiney.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.p
f you're waiting for a perfect version of any of
those, it'll still be a long while.
The best thing to do is just pick a distro that releases patches quickly, and
keep up to date on patches.
--
Greg Donald
http://destiney.com/
--
PHP General Mailing List (http://www.php.net/)
T
at has always pushed out the new stuff sooner
than most anyone except maybe Mandrake. If you're a RedHat user and this makes
you uncomfortable you might try a distro that is a bit more slow to release new
stuff, Debian or one of the BSDs for example.
--
Greg Donald
http://destiney.com/
--
> It's the first time I use PHP as my project server-side language,
> and I wanna know if PHP can be used to draw a chart or any other
> suggestions. Thx
Yeah, PHP will do that.
I use JPGraph myself: http://www.aditus.nu/jpgraph/
--
Greg Donald
http://destiney.com/
--
PHP G
print makes the code layout look nice and eazy to debug, where heredoc IS
> faster but makes the code look like a nightmare and I'm pretty picky about
> what looks good.
Sounds like you already have your mind made up.
--
Greg Donald
http://destiney.com/
--
PHP General Mailing Li
ript will do that.
--
Greg Donald
http://destiney.com/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
> Can somebody give me any workable example how to run some script written in
> PHP in Unix console.
#!/usr/local/bin/php -q
> I wan't to write some server aplication. So it has to be run in the
> backgroud.
Have a look at the process control functions:
http://php.net/pcntl
I read on devshed article about TCP socket
> listenig, but I don't like this.
That's pretty much how it's done. If you want to listen to a program you have
to use some type of socket, tcp is they way I'd go.
--
Greg Donald
http://destiney.com/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
tten in PHP.
--
Greg Donald
http://destiney.com/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
t notice any load issues
with it. What's your whole query look like?
--
Greg Donald
http://destiney.com/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
t joins so as to select much less data.
As an aside, limit 0,1 is the same as limit 1.
--
Greg Donald
http://destiney.com/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
ow to patch it or where can I find this information to update PHP
>by this patch?
gunzip php-4.2.0-to-4.2.2.patch.gz
cd /path/to/php_source
cat /path/to/php-4.2.0-to-4.2.2.patch |patch
you might also try 'man patch'
--
Greg Donald
http://destiney.com
--
PHP General Mailing
On Thu, 13 Jun 2002, Daniele Baroncelli wrote:
>Can anyone suggest me a different editor ?
Depending on my OS I amd sitting in front of:
vim - www.vim.org
editplus - www.editplus.com
--
---
Greg Donald
http://destiney.
appen to anyone else or was it just me?!
It must be your news client. I use pine remotely and got no such popup.
--
-------
Greg Donald
http://destiney
job Richard. Glad your around man.
--
-------
Greg Donald
http://destiney.com/
---
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
file.
Thanks in advance.. :)
--
-------
Greg Donald
http://destiney.com/public.key
---
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
ess or whatever the IIS equivalent is. If there's no
Thanks but I have no idea about IIS, that's why I posted, to see if this
might be an IIS specific issue some other windows users experienced.
>equivalent then I'd suggest throwing the server out the window.
Yes..
--
--
I can. I
also tried "Off" and "off", same results.
>does $var contain anything. If it doesn't, then ini_set() worked...
>otherwise.. um... find other way of doing it(??)
Yes.. another way, any suggestions?
--
-
s my code:
--
-------
Greg Donald
http://destiney.com/public.key
---
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
someone interested in helping find my error.
Thanks alot!
--
-------
Greg Donald
http://destiney.com/public.key
---
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
_register('$var5');
> } elseif (isset($HTTP_SESSION_VARS[$hour]) => $hour + 5*60)) {
> header("Location: https://localhost/index.php"};
> } else {
> endif(); }
>[end snippit]
The syntax should be:
$var1 = "some value";
session_register(
On Mon, 15 Jul 2002, MAAS wrote:
Try adding a \r.
fputs ($sysname_log, "$time - SystemName: $sysname\r\n");
--
---
Greg Donald
http://destiney.com/
t;
>Any advice?!
Use apache if possible.
--
---
Greg Donald
http://destiney.com/public.key
---
--
PHP General Mailing List (http://www.php.net/)
To
sure that the newest record is the one being acted upon?
>Thanks.
By using a where clause to identify the postid in the table, something
like this perhaps:
UPDATE header SET parent='$this->parent' where postid='$this->postid';
--
PHP install once a month or so cause of new
security holes.. Yay!
Wasn't this new register_globals setting supposed to enhance security?
How would you like to be a sys admin with dozens of machines to upgrade
before you can proceed with anythign else?
Can anyone say Ruby?
--
Greg Don
rity holes
following in the next couple of months after that.
If it doesn't bother you the hassles 'the php group' is putting me, you,
and alot of others through then I guess that's just you. I can't
help but get pissed about it. I did not have the time to do the
hp"
> it tells me: "No input file specified."
I use something like that in my .procmailrc:
:0 fw
| /usr/bin/spamassassin
:0
* ^X-Spam-Status: Yes
{
:0 c
| $HOME/.spamassassin/spamcop.php
:0
spam
}
--
Greg Donald
http://destiney.com/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
mplete script that contains all the code you would need:
http://destiney.com/pub/phplinks_2.1.2.tar.gz
--
Greg Donald
[EMAIL PROTECTED]
615-746-9414 home
615-594-6052 cell
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
;Fatal: cannot open template ' . $file . '\n');
}
return $html;
}
Of course I have no template caching system like Smarty has, but I use
TurkeMM Cache: http://www.turcksoft.com/ and query caching from MySQL 4. I
also clean my html before output, removing all tabs and newline
.
Umm.. no. For a given network, say 10.0.0.0, a subnet mask of
255.255.248.0 yields the following range of possible node addresses:
10.0.0.1 to 10.0.7.254.
>This seems like laziness..
Or homework.
--
Greg Donald
http://destiney.com
--
PHP General Mailing List (http://www.php.net/)
To u
l use a MySQL table instead of
/tmp. Try this:
http://destiney.com/pub/php_db_sessions.tar.gz
--
Greg Donald
http://destiney.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
g mysql dump, but I don't want to have to run
>a shell command.
Have you tried mysqlhotcopy?
http://www.mysql.com/doc/en/mysqlhotcopy.html
--
Greg Donald
http://destiney.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
array_unique perhaps?
http://php.net/array_unique
--
Greg Donald
http://destiney.com/
- Original Message -
From: "Chakravarthy Cuddapah" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Monday, December 22, 2003 11:22 PM
Subject:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Tristan Gutsche wrote:
| Hello im hoping someone might have an insight into this one im getting an
| odd error when I use a not condition in an if statement
|
| The code is as follows:
| if !(isset($_REQUEST["license"]))
| {
| $license = "off";
| }
|
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Matt Horner wrote:
| Simply here is my problem:
|
| After logging into the system, I set a session with information for
| the Username and Password for verifiying
| the user's login into the system, that way I don't have to
| continually ask
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Ben Ramsey wrote:
| I'm pretty sure I know how to use header() create a CSV file for a
| client to download data from a database, but I think it would really
| impress this client if I could generate a Microsoft Excel file instead
| of a CSV file. Anyo
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Brian V Bonini wrote:
| Kind of funny... Back before PHP had sessions this was how everyone did
| it and everyone wished for session support in PHP, now that it's had it
| for a while :)
I hear ya. I recall a job interview in like 1999 or something
> I want to check a string and return the amount of words present
> in it. These
> strings could be quite large, some higher than 100,000
> characters. I realize
> I could explode the string on the whitespace and count the number
> of values.
> However, I'm not sure this would be the most opti
> I am a newbie to PHP and I am trying to get a number of scripts to work.
>
> Whenever I try to execute some code I receive 'warnings', that basically
> clutter up the screen. Since I am assuming that these are not fatal - is
> there any way to turn them off?
>
> Any help would be appreciated.
seen whatever they need to. Then, on their
next login, do a join against the seen_briefing table, check for an entry...
--
Greg Donald
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
ame");
eval("\$template_name = \"$template_name\";");
This will parse all your $vars you store in the templates.
Greg Donald - http://destiney.com/
http://phprated.com/ | http://phplinks.org/ | http://phptopsites.com/
--
> Anyone know of a good text editor for linux, WITH syntax highlighting for
> php/html + other languages?
Vim - http://www.vim.org/
If you use X, then use gvim.
Greg Donald - http://destiney.com/
http://phprat
$argv as described in the predefined variables
documentation:
http://www.php.net/manual/en/language.variables.predefined.php
----
Greg Donald - http://destiney.com/
http://phprated.com/ | http://phplinks.org/ | h
r a single row, not the fact that no rows
returned. I would use:
if (mysql_num_rows($sql_authorisation) == 1) {
$user_array = mysql_fetch_array($sql_authorisation_result);
$login_username = $user_array[account_name];
session_register("login_username");
}
-
ape 4
} else {
// is something else
}
--------
Greg Donald - http://destiney.com/
http://phprated.com/ | http://phplinks.org/ | http://phptopsites.com/
--
PHP General Mailing Li
ession.php
> Also I do not know much of anything about Object Oriented Programming.
Me neither :)
> Thanks for the feedback.
No problem...
----
Greg Donald - http://destiney.com/
Is that going to catch the Mozilla spoofers, like webtv and opera?
Err, no... if they are being spoofed then why would it?
Open a phpinfo() page in each of the browsers you wish to correctly
identify, then you can see what user agent you need to search for to do
whatever with... :)
---
urn mysql_affected_rows($sdbh);
}
session_set_save_handler("sess_open","sess_close","sess_read","sess_write","
sess_destroy","sess_gc");
session_start();
$sn = session_name();
$sid = session_id();
?>
The sessions table should lo
box, my php.ini is in /etc. That's where you change the mta.
Or do you mean the ServerAdmin email setting as defined in the httpd.conf?
--------
Greg Donald - http://destiney.com/
http://phprated.com/ | http://phplinks.org/ | ht
r version is less than 4.1.0, try the global variable $PHP_SELF
instead.
--------
Greg Donald - http://destiney.com/
http://phprated.com/ | http://phplinks.org/ |
www.php.net/manual/en/function.ereg-replace.php
http://www.php.net/manual/en/function.htmlspecialchars.php
----
Greg Donald - http://destiney.com/
http://phprated
.
Look at http://www.php.net/manual/en/function.mail.php
----
Greg Donald - http://destiney.com/
http://phprated.com/ | http://phplinks.org/ | http://phptopsites.com/
---
> Has anyone compiled php on linux and found the binary executable file?
I usually compile it and copy it to where I want it manually...
----
Greg Donald - http://destiney.com/
http://phprated.com/ | http://phplinks.org/ | h
>> It's no BBEdit, but what can you do?
vim? It's free and runs on every system I ever heard of.
--
---
Greg Donald - http://destiney.com/
http://phprated.com/ | http://phplinks.org/ | http:/
as the frame
source for any given frame, just like if it were an .htm or .html page.
--
-------
Greg Donald - http://destiney.com/
http://phprated.com/ | http://php
me on
all of them.
----
Greg Donald - http://destiney.com/
http://phprated.com/ | http://phplinks.org/ | http://phptopsites.com/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
l
/usr/sbin/apachectl stop
/usr/sbin/apachectl start
----
Greg Donald - http://destiney.com/
http://phprated.com/ | http://phplinks.org/ | http://phptopsit
> Does anyone know where the PNG library went?
> The manual points to cdrom.com/pub/png, but that does not exist anymore.
http://www.libpng.org/pub/png/
----
Greg Donald - http://destiney.com/
http://phprated.com/
for code you intend to use multiple times.
--------
Greg Donald - http://destiney.com/
http://phprated.com/ | http://phplinks.org/ | http://phptopsites.com/
--
PHP General Mailing List (http://www.php.net/)
#x27;s how you do it, javascript.
--
---
Greg Donald - http://destiney.com/
http://phprated.com/ | http://phplinks.org/ | http://phptopsites.com/
---
--
PHP Genera
lient side language.
--
-------
Greg Donald - http://destiney.com/
http://phprated.com/ | http://phplinks.org/ | http://phptopsites.com/
---
--
PHP General
and going
back to using vim and editplus.
Learn the code or hire someone, not much way around it else.
--
-------
Greg Donald - http://destiney.com/
http://phprated.com
e?
Does it work when you try with actual values instead of posted variables?
--
---
Greg Donald - http://destiney.com/
http://phprated.com/ | http://phplinks.org/ | http://phptopsites.com/
---
manual/en/ref.strings.php
--
-------
Greg Donald - http://destiney.com/
http://phprated.com/ | http://phplinks.org/ | http://phptopsites.com/
---
--
PHP General Mailing List (http://www
t, from
http://phplinks.org/.;
--
-------
Greg Donald - http://destiney.com/
http://phprated.com/ | http://phplinks.org/ | http://phptopsites.com/
---
--
PHP General Mailing List (http://www.php.net/)
get_html())>0)
//do something
else
// do nothing
--
-------
Greg Donald - http://destiney.com/
http://phprated.com/ | http://phplinks.org/ | http://phptopsites.com/
---
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
is a DNS issue. What
you want is a canonical domain name, some folks refer to them as 'C' names
also. You will need to request this addition with your isp. Also, a new
virtual host will need to be added to Apache's config file.
--
------
tion. Ideas? Thanks.
I usually program dynamic image names when I encounter this.
--
---
Greg Donald - http://destiney.com/
http://phprated.com/ | http://phplinks.org/ | http://phptopsites.com/
-
is automatic or not, --enable-trans-sid, have a look at:
http://www.php.net/manual/en/ref.session.php
http://www.php.net/manual/en/install.configure.php
--
---
Greg Donald - http://destiney.com/
http://phprated.com/ | http://
uff. To have something dynamic like
you described, you would need to incorporate something with dynamic client
side capabilities, something like javascript, or java.
--
---
Greg Donald - http://destiney.com/
http://phprated.com/ | http://
odify both pages or just the input form?
--
-------
Greg Donald - http://destiney.com/
http://phprated.com/ | http://phplinks.org/ | http://phptopsites.com/
---
--
PHP Genera
th .ini's
>
>What am I missing here...should I juyst remove the password from "root" ?
Edit config.inc.php, line 49-ish, change the root user's password from
null to whatever..
--
---
Greg Donald -
On Mon, 18 Mar 2002, Brian wrote:
>Hi:
>Does anyone out there know how to execute a WHOIS query from within PHP?
quick and dirty:
#!/usr/bin/php -q
--
---
Greg Donald - http://destiney.com/
http://phprated.com/
htdig and it works swell for small projects where you need to index a
small to medium sized website for later searching.
--
-------
Greg Donald - http://destiney.com/
http://phprated.com/ | http://phplinks.
> Okay here is the situation. I am reading a file using fgets up until I hit
a certain delimiter within the text. No problem there. This text file may or
may not
> contain php in the format . So I now have two variables $header
and $footer which may or may not contain some php within them. I need
> Does anyone have a quick example of how you would show X numbers of
database records at a time from a query? (you know, list 25 of 400 records
with next/previous navigation)...
Feel free to rip the navigation out of phpLinks and use it:
http://phplinks.org/
Have a look in functions.php, I
You might check to see if there is some kind of endless loop, it's not like
PHP to just die without a reason. Looks like you got plenty of hardware
there, so it must be your code... ;)
> -Original Message-
> From: Wally Hartshorn [mailto:[EMAIL PROTECTED]]
> Sent: Friday, March 30, 2001
> Does anyone know of a way to stop the user from refreshing a page several
> times.
>
> i.e if I add a value to a database using a form and PHP, I don't want the
> user to be able to simply press refresh and add the value to the database
> again.
>
> Please help,
> Dvaid.
Many methods exist,
> -Original Message-
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Jon Jacob
> Sent: Friday, March 30, 2001 9:05 PM
> To: [EMAIL PROTECTED]
> Subject: [PHP] More questions about installing.
>
>
> Sorry for the newbie level questions, but I am having more weird inst
> Ah, but there my friend is the rub. I did put that in.
>
> .And, all the conditions for the modules are there and
> specifically the
> module for php4 is present and the conditional is there. I tried
> putting the
> line above in the wide open (outside a conditional) but that made narr
phpLinks v2.0b is released. - http://phplinks.org/
Changes - http://phplinks.org/changelog
Download - http://phplinks.org/?show=download
Please note, this is a beta release.
Regards,
Greg
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For
Hello list,
I am coding a search engine that allow indexing and searching internet sites
based on php/mysql.
My problm is:
How can i index a given site, I mean:
input: URL, like http://www.blabla.com/
Output: meta, body content, description that will be stored in a tables.
Regular expressi
Is it possible to read in binary data as the client side of a stream using
fgetc()?
In particular, is it possible to delimate string separation using \0 as a
delimiter? All attempts to recognize and or read the \0 character fails.
Thanks,
Greg
--
PHP General Mailing List (http://www.php.net/)
> Hello, sorry this question here (it is not true PHP question), but I use
> some variables into PHP scripts and need
> pass these variables from one frame to another.
>
> I want pass variable values between frames, these definded via input
> hidden tags into form definition.
> I have first frame
phpLinks 2.1 beta is released.
http://phplinks.org/
Thanks,
Greg
--
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 PROTECTED]
> Is anybody on this list hosting an e-commerce site with Hosting4All?
> Or, has anybody had any experience with the "Miva Engine" which
> Hosting4All provide "free of charge" (i.e. as part of the
> subscription fee)?
I used Miva before. It was slower than java... It sucked.
Why would fopen() refuse to open this url with numbers in it:
http://www.555-1212.com/ ?
The same code has no issues with urls like http://www.yahoo.com/ or
http://slashdot.org/.
And it resolves ok on the same box:
+-(greg@bajor)
+-(~)> nslookup 555-1212.com
Server: bajor
Address: 0.0.0.0
No
1 - 100 of 1003 matches
Mail list logo