erted record by this
user and return the id for this record. A timestamp (microtime()) might also
help.
On the other hand - yes, there is still the possbility of locking the table.
Regards
Thorsten
--
Thorsten Suckow-Homberg
Jakobstrasse 214-216
52064 Aachen
http://www.siteartwo
to writing the WebDAV adapter
that allows to query SVN information over HTTP/WebDAV - without the need
of having a local SVN client running. It was never finished, but feel
free to take whatever you need.
--
Thorsten Suckow-Homberg
http://www.siteartwork.de
http://www.conjoon.org
--
P
> *Procedural or OOP?*
OOP
> *Dev OS*
Windows XP
> *Dev PHP Version*
5.2.6
> *Live Server OS*
-
> *Live Server PHP Version*
-
> *Which HTTP Server Software (+version)?*
Apache 2.2
> *IDE / Dev Environment*
UltraEdit
> *Preferred Framework(s)?*
Zend Framework, Ext JS
> *Do you Unit
Hey there,
> Anyone have any suggestions on a plotting package for PHP?
> Nothing too crazy and fancy - just easy to read plots/graphs.
> We were using PHPlot on our old server but it's requiring too many
> lib's/util's to install on a new server.
>
JPGraph:
http://www.aditus.nu/jpgraph/
HTH
1055function mkdir_recursive($pathname, $mode)
1056{
1057is_dir(dirname($pathname)) ||
mkdir_recursive(dirname($pathname), $mode);
1058return is_dir($pathname) || @mkdir($pathname, $mode);
1059}
Is this function defined within a class? From which scope do you call
Daniel already answerd regarding your error, but...
... if you call the script via cron I'm pretty sure $_SERVER won't be
available since the script is not used in a running webserver process
context.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.n
By visiting php.info in a web browser I have confirmed the location of
my php.ini file as /usr/local/php5/lib/php.ini. I open that file and
edit the line:
; - display_errors = Off
and change it to
display_errors = On
I then retstart Appache and visit php.info which still reports
display_e
Has anyone made some classes for automating MySpace activities: a
friend adder, comment poster, etc.? Thanks...
http://blog.phpdoc.info/archives/39-MySpace-Welcome-to-Web-0.5-and-a-Y!Maps-toy.html
I don't know if it will help you, but it is worth the read :D
--
PHP General Mailing List (h
The connection is successful but the data are not getting inserted into the
table. I need to insert all the words into the table.
When I change the insert statement with one insert at a time, I can insert
values to the database. For exampel:
$qure = "INSERT INTO dict VALUES (1,'apple')";
Do
Because of this:
$dbArray = mysql_fetch_array($querys);
This will fill $dbArray with the first row fetched from the table. 4 are
left which you are calling in your loop at the end of your code example.
What's your reason anyway to call mysql_fetch_array() here?
Delete this line and I'd bet
www.icons-to-make-my-stuff-shiny-and-professional.com
You probably should get somone that is one, or learn it.
If the website above works, then there is one otherwise >>no<<.
What a valuable response... oO
Nicolas, you should google for Linux-Themes (KDE etc.), most of the icon
collections
$row[4];
$res[$i]['size'] = $row[5];
$res[$i]['weight'] = $result_array[$row[0]];
$i++;
}
usort($res, "cmp");
echo mysql_error();
$res['maxweight'] = $maxweight;
$res['results'] = $results;
return $res;
/**/
}
?>
That's not enough, we need the part that sits above an
ls it.
Take a look at http://www.php.net/php5, section "Magic Methods"
In your case the __toString() method would be valuable...
Regards
Thorsten Suckow-Homberg
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Yep, PHP can certainly do that, and once you start you wont find a
friendlier place
if you need help...without this list I wouldnt be a programming in PHP
todayokay, maybe I would
but it would be a LOT harder :-)
Sooo... how much did they pay you to make you say this? :P
--
PHP General
Short Answer : No
Longer Answer : Maybe, if you have knowledge of PHP internals and a
willingness to write an extension. Even then it may not work..
Well, PHP5's magic methods __get()/ __set() could be used to resolve the
variable's name...
--
PHP General Mailing List (http://www.php.net/)
$100... cuz I'm sure you didn't mean to compound those conditionals such
that PHP doesn't understand them ;)
nargh... yes you're right... send me your account information along with
your paypal login. I'll send you the money asap ;)
--
PHP General Mailing List (http://www.php.net/)
To unsubs
I'm certain that is illegal.
Wanna bet? :)
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
[...]
Try the following:
1) include() will only trigger a warning if the requested file is not within
the include path. Thus, to make sure the file is found, you should use
"require()" which triggers a fatal error and prevends the script from being
executed if the given filename as the param
in other languages it is possible use conditional epression in switch
case
like
switch $n
case (0
You could use the following statement:
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hi All,
My very first post to this group as I'm a freshly spanked new born
php
baby. Hope I have the correct stop for noob tech questions.
Welcome :)
[source]
First guess: On your "live" server the ini-value error_reporting is switched
to report anything but notices and warnings or
When I try to insert a field into my database it shows as Resource id#21?
I must be doing something dim.
Some could would definetely help here...
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
presenting
the script/form.
Best regards
Thorsten Suckow-Homberg
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
and when i click on link always I have in $count value 1 but I need
value 2,3,
how to do it ?
//session_destroy(); <- don't do that! It destroys the
//session associated with the current user
?>
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/u
uot;error_reporting". But basically, this is something you should never ever
do. Your code should run clean even with error_reporting set to E_ALL.
Best regards
Thorsten Suckow-Homberg
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
24 matches
Mail list logo