On Mon, 25 Oct 2004 11:50:39 -0700 (PDT), Matthew Sims
<[EMAIL PROTECTED]> wrote:
> I see that register_globals is turned on. Now I always use the $_GET and
> $_POST vars but will this still affect me?
.htaccess
php_flag register_globals off
--
Greg Donald
Zend Certified E
On Mon, 25 Oct 2004 15:59:18 -0400, Lizet Peña de Sola
<[EMAIL PROTECTED]> wrote:
> How can I set session_auto_start On, I have a similar problem and I think
> it's because my web hosting has that feature off.
.htaccess
php_flag session.auto_start on
--
Greg Donald
Zend C
ongest request)
Summary for 10K local requests:
11.2 seconds for .html not parsed as PHP
vs.
30.5 seconds as .html parsed as PHP.
--
Greg Donald
Zend Certified Engineer
http://gdconsultants.com/
http://destiney.com/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
($options);
}
} catch (Exception $e) {
// handle problems
}
and rest assured that the code will work under all circumstances. Hope
this helps :)
Regards,
Greg
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
s pure php so it will work accross all browsers.
http://pear.php.net/package/HTML_Menu
Greg
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
#x27;s excellent site
devoted to these subjects.
However, most important is to simply try it out, make mistakes and have
fun trying to fix them (or get an ulcer, but that's how we look at
things, isn't it :)
Greg
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
> upload_max_filesize = 5M
Did you edit the correct php.ini file? For example on my Debian
system I have two:
/etc/php4/apache/php.ini
/etc/php4/cgi/php.ini
--
Greg Donald
Zend Certified Engineer
http://gdconsultants.com/
http://destiney.com/
--
PHP General Mailing List (http://www.php.net
On Tue, 26 Oct 2004 18:54:45 +0530, Akshay <[EMAIL PROTECTED]> wrote:
> how to get bios info in PHP
> Is there any command?
Maybe something like:
php -r "system('dmesg');"
--
Greg Donald
Zend Certified Engineer
http://gdconsultants.com/
http://destiney.com/
--
and add the new functions there?
--
Greg Donald
Zend Certified Engineer
http://gdconsultants.com/
http://destiney.com/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
$this->$var = $value;
}
}
}
function test($o)
{
return $o->val;
}
$o = new DoesStuff;
$o->val = 4;
$o->test = 'test';
echo $o->test();
?>
However, you won't have access to private or protected data members. It
is always better to rigidly define your met
Like in Pine for example, you _have_ to turn it on before it begins to
work.
--
Greg Donald
Zend Certified Engineer
http://gdconsultants.com/
http://destiney.com/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
n.. as that might help explain more what's going on.
--
Greg Donald
Zend Certified Engineer
http://gdconsultants.com/
http://destiney.com/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
print html tags on the screen?
You need to send the Content-Type header for text instead of html.
php.net/header
--
Greg Donald
Zend Certified Engineer
http://gdconsultants.com/
http://destiney.com/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
eeBSD 4.10 system I have. The same
test.php script runs fine for me.
> cat test.php
#!/usr/local/bin/php
> ./test.php
Content-type: text/html
X-Powered-By: PHP/4.3.9
test
--
Greg Donald
Zend Certified Engineer
http://gdconsultants.com/
http://destiney.com/
--
PHP General Mailing
x27;s what you mean.
And I also found:
http://marc.theaimsgroup.com/?l=php-general&m=109767486431095&w=2
--
Greg Donald
Zend Certified Engineer
http://gdconsultants.com/
http://destiney.com/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On Thu, 28 Oct 2004 11:01:53 -0500, Afan Pasalic <[EMAIL PROTECTED]> wrote:
> I am not so good in this: you want to say that SSL use 443 port
Yup.
--
Greg Donald
Zend Certified Engineer
http://gdconsultants.com/
http://destiney.com/
--
PHP General Mailing List (http://www.php
[EMAIL PROTECTED]).
Can someone unsubscribe this guy? Thanks.
--
Greg Donald
Zend Certified Engineer
http://gdconsultants.com/
http://destiney.com/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On Thu, 28 Oct 2004 18:27:34 +0200, Nick Wilson <[EMAIL PROTECTED]> wrote:
> If a script is to be called with cron *outside* of the http directory,
> how should file system paths be handled?
I always assume cron is dumb and provide it with full paths.
--
Greg Donald
Zend Certif
On Thu, 28 Oct 2004 13:06:57 -0400, KWRIGHT <[EMAIL PROTECTED]> wrote:
> I have a perl date that is writing to a file. I need to display that date
> using PHP to a page.The date looks like this 1077051100 in the file.
>
> Can anyone help?
php.net/date
--
Greg Don
classes (that I did not execute before updating) work fine.
Is there a way to reset PHP if this is the case?
What did you upgrade?
Greg
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
ust an array):
>
> if (is_uploaded_file(_FILES['userfile']))
> $handle = fopen($_FILES['userfile'], "r");
$_FILES['userfile']['name'] is the file.
$_FILES['userfile']['tmp_name'] is the name of the file.
$_FILES[&
ior
programming knowledge) and get back to me. It's certainly possible,
but I wouldn't want to learn Perl again from scratch.
--
Greg Donald
Zend Certified Engineer
http://gdconsultants.com/
http://destiney.com/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
y, but if you post your actual code, people will most likely help
you debug it.
--
Greg Donald
Zend Certified Engineer
http://gdconsultants.com/
http://destiney.com/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
ders[laddername]
EOF;
}
}
>
> And then to populate the list:
>
>for($x=0;$x<$aantal_ladders;$x++)
> {
> echo(' echo('>'.$rijladders["$x"]["laddername"].'');
Like I wrote above, I tend to use
On Fri, 29 Oct 2004 11:52:46 +0100, Nunners <[EMAIL PROTECTED]> wrote:
> Can someone suggest a way of going through the string to find the relevant
> bits - is split the easiest way?
I would use preg_match().
--
Greg Donald
Zend Certified Engineer
http://gdconsultants.com/
http://
an preempt it with javascript. Put the load on the client when
possible I say.
--
Greg Donald
Zend Certified Engineer
http://gdconsultants.com/
http://destiney.com/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On Fri, 29 Oct 2004 16:28:39 +0200, -{ Rene Brehmer }-
<[EMAIL PROTECTED]> wrote:
> I do realise that this error means I've forgotten a curly brace or
> semi-colon somewhere, but seriously ...
I use vim. Shift-5 matches braces and parentheses easy enough.
--
Greg Dona
that.
ADOdb is very good. adodb.sf.net
My favorite feature is the md5 bzip'd PHP sessions.
--
Greg Donald
Zend Certified Engineer
http://gdconsultants.com/
http://destiney.com/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On Fri, 29 Oct 2004 10:15:57 -0500, Jay Blanchard
<[EMAIL PROTECTED]> wrote:
> Make mine Communicty New Orleans Blend w/Chicory pleaseintravenously
> please...
Bah.. Mountain Dew and a couple of Sudafed is where it's at. :)
--
Greg Donald
Zend Certified Engineer
http://
one it with Perl using the SOAP api.
Did you register a developer account and get your key and all that?
--
Greg Donald
Zend Certified Engineer
http://gdconsultants.com/
http://destiney.com/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
ing to do with each other.
--
Greg Donald
Zend Certified Engineer
http://gdconsultants.com/
http://destiney.com/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On Fri, 29 Oct 2004 12:29:29 -0400, Aaron Wolski <[EMAIL PROTECTED]> wrote:
> Is this what you are looking for:
>
> /r/n?
You mean \r\n ?
--
Greg Donald
Zend Certified Engineer
http://gdconsultants.com/
http://destiney.com/
--
PHP General Mailing List (http://www.php.net/)
On Fri, 29 Oct 2004 21:14:27 +0200, Christian Ista <[EMAIL PROTECTED]> wrote:
> Someone else told me it's possible to have a php.ini by website. Could you
> tell me where put in and what in ?
php -c /path/to/php.ini
--
Greg Donald
Zend Certified Engineer
http://gdcons
d_php) you can run php a
couple of ways:
1) command line:
php -c /path/to/php.ini -r "echo 'Hello World';"
2) command line scripts:
#!/usr/bin/php -c /path/to/php.ini
--
Greg Donald
Zend Certified Engineer
http://gdconsultants.com/
http://destiney.com/
--
PHP General
On Sun, 31 Oct 2004 12:58:04 +0100, Nick Wilson <[EMAIL PROTECTED]> wrote:
> I think in_array() sounds like a great solution, wonder if it's faster
> than comparing each ooe with == ? thanks!
Benchmark it both ways and find out. Then post back and tell us. :)
--
Greg Dona
a query:
> mysql_query("create table foo ( bar int, morebar int )", $resource);
> if(mysql_errno())
> {
> die(mysql_error());
> }
> //I get
> //No Database Selected
$test = mysql_query() || die('bad query: ' . mysql_error());
--
Greg Donald
Zend Certified Engineer
http://gdconsultants.com/
http://destiney.com/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
tely a third. It's hard to accept this
penalty in light of any meager advantages offered by keeping the files
in the databases instead of in a directory.
--
Greg Donald
Zend Certified Engineer
http://gdconsultants.com/
http://destiney.com/
--
PHP General Mailing List (http://www
characters. It may only appear as one character when
viewed as html, but to str_pad() it's 6 characters.
--
Greg Donald
Zend Certified Engineer
http://gdconsultants.com/
http://destiney.com/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hi all,
What's the standard line ending for Darwin? is it still the same as old
Mac, which I think was just \r? Or does it use \n like unix?
Greg
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
make sure
> the image is no larger than 60x60. Is there any way to do this?
getimagesize( $_FILES['userfile']['tmp_name'] ) contains the size info.
--
Greg Donald
Zend Certified Engineer
http://gdconsultants.com/
http://destiney.com/
--
PHP General Mailing List (http
t in a single bound, and your whole site would
stop working.
so, the way you're doing it is a lot better than any other options, but
I would add in checks to the values before you save them in $_SESSION.
Greg
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On Tue, 2 Nov 2004 11:12:49 -0500, Jerry Swanson <[EMAIL PROTECTED]> wrote:
> I'm sending text email. How I can make new line.
> "\n" seems to be not working.
Use \r\n instead of just \n.
--
Greg Donald
Zend Certified Engineer
http://gdconsultants.com/
http://des
values at once, this will
always evaluate to true. Maybe you meant && instead of ||.
--
Greg Donald
Zend Certified Engineer
http://gdconsultants.com/
http://destiney.com/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On Tue, 2 Nov 2004 13:48:30 -0500, Kelly Meeks <[EMAIL PROTECTED]> wrote:
> I need to require username/password access in two distinct ways.
PHP Generic Access Control Lists
http://phpgacl.sourceforge.net/
--
Greg Donald
Zend Certified Engineer
http://gdconsultants.com/
http://des
ould see the
answer right away:
echo '';
print_r($_POST);
echo '';
--
Greg Donald
Zend Certified Engineer
http://gdconsultants.com/
http://destiney.com/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
he recommended limit. Good point.
> Laugh, don't mind me, I'm as much of a hypocrite as the next person.
We all are at times.
--
Greg Donald
Zend Certified Engineer
http://gdconsultants.com/
http://destiney.com/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
you forget to include your PHP question perhaps?
--
Greg Donald
Zend Certified Engineer
http://gdconsultants.com/
http://destiney.com/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
'
>
> Please advise.
Install it manually.
http://pear.php.net/manual/en/installation.manually.php
--
Greg Donald
Zend Certified Engineer
http://gdconsultants.com/
http://destiney.com/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
ding html emails and form the link yourself.
Some folks detest html emails, while others use plugins to make URLs
become links in text emails. You're really at the mercy of the
recipient email client. *shrug*
--
Greg Donald
Zend Certified Engineer
http://gdconsultants.com/
http://destiney.
> Is there something else that I should be looking at to optimize things?
> Or to track down the slowdown?
Did you happen to try running the Apache benchmark tool 'ab' on it.
It provides quite a bit of info aside from the actual timed requests.
--
Greg Donald
Zend Certified En
ray_map( 'slashes', $_GET ) : array();
$_POST = isset( $_POST ) ? array_map( 'slashes', $_POST ) : array();
$_COOKIE = isset( $_COOKIE ) ? array_map( 'slashes', $_COOKIE ) : array();
}
--
Greg Donald
Zend Certified Engineer
http://gdconsultants.com/
http://des
r as well. Again, where's the
PHP code you're asking a question about?
--
Greg Donald
Zend Certified Engineer
http://gdconsultants.com/
http://destiney.com/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
mpiling PHP may cause problems.
http://www.php.net/manual/en/faq.build.php#faq.installation.needgnu
--
Greg Donald
Zend Certified Engineer
http://gdconsultants.com/
http://destiney.com/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
s asking
what code _you_ had that you couldn't live without, code that makes
your life easier when reused from project to project.
Criticism comes easy when you have nothing to contribute otherwise.
--
Greg Donald
Zend Certified Engineer
http://gdconsultants.com/
http://destiney.com/
--
PHP Gen
Greg Donald wrote:
On Wed, 3 Nov 2004 15:41:54 +0800, Roger Thomas <[EMAIL PROTECTED]> wrote:
I would like to install PEAR Calendar module and did a
[EMAIL PROTECTED] apps]# pear install Calendar
but got these:
No release with state equal to: 'stable' found for 'Calendar
On Wed, 03 Nov 2004 16:28:13 -0500, Greg Beaver <[EMAIL PROTECTED]> wrote:
> > Install it manually.
> >
> > http://pear.php.net/manual/en/installation.manually.php
>
> This is terrible advice.
>
> $ pear install --force Calendar.
And you think --for
Greg Donald wrote:
On Wed, 03 Nov 2004 16:28:13 -0500, Greg Beaver <[EMAIL PROTECTED]> wrote:
Install it manually.
http://pear.php.net/manual/en/installation.manually.php
This is terrible advice.
$ pear install --force Calendar.
And you think --force is better? Pffft.
When the PEAR deve
On Wed, 03 Nov 2004 17:35:04 -0500, Greg Beaver <[EMAIL PROTECTED]> wrote:
> I am sorry I jumped on you Greg, you have given great advice very often
> on this list. My country is going to Hell, and I took a bit of
> frustration out on you :)
No problem. It happens. :)
--
G
Gustavo A. Baratto wrote:
hello there,
is there anyway to know the name of the function that is being executed?
In the docs (http://www.php.net/manual/en/ref.funchand.php), we can
find out the arguments of the function, but not the name of the function
itself.
echo __FUNCTION__;
Greg
--
PHP
x27;yes', things like that add
up. Sessions are as efficient as you make them.
Also, PHP doesn't have threads. You can use some of the execution
functions to simulate them to some extent however:
http://www.php.net/manual/en/ref.exec.php
--
Greg Donald
Zend Certified Engineer
http://gdcon
out all these answers for
yourself? It's is dual-licensed and all. :) Did you need some help
with installing it perhaps?
--
Greg Donald
Zend Certified Engineer
http://gdconsultants.com/
http://destiney.com/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On Thu, 04 Nov 2004 08:22:18 -0800, Robin Getz
<[EMAIL PROTECTED]> wrote:
> and now I don't loose 250 Meg of memory every time I download a 250Meg
> file. If someone wants to add this to the readfile() php manual - great.
Anyone can post user comments in the manual. Give it a
sharedbuffers cached
Mem: 249246 2 0 4 86
-/+ buffers/cache:154 94
Swap: 486 12473
The system has to support whatever memory command you use.
*nix: free
windoze: mem
--
Greg Donald
Zend Certified Engi
On Thu, 4 Nov 2004 08:59:50 -0800, bb9876 <[EMAIL PROTECTED]> wrote:
> Is there any way to use PHP to determine the zip code someone is visiting
> from, assuming they are all from the US?
http://www.usps.com/webtools/
--
Greg Donald
Zend Certified Engineer
http://gdconsultan
On Thu, 4 Nov 2004 13:02:19 -0700, Vail, Warren <[EMAIL PROTECTED]> wrote:
> It is too bad this clause is not supported by some of the other
> databases I have had to use
I think calling a limit a limit and an offset an offset is a good thing.
--
Greg Donald
Zend Certified E
On Fri, 5 Nov 2004 06:20:11 +0800, Exile <[EMAIL PROTECTED]> wrote:
> Is there any package like 'strict' or 'warnings' in PHP, like Perl ?
error_reporting(E_ALL | E_STRICT);
E_STRICT was added in PHP5.
--
Greg Donald
Zend Certified Engineer
http://gdconsult
SD.
For example: /usr/ports/databases/mysql41-server
> Using FreeBSD 4.7 stable if that help (don't want to use the port)
To each his own, but it seems the easiest way to me.
cd /usr/ports/databases/mysql41-server
make install clean
--
Greg Donald
Zend Certified Engineer
On Fri, 5 Nov 2004 20:55:00 +0200, Phpu <[EMAIL PROTECTED]> wrote:
> if(ereg("^[a-zA-Z0-9_]{2,30}$", $name)) {
if(ereg("^[a-zA-Z0-9_\ ]{2,30}$", $name)) {
Need to allow spaces in the regular expression.
--
Greg Donald
Zend Certified Engineer
http://gdconsult
On Fri, 5 Nov 2004 13:10:43 -0500, Frantzcy Paisible
<[EMAIL PROTECTED]> wrote:
> I need to recreate this perl script in php :
I'm not sure if you realize it, but you can call the Perl script from
PHP using system().
--
Greg Donald
Zend Certified Engineer
http://gdconsult
On Fri, 05 Nov 2004 13:03:31 -0800, Todd Cary <[EMAIL PROTECTED]> wrote:
> I have seen instances where the surfer can open a new window to get
> email addresses and these addresses appear in the first window.
Javascript.
--
Greg Donald
Zend Certified Engineer
http://gdconsultan
On Fri, 5 Nov 2004 15:30:43 -0600, Jay Blanchard
<[EMAIL PROTECTED]> wrote:
> Thousands of examples will be yours to behold.
14.8 million from where I sit.
I'm tired of all your inaccurate answers Jay. :)
--
Greg Donald
Zend Certified Engineer
http://gdconsultants.com/
http:
ptsearch.com/
--
Greg Donald
Zend Certified Engineer
http://gdconsultants.com/
http://destiney.com/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On Fri, 05 Nov 2004 13:17:29 -0800, Todd Cary <[EMAIL PROTECTED]> wrote:
> Is there a place where I can view some examples of using JavaScript?
http://google.com/search?q=javascript
--
Greg Donald
Zend Certified Engineer
http://gdconsultants.com/
http://destiney.com/
--
PHP Genera
echo '';
print_r($_POST);
echo '';
--
Greg Donald
Zend Certified Engineer
http://gdconsultants.com/
http://destiney.com/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
#x27;;
preg_match() can do that.
php.net/preg_match
--
Greg Donald
Zend Certified Engineer
http://gdconsultants.com/
http://destiney.com/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
e to some benchmarks that support this claim? Thanks.
--
Greg Donald
Zend Certified Engineer
http://gdconsultants.com/
http://destiney.com/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
ttp://www.zend.com/manual/ref.session.php
http://www.easysoft.com/tech/php/tut_001/main.phtml
http://shiflett.org/talks/phpworks2004/php-session-security
--
Greg Donald
Zend Certified Engineer
http://gdconsultants.com/
http://destiney.com/
--
PHP General Mailing List (http://www.php.net/)
To
ple php wrapper script:
http://www.devshed.com/c/a/PHP/Search-This/
http://www.htdig.org/
This setup allows me a great deal of graphical customization in the
results display while putting all the real work with search results
and search logic on htdig.
--
Greg Donald
Zend Certified Engineer
ht
with proper indexing would be slower than looping through the results
with PHP scripting.
--
Greg Donald
Zend Certified Engineer
http://gdconsultants.com/
http://destiney.com/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On Mon, 8 Nov 2004 13:06:41 -0500, Aaron Todd <[EMAIL PROTECTED]> wrote:
> Is there any way yo get the date and time using date() from a Internet time
> server?
php -r "system('ntpdate -q ntp.nasa.gov');"
--
Greg Donald
Zend Certified Engineer
http://gdcons
etend like I'm posting to vger.kernel.org.. seems to keep
most people from yelling at me too much.
--
Greg Donald
Zend Certified Engineer
http://gdconsultants.com/
http://destiney.com/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
r you
installed MySQL from rpms, did you run ldconfig?
--
Greg Donald
Zend Certified Engineer
http://gdconsultants.com/
http://destiney.com/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
to the screen.
This sort of string parsing could be handled with preg_match_all().
--
Greg Donald
Zend Certified Engineer
http://gdconsultants.com/
http://destiney.com/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
er's computer. That's what a cookie is, a file on the
user's computer, created by the web client.
--
Greg Donald
Zend Certified Engineer
http://gdconsultants.com/
http://destiney.com/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
s', 0);
will override the php.ini setting.
--
Greg Donald
Zend Certified Engineer
http://gdconsultants.com/
http://destiney.com/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
s (and
> fairly new to PHP for that matter), so please don't get too technical in
> replies. Thanks so much for help.
Where is you (broken) PHP code that you have written so far?
What is it not doing that you are expecting it to do?
--
Greg Donald
Zend Certified Engineer
http
On Wed, 10 Nov 2004 10:49:29 -0500, Al <[EMAIL PROTECTED]> wrote:
> > ini_set("error_log", "/AutoSch/error.log");
Looks like this might be a path relative to your domain or your vhost
definition? I'd go with a full system path if that's the case.
--
On Wed, 10 Nov 2004 23:14:43 +, Jason Wong <[EMAIL PROTECTED]> wrote:
> Or you can wait for Manuel Lemos' reply :)
Good one. :)
--
Greg Donald
Zend Certified Engineer
http://gdconsultants.com/
http://destiney.com/
--
PHP General Mailing List (http://www.php.net/)
To unsu
( !isset ($_SESSION) ) if you don't like using the @ error
suppression. I usually have a single common file like config.php or
something that I do session_start() in, so I've never actually ran
across this issue.
--
Greg Donald
Zend Certified Engineer
http://gdconsultants.com/
http://des
$user, $pass, $db );
> }
>
> I understand parts but googling for the proper use of functions in php
> hasn't gotten me anywhere...
Looks like you understand already. Did you have some broken code you
wanted help with?
--
Greg Donald
Zend Certified Engineer
http://gdconsultants.com/
ht
le(true); do wget -m -np http://yahoo.com/; done
--
Greg Donald
Zend Certified Engineer
http://gdconsultants.com/
http://destiney.com/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On Wed, 10 Nov 2004 11:00:12 -0800, Chris W. Parker
<[EMAIL PROTECTED]> wrote:
> should basic data validation come before a function call or be performed
> within the function?
--
Greg Donald
Zend Certified Engineer
http://gdconsultants.com/
http://destiney.com/
--
PHP General
You
would have an entry for each subject a book is in.
As far as the sql, I'd suggest something but you didn't say what db
you're using. Looks like MySQL output but I could be wrong.
--
Greg Donald
Zend Certified Engineer
http://gdconsultants.com/
http://destiney.com/
--
On Wed, 10 Nov 2004 20:34:46 + (GMT), abhilash kumar
<[EMAIL PROTECTED]> wrote:
> The error log file is showing "Segmentation fault".
Did you happen to try display_startup_errors = On in your php.ini..
I'm not sure but it might provide a more informative error message
you would need to accept
more than a single connection at once. You can simulate thread
functionality to a degree using the PHP execution functions here:
http://www.php.net/manual/en/ref.exec.php
--
Greg Donald
Zend Certified Engineer
http://gdconsultants.com/
http://destiney.com/
--
PHP G
on't want to pre-define any however.
> global $defined;
>
> db( $defined[9], $defined[1], $defined[2], $defined[3] );
> ... do some processing ...
What does print_r( $defined ) show you? Is that what you expect to be
in the array?
--
Greg Donald
Zend Certified Engineer
h
On Thu, 11 Nov 2004 12:42:44 -0700, Jason <[EMAIL PROTECTED]> wrote:
> There isnt an error at all.
How could there be an error? You're using @ to suppress nearly every
mysql function call. Makes it kind of hard to debug that way.
--
Greg Donald
Zend Certified
Justin French wrote:
Hi,
What's the quickest way to add a space every four characters?
Eg 123456789 becomes 1234 5678 9
Greg
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
, and you might also try freshmeat.
http://cpan.perl.org/
http://freshmeat.net/
For graphing in PHP I use JPGraph:
http://www.aditus.nu/jpgraph/index.php
--
Greg Donald
Zend Certified Engineer
http://gdconsultants.com/
http://destiney.com/
--
PHP General Mailing List (http://www.php.net/)
T
rite everything - not exactly a timesaver, unless you simply give up
on making your code better :)
Greg
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
1001 - 1100 of 1454 matches
Mail list logo