Ashley Sheridan wrote:
> On Tue, 2013-08-27 at 16:16 +0930, David Robley wrote:
>
>> Ethan Rosenberg wrote:
>>
>> > Dear List -
>> >
>> > Tried to run the program, that we have been discussing, and received a
>> > 403 error.
&g
gt;
> Ethan
This is in no way a php question, as the same result will happen no matter
what you ask apache to serve from that directory.
You have the directory permissions set to 776 not 777.
--
Cheers
David Robley
Steal this tagline and I'll tie-dye your cat!
--
PHP General Mailing L
"Ethan Rosenberg, PhD" wrote:
>
>
> Ethan Rosenberg, PhD
> /Pres/CEO/
> *Hygeia Biomedical Research, Inc*
> 2 Cameo Ridge Road
> Monsey, NY 10952
> T: 845 352-3908
> F: 845 352-7566
> erosenb...@hygeiabiomedical.com
>
> On 08/26/2013 07:33 PM
cannot access /var/www/orders.txt: No such file or directory
>
> The ls -la works because the file was created from the command line.
>
> TIA
>
> Ethan
Note that touch and chmod don't return any output, so echoing the result of
a system call for those commands will give an empty string.
You should be checking the values of $ret for each execution of system to
see whether the command was successful or not - the return status of the
executed command will be written to this variable. I'd guess that touch is
returning 13 - permission denied.
if( !file_exists("/var/www/orders.txt"))
{
system("touch /var/www/orders.txt", $ret1);
echo 'touch returned '.$ret1.' /';
system("chmod 766 /var/www/orders.txt", $ret2);
echo 'chmod returned ' .$ret2.' /';
echo 'file2';
echo file_exists("/var/www/orders.txt"); }
Check the permissions for directory /var/www; you'll probably find it is
writable by the user you log on as, but not by the user that apache/php runs
as, which is often www - a user with limited privileges.
As other(s) have pointed out, there are php functions to do what you want
without introducing the possible insecurities involved with system et al.
--
Cheers
David Robley
"Don't try to pull the wool over my eyes," Tom said sheepishly.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
the Community
menu item on the PHP home page.
--
Cheers
David Robley
Enter any 11-digit prime number to continue...
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
files I easily get over 100 KB inclusion size, so my
> question;
> Is there a size limitation for include?
>
> Best regards
Do you get an error message? Try removing the header() in the image output
and see what happens.
--
Cheers
David Robley
PARANOID:Paying MORE for Surge-Protect
gt; It's working on the other machines and loading all the extra modules
> happily.
>
Did you "make clean" after reconfiguring before re-compiling php? According
to https://bugs.php.net/bug.php?id=63611 that may be a cause.
--
Cheers
David Robley
An ulcer is what you get mountain
ysql --host=instance43490.db.xeround.com --port=8904
> --user= --password=
>
> WORKS perfectly - entering the MySQL Monitor.
>
> However, on the same host, same command line:
>
> sudo mysql --host=instance43490.db.xeround.com:8904 --user=
> --password=
>
> Does NOT work -
t; And yes, my $host param is correct.
>>>
>>> Thanks,
>>>
>>> --
>>> PHP General Mailing List (http://www.php.net/)
>>> To unsubscribe, visit: http://www.php.net/unsub.php
>>>
>>
First guess is that you don't have privil
Stephen wrote:
> On 13-04-10 10:59 PM, David Robley wrote:
>> I ran phpinfo() on my host and searched for "BBCode". Not found.
>>
>> Does this mean that the extension is not installed?
>>
>> If not, how can I tell?
>>
>> Thanks
>>
>
r
languages. See http://www.bbcode.org/ for more info.
--
Cheers
David Robley
Some people are afraid of heights. I'm afraid of widths
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
gt; the largest of all non-commercial genealogical projects.
>
readfile() is probably where you want to start, in conjunction with a
captcha or similar
--
Cheers
David Robley
Catholic (n.) A cat with a drinking problem.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
{
> echo 'no';
> }
> }
> ?>
>
> Running this script, I got the same error as before. If $state is a known
> state abbreviation in the array, everything is fine, but if someone was to
> enter, say 'XX' like I did above or leave it blan
but the cookie is not. There's no cookie in
> the browser prefs, either. What am I doing wrong?
>
> Angela
Misunderstanding what $cookie contains? It is a boolean, i.e. it will be
true or false depending on whether the cookie was set or not. To echo the
contents of a cookie, you need to use the cookie name, viz
"; ?>
--
Cheers
David Robley
Oxymoron: Sisterly Love.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Alarms
>>
>>
>>
>> --
>> PHP General Mailing List (http://www.php.net/)
>> To unsubscribe, visit: http://www.php.net/unsub.php
>>
>
> Do test this, but I think all that's required is you make the name an
> array:
>
>
More info at http://www.php.net/manual/en/language.variables.external.php
(search for multiple) and
http://www.php.net/manual/en/faq.html.php#faq.html.select-multiple
--
Cheers
David Robley
Know what I hate? I hate rhetorical questions!
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
['username'] = 'root';
> $config['Database']['password'] = 'root';
> $config['Database']['charset'] = 'utf8';
> ?>
Change host to localhost - your mysql may be configured not to accept
requests via tcp.
>
> === class.lpdo.php
>
>
> --
> Thanks,
> Dave - DealTek
> deal...@gmail.com
> [db-3]
--
Cheers
David Robley
My karma ran over my dogma
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
.mydomain.com
This request is made to the mysql server on host server2.mydomain.com which
responds with the error that access is denied for the user named 'user' on
host server1.mydomain.com
The most likely problem is that on server2.mydomain.com you do not have
mysql privileges for
know if it's an unbalanced quote
> mark or what's going on. But I'd appreciate any advice you may have.
>
>
> Best,
> tim
>
If you check your apache log you'll probably see an error message. But the
problem seems to be that your string you are trying to ec
t;mediumtext"
> to "text" but this didn't work.
>
> If anyone has any ideas as to why this might be happening -- or if I just
> wasn't clear -- please let me know.
>
>
If phpmyadmin gives expected results and _your_ code doesn't, I'd be
suspici
the problem here is. Personally I never use auto-inc fields.'
Cheers
--
David Robley
Useless Invention: Kickstand for a tank.
Today is Pungenday, the 26th day of The Aftermath in the YOLD 3177.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
to
>> 9),
>> but then will not take further inserts.
>>
>> Thanks for any help available.
>>
>>
>> Regards
>>
>> Toni
>>
>
> I don't know what the problem here is. Personally I never use auto-inc
> fields.
That statement
Jim Giner wrote:
> "David Robley" wrote in message
> news:49.50.34068.1b567...@pb1.pair.com...
>>
>> Consider running EXPLAIN on all your queries to see if there is something
>> Mysql thinks could be done to improve performance.
>>
>
> Why do so man
at with the pagination...
>
> Back to the drawing board! :)
>
Consider running EXPLAIN on all your queries to see if there is something
Mysql thinks could be done to improve performance.
Cheers
--
David Robley
Why do they put Braille dots on the keypad of the drive-up ATM?
Today is Prickle-Prickle, the 7th day of The Aftermath in the YOLD 3177.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
phy.com
Is it possible that you are attempting to display images? And if so, are you
making the mistake of storing them "full size" and using the browser to
resize them? That would have the potential to cause long load times.
Cheers
--
David Robley
Give me some chocolate and no one g
On Fri, 14 Oct 2011, you wrote:
> On 11-10-14 03:40 AM, David Robley wrote:
> >> I have a web page with a form with a text area. I enter:
> >>
> >> foo
> >>
> >>
> >> bar
> >>
> >> PHP processes the POST and inserts the r
;
> Thanks
> Stephen
You may have forgotten that HTML treats all whitespace, such as tabs,
newlines and spaces, as a space, unless you wrap the text in PRE tags.
To display a line break where your text contains EOL characters, use nl2br()
Cheers
--
David Robley
Hm..what's this red
Tim Streater wrote:
> On 11 Oct 2011 at 10:47, David Robley wrote:
>
>> Tim Streater wrote:
>>
>>> On 11 Oct 2011 at 03:03, Paul M Foster wrote:
>>>
>>>> On Mon, Oct 10, 2011 at 04:14:00PM +0100, Tim Streater wrote:
>>>>
>>>
gt;>
>> The docs appear to agree that this is allowed. See:
>>
>> http://us.php.net/manual/en/function.sqlite-exec.php
>
> That's the SQLite interface, though, rather than the SQLite3 one. The
> latter just says: "Executes an SQL query ...".
>
> -
lighting as an aid to finding the offending code.
Cheers
--
David Robley
When I was a kid, I was an imaginary playmate.
Today is Pungenday, the 19th day of Bureaucracy in the YOLD 3177.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
p. The fact that
> we offer a newsgroup interface at all is by all means eligible for
> discontinuation, since only about six people use it in any given year.
>
/me wonders who the other five are :-)
Cheers
--
David Robley
"I've mixed up my gloves," Tom said intermittentl
avid gets the kudos for telling me to
> check the error logs first.
As you become more familiar with managing apache yourself, you will learn
that checking the error log is the 0th thing to do with any apache or
apache related problem, including 500 errors from CGI scripts and checking
for php
last of those
> lines 4 - added "PHPIniDir "c:/php" as the last line of the conf file.
>
> Upon adding these lines apache will no longer restart. In fact adding any
> ONE of these lines breaks Apache.
>
> Ideas welcome.
>
> And for those who still love th
what im trying to achieve is a category of pages but i want the cat_name
> as the key to all the pages associated to it
>
> hope i make sense
>
> kind regards
>
> Adam
How is this array created? If it is from a database, you could probably
modify the query to give you what you wan
n to your boss and get sent home early.
>>>
>>> Second, as dreamed up in the previous thread, I've decided to take
>>> a few moments this morning to build and release a new PHP extension,
>>> which provides a single function: detonate().
>>>
>>>
ided to take
>> a few moments this morning to build and release a new PHP extension,
>> which provides a single function: detonate().
>>
>> Third, you can read about it and download it here:
>> http://links.parasane.net/29nh
>>
>> That's all, folks.
>
splay.
There is probably nothing you need to do to the emailed version.
Cheers
--
David Robley
Honey, PLEASE don't pick up the PH$@#*&$^(#@&$^%(*NO CARRIER
Today is Prickle-Prickle, the 66th day of Discord in the YOLD 3177.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Richard Quadling wrote:
> On 17 May 2011 12:45, Singapore Citizen Mr. Teo En Ming (Zhang Enming)
> wrote:
>> 16 May 2011 Monday 7:28 P.M. Singapore Time
>> For Immediate Release
>>
>>
>
> Is it Friday?
>
>
Clearly it is Friday on the planet wher
in the first step. Any help
> please?
You might find jpgraph useful.
Cheers
--
David Robley
Pizza IS the four food groups!
Today is Sweetmorn, the 53rd day of Discord in the YOLD 3177.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
lients/jaguar_php')
> in /Users/ken/Sites/smm_registration/smmcomputereducation.php on line 1
>
> Any ideas or suggestions?
>
> Thanks,
>
> Ken
If I remember correctly, include and friends have two parts to the error
message but you've only shown us one. For a guess, is it
ql. However, there are some tools to help you; see
http://php.net/manual/en/function.pg-result-error.php
For future reference, it helps to post all the code that is relevant to your
problem, so in this case it would help, for example, to see how you are
making the connection to pgsql and how the $qu
Or you
might check the apache docs at:
http://httpd.apache.org/docs/2.2/howto/htaccess.html
http://httpd.apache.org/docs/2.2/mod/mod_authz_host.html#allow
Cheers
--
David Robley
To be, or not to be, those are the parameters.
Today is Sweetmorn, the 43rd day of Discord in the YOLD 3177.
p.net/manual/en/function.opendir.php for a basic method.
Alternatively you can use the SPL DirectoryIterator class
http://php.net/manual/en/class.directoryiterator.php
http://php.net is your first resource for php
Cheers
--
David Robley
Hm..what's this red button fo:=/07http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Joe Francis wrote:
> eh, I just want to get a shortcut like
>
> $id = isset($_GET['id']) ? $_GET['id'] : 0;
>
>
> BTW, I'm using PHP5.3+, thanks bros.
>
That should work - what is not happening that you expect to happen, or the
other way roun
uot;
";
It helps us help you if you can give examples of what you have tried and how
it didn't work as you expected.
Cheers
--
David Robley
Terminal glare: A look that kills...
Today is Setting Orange, the 12nd day of Discord in the YOLD 3177.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
y.
>>
>> Paul
>>
>> --
>> Paul M. Foster
>> http://noferblatz.com
>> http://quillandmouse.com
It's possibly worth reinforcing at this stage of the game that
and
are incorrectly formed strings to represent CR and LF, in that they should
have a closing
ray) for this particular
problem. Surely you have been around here long enough to be able to find
things in the documentation, or at least try there first, by now?
Cheers
--
David Robley
Do fish get thirsty?
Today is Setting Orange, the 60th day of Chaos in the YOLD 3177.
--
PHP Genera
> code writing.
>> Looking forward to learning and participating.
>
> Fantastic. As the new guy, you're expected to sweep the floors
> here each Tuesday and Saturday evening. Lesson one: buy a broom.
>
A shovel might also be useful - Dan forgot to mention the stables
$amount/3)-th
>> , second ad block goes after the round($amount/3*2)-th . ---
>> Simon Welsh
Try substr_count ??
Cheers
--
David Robley
Sure, it's clean laundry. The cat's sitting on it, isn't he?
Today is Boomtime, the 47th day of Chaos in the YOLD 3177.
--
On Sat, 5 Feb 2011, Kirk Bailey wrote:
> If I wanted to reinvent the wheel, I would not have wasted the
> list's bandwidth, I would go burn the hours I do not have to spare
> on rewriting things already written years before by someone else.
>
> On 2/4/2011 12:46 AM, David Ro
Kirk Bailey wrote:
> Where is a good place for bread and butter day in day out routinely
> needed functionality in php?
>
Content management system? Framework? PEAR? Write your own library/classes?
Cheers
--
David Robley
Iraqi Bingo B-52..F-16..A-10.. F-18..F-117..B-2
Today i
David Hutto wrote:
> If project names are indications of programmer's Freudian insights,
> then what is the FCKEditor?
Perhaps that questions should be asked of the lead developer's parents, who
had the temerity to name him Frederico Caldeira Knabben.
Cheers
--
David Ro
Paul S wrote:
> On Sun, 23 Jan 2011 12:40:25 +0700, David Robley
> wrote:
>
>> Paul S wrote:
>>> I'm a little new to PHP.
>
> David starts:
>> Nobody seems to have mentioned it, but the SMTP info is only needed on a
>> Win
>> system. Th
he specified parameters to be passed as extra
parameters
; to the sendmail binary. These parameters will always replace the value of
; the 5th parameter to mail(), even in safe mode.
;mail.force_extra_parameters =
mail() should be functional; if mail() is returning true then your next step
in th
ction-name is a handy way of looking up a specific
function.
Cheers
--
David Robley
Diagonally parked in a parallel universe.
Today is Prickle-Prickle, the 14th day of Chaos in the YOLD 3177.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
teral unless it contains only name
> characters
>
> ?ome>home href=index.php?page=services>services
> I have tried various combinatons and different doctypes. I'm beginning to
> wonder if this code is allowed at all.
>
>
In this tag you aren't getting the href valu
Michelle Konzack wrote:
> Hello David Robley,
>
> Am 2011-01-08 16:25:38, hacktest Du folgendes herunter:
>> You might find http://xchm.sourceforge.net/ useful :-)
>
> [ 'apt-cache policy xchm' ]-
> xchm:
> Insta
ce Day/Evening
> Michelle Konzack
>
You might find http://xchm.sourceforge.net/ useful :-)
Cheers
--
David Robley
Everyone has photographic memory...some don't have film!
Today is Pungenday, the 8th day of Chaos in the YOLD 3177.
--
PHP General Mailing List (http://www.php
st the code that you are using?
>
> It should look something like the following:
>
>
>
And normally would need to be saved as a .php file so the contents will be
handled by php.
Cheers
--
David Robley
A fool and his money are my two favourite people.
Today is Boomtime, the
vantage to either? Please clarify
> for this newbie.
>
The documentation says it all better than I can:
http://php.net/manual/en/function.echo.php
http://php.net/manual/en/function.print.php
Cheers
--
David Robley
OPERATOR! Trace this call and tell me where I am.
Today is Sweetmorn, the 5
On Thu, 11 Nov 2010, Robert Cummings wrote:
> On 10-11-11 02:20 AM, David Robley wrote:
> > Daniel P. Brown wrote:
> >> On Wed, Nov 10, 2010 at 20:59, Nathan Rixham
wrote:
> >>> I went back to using a pre hypertext processor, seemed like a
> >>> re
Pre Hypertext Processor - the acronym sounds familiar :-)
Cheers
--
David Robley
Coming Soon!! Mouse Support for Edlin!!
Today is Setting Orange, the 23rd day of The Aftermath in the YOLD 3176.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
access using
php_flag engine 1|0 (or on|off if you prefer)
http://php.net/manual/en/apache.configuration.php#ini.engine Rather well
hidden - took me a few minutes to dig it out :-)
Cheers
--
David Robley
If you would know a man, observe how he treats a cat.
Today is Setting Orange, the 36th day of Bureaucracy i
s A lot
> Jordan Jovanov
Ah, it's the time of year for an editor thread again :-) Have a look at
http://www.php-editors.com/ or
http://en.wikipedia.org/wiki/List_of_PHP_editors or even google "php
editor"
As for "best" that can be very subjective depending on what _y
as an output.
>
> I have tried closing the php tag like this:
>
> $template = "return <<".$template."\nTEMPLATE;\n";
>
> but the extra ?> only gets outputed as HTML.
>
> This is my first post to this mailing list, so I great you all and tha
left empty, it inserts into the the DB as 2069-12-31.
>
> How does one deal with this?
>
> Don Wieland
Aside from all the good advice already offered, if you want to accept a null
date, check what your DB does with it and whether you can set a default for
an empty date. Mysql for example can
ieve it was last February 30th the decision was made...
Cheers
--
David Robley
Kids-They're not sleeping, they're recharging!
Today is Pungenday, the 37th day of Confusion in the YOLD 3176.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
t;
>
> Use include(mypages/another_program.php);
>
> Cheers
> Arno
Alternatively you could use header() to perform a redirect to another
page/site/whatever. With the warning that there should be no output
before the call to header; but see also output buffering if needed.
Cheers
on the Evolution email client in this
> thread. It's what I use, and it does have a reply to list option (but I
> tend to be a bit lazy and hit reply to all as the option is in a menu
> and not on the toolbar :-/ )
>
> Thanks,
> Ash
> http://www.ashleysheridan.co.uk
This is an oldie but I think it is still a goodie in respect of this
discussion.
http://www.unicom.com/pw/reply-to-harmful.html
Cheers
--
David Robley
On an electrician's truck: Let Us Remove Your Shorts
Today is Sweetmorn, the 38th day of Discord in the YOLD 3176.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
stscript is the first thing that comes to my mind; alternatively googling
for "convert postscript pdf" or similar might turn up other options.
Cheers
--
David Robley
To a cat, "NO!" means "Not while I'm looking."
Today is Sweetmorn, the 13rd day of Discord in th
x27;ve missed
> something right in front of me.
>
> Alex.
I think what you want is something to trigger a php script every
$period-of-time; if your host supports it, cron is the means of executing
an application at regular intervals down to a minute granularity. There are
some web-based
>
> Are there times when the http://www.php.net/manual/en/ini.core.php#ini.short-open-tag for more info.
I'd suggest you move away from using short tags, if for no other reason than
portability.
Cheers
--
David Robley
A conclusion is simply the place where you got tired of
tatic mirror of the site which has all
the functionality of the dynamic site in static html form. Just stick the
mirror on a CD with an appropriate autorun.inf if you want it to autostart.
Cheers
--
David Robley
Sure, it's clean laundry. The cat's sitting on it, isn't he?
Tod
= implode(',', $_POST['showid'];
$subSQL = "SELECT order_id FROM afy_show_lineitem WHERE show_id IN ($ids)"
But you need also to check your logic - your query above will have two WHERE
in it and will fail miserably :-) And your call to mysql_error will
probably no
t;> take months to code, you need to take another look at the problem. I
>> don't believe you have thought it through very well.
>>
>> Bob McConnell
>>
>> --
>> PHP General Mailing List (http://www.php.net/)
>> To unsubscribe, visit: http://www.php
php5ts.dll
>> GET,HEAD,POST,DEBUG
>>
>> Maybe php-win.exe
>> _
>>
>> I added to the XP Prof environment path ;C:\PHP\;C:\PHP\ext\
>>
>> I created an environment variable (and rebooted) PHPRC =
>&
Clancy wrote:
> $ok = include (HOST_PATH.'/Halla.php');
Because you are assigning the result of the include to a variable. Try
include (HOST_PATH.'/Halla.php');
and it will work as you expect. And similarly for
define ('HOST_PATH','../Engine');
each
> day. I am trying to present a factual statement: "There have been over
> ### subscribers in 2009" type of scenereo.
>
> Ron
Modulus - http://php.net/manual/en/language.operators.arithmetic.php
Cheers
--
David Robley
Oxymoron: Split level.
Today is Prickle-Prickle,
=Forums
They have sandbox sites that you can play with and get a feel for the
application.
Cheers
--
David Robley
After a number of decimal places, nobody gives a damn.
Today is Boomtime, the 61st day of Confusion in the YOLD 3175.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
>>>
>>> Option1
>>>
>>>
>>>
>>> Option2
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>
>> You'll find they are already in an
an array which you can access as
$_POST['option'] - from there foreach() should be the next step.
Cheers
--
David Robley
Polls show that 9 out of 6 schizophrenics agree.
Today is Setting Orange, the 59th day of Confusion in the YOLD 3175.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
there to manage this sort of
structure, e.g. http://www.edutech.ch/contribution/nstrees/index.php or
search on "nested trees".
Cheers
--
David Robley
A mind is a terrible thing to ... er ... h?
Today is Pungenday, the 52nd day of Confusion in the YOLD 3175.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
arc archives may not go back as far as
when I first joined what was then a mailinglist only (I think!). Although I
find contributions to other mailing lists back as far as 1995. $deity, I
must be getting old.
Cheers
--
David Robley
I have enough trouble single-tasking!
Today is Prickle-Prickle, t
John Allsopp wrote:
> David Robley wrote:
>> John Allsopp wrote:
>>
>>
>>> Hi
>>>
>>> At the top of a webpage I have:
>>>
>>> >> include_once("furniture.php");
>>> $myFurniture = new furniture();
>
his may be obvious .. I don't program PHP every day
>
> Thanks in advance for your help :-)
>
> Cheers
> J
First guess is that your page doing the including doesn't have a filename
with a .php extension, and your server is set to only parse php in files
with a .php extensio
T
> if (mysql_affected_rows($result) == -1) { // warning2.
>
>
>
Oh for $deity's sake, haven't you yet learned to a) echo your query and b)
use mysql_error() as aids to debugging errors with mysql ???
Cheers
--
David Robley
Imagery is All In The Mind.
Tod
you click on "Support", the title should become
> "Newtuts Help". But instead, it just says "echo $title". Any more
> ideas?
>
>
>
> Austin Caudill
>
> --- On Fri, 6/12/09, David Robley wrote:
>
>
> From: David Robley
> Subject: [PHP] R
that line 803 is
$url = "http://'.$_SERVER['SERVER_NAME']''.$_SERVER['REQUEST_URI']'";
which is full of mismatched quotes :-) Try any of
$url = "http://{$_SERVER['SERVER_NAME']}{$_SERVER['REQUEST_URI']}";
$url =
and use emacs!
I'm sure someone once said that emacs would make a great operating system,
if only it had a decent editor :-)
Cheers
--
David Robley
I am Homer of Borg. Prepare to be... h donuts...
Today is Setting Orange, the 72nd day of Discord in the YOLD 3175.
--
PHP Ge
is an error in your image script there should be an
error message.
Cheers
--
David Robley
Oxymoron: Rap Music.
Today is Setting Orange, the 72nd day of Discord in the YOLD 3175.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
t;> >
>> > --
>> > PHP General Mailing List (http://www.php.net/)
>> > To unsubscribe, visit: http://www.php.net/unsub.php
>> >
>> >
>> check for a blank space above the >
> Or a trailing space after the ?> of any include files.
Or a byt
to other answers, don't forget to escape the string you are
passing to the query with mysql_real_escape_string(), otherwise your query
will have problems with some characters e.g. apostrophe.
Cheers
--
David Robley
"I refuse to make an agenda," Tom said listlessly.
Today is Pungenday, the 58th day of Chaos in the YOLD 3175.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Bastien Koert wrote:
> [snip]
>>
>>
>>
>> For example LIKE 'c' will only match a field that contains just 'c'
>>
>> LIKE '%c' will match a field starting with 'c' and containing any number
>> of characters
>&
n the exact string you pass to it.
For example LIKE 'c' will only match a field that contains just 'c'
LIKE '%c' will match a field starting with 'c' and containing any number of
characters
LIKE '%c%' will match a field containing 'c'
; and 'AdminLogin'* but passed them in urls
> }
>
>
> Is the above part not needed since the Session is already active? Should I
> be not using the header part (honestly I havent read up on that chapter
> yet)
Are you using session_start()?
Cheers
--
David Robley
execute my search script I get a 500 Internal Server
> error: IsapiModule / ExecuterequestHandler. I'm stumped! Any help please
> or pointers. Thanks Gary
The first thing when you get a 500 error, which is a server error not php,
is to check the server error log.
Cheers
--
David Robley
Th
ess-0.9.1" to install Cannot initialize
> 'uploadprogress', invalid or missing package file Package "uploadprogress"
> is not valid install failed
>
>
>
> $ pecl install uploadprogress-beta
>
> Cannot install, php_dir for channel "pecl.php.net&q
;re converting over on a C-64 1541
> drive.
>
What? They were cross platform? I recall copping Michaelangelo on Win 3.n
from some commercial software floppy. Not nice - it cleaned out the FAT or
something equally nasty. A reinstall was called for :-)
Cheers
--
David Robley
"I alread
Lupus Michaelis wrote:
> Daniel Brown a écrit :
>
>> You'd be surprised. The "For Dummies" series is one of the
>> best-selling franchises in mainstream publishing history.
>
>Best-selling are not a proof of quality.
>
Viz: Windows Version x
_format) ) / 86400);
>
> echo $days_until_Christmas . "";
> echo $days_until_Easter . "";
Have you tried incrementing the year value by one when you define
$next_[holiday]
Cheers
--
David Robley
He who always plows a straight furrow is in a rut.
Today is Setting
t an application and it will tell you what libraries are required to run
that application. Google will find it for you.
Cheers
--
David Robley
We now return you to your regularly scheduled flame-throwing
Today is Boomtime, the 25th day of The Aftermath in the YOLD 3174.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
1 - 100 of 1128 matches
Mail list logo