roductcode
You could do it via 2 selects (ie, the first query simply lists all items in
PRODUCT, then within this loop, a second query lists all entries in IMAGES
which have the productcode, with a "limit 1" in the query.
Personally, I'd go with the Group By option, and be clever
I know I've been away from this list for years and have missed the several
reincarnations of this thread over time, but has anyone ever used a kickass
little program called Notepad2?
I discovered this about 2 years ago and it's the most brilliant little
application I've ever found. Sure, it doesn'
flame
button).
Let it die already. There's more important things to waste bandwidth on...
like discussing ... I dunno who's hotter... Oprah Winfrey or Roseanne?
Regards
Chris Aitken
The Web Hub Designer and Programmer
Phone : 02 4648 0808
Mobile
0
Date: Wed, 04 Jul 2007 10:11:39 ?1000
--
Note the above how it puts the correct +1000 on the internal header, but the
one that becomes more of an external (or visible) header, has the ?1000
Regards
Chris Aitken
The Web Hub Designer and Programmer
Pho
n KNOW they have a printscreen button just like
most typical users don't know there is ANOTHER kind of browser :)
Regards
Chris Aitken
The Web Hub Designer and Programmer
Phone : 02 4648 0808
Mobile : 0411 132 075
--
;header("Expires: Mon, 26 Jul 1997 05:00:00 GMT"); // Date in the past
>?>
>
But wouldn't that make every image on the page be uncached and reloaded each
time? Not very efficient if the shell of the site keeps getting loaded if
only 1 or 2 images need to be forced.
Re
rrect timestamp) and the *nix mail filter I came across
reported it as being a bad header.
Regards
Chris Aitken
The Web Hub Designer and Programmer
Phone : 02 4648 0808
Mobile : 0411 132 075
-
Making The Web Work Th
the U variable pretty much guarantees a random string each
time its loaded.
image.jpg?".date("U")."
Regards
Chris Aitken
The Web Hub Designer and Programmer
Phone : 02 4648 0808
Mobile : 0411 132 075
-
this particular server. I have other hosting accounts on other windows and
linux PHP boxes which do not have this issue. Just one this one server.
Regards
Chris Aitken
The Web Hub Designer and Programmer
Phone : 02 4648 0808
Mobile
mething wasn't valid.
Any help will be appreciated.
Regards
Chris Aitken
The Web Hub Designer and Programmer
Phone : 02 4648 0808
Mobile : 0411 132 075
-
Making The Web Work The Web Hub
<http://www.thewebhub.com.au/>
Hi all,
I have recently upgraded to apache2 on my FreeBSD 4.6 box, and the upgrade
worked well, the daemon was running and serving pages etc. So I installed
the latest PHP build in my ports tree (4.2.3) and it compiled no problems,
but when I added the required lines into my httpd.conf to make
Hi,
I have just upgraded my system (FreeBSD4.4 box with Apache/PHP/MySQL) and I
want to use GD2.0.1 with PHP.
I have installed GD 2.0.1 from /usr/ports onto the system so the package is
actually there, but I have no idea how to compile GD2 ability into PHP. If
anyone can lend some assistance
Hi,
Something ive been trying to find out but cant seem to get the wording
right to find the answers in the archives.
What I have is a mysql database, and in that DB I have a field which is
just a 'text' field. What I want to be able to do is write whatever text
is typed from the webforms textar
cannot seem to get to the actual GD site so im not sure whats up there,
but has anyone else installed GD 2 and if so, any suggestions on whats the
best way to go about it would be appreciated.
Cheers
Chris
--
Chris Aitken - Administration/Database Designer - IDEAL Internet
email: [EMAIL
"123456abc"
how would I check either string with an IF statement and make it continue
on string 1 (ie, all numbers) and error on string 2 (not all numbers).
Any suggestions ?
Thanks
Chris
--
Chris Aitken - Administration/Database Designer - IDEAL Internet
email: [EMAIL PROT
perl script). Once I have the body
of the email as a variable, I can do all my parsing and extracting etc to
do with it as I need, but im baffled on where to start looking to get this
done.
Any help would be greatly appreciated.
Cheers
Chris
Chris Aitken - Administration/Database
ect script
back to the browser when its called.
Any suggestions ?
Thanks
Chris
--
Chris Aitken - Administration/Database Designer - IDEAL Internet
email: [EMAIL PROTECTED] phone: +61 2 4628 fax: +61 2
know how to go about waiting for some form of output in
FreeBSD, when it happens fire off a script.
I dont know if what im talking about makes sense, or is even doable, but if
anyone has any ideas or suggestions it'd be appreciated.
Thanks
Chris
--
Chris Aitken - Administratio
seems synonymous with a
function not being in an included file anywhere, or having a typo in the
function name defined.
Chris
--
Chris Aitken - Administration/Database Designer - IDEAL Internet
email: [EMAIL PROTECTED] phone: +61 2 4628 fax
price to add PHP and MySQL access to his current www/cgi-bin/logs website.
I wont mention the prices hes been quoted yet because I want to see some
uninfluenced posts.
Cheers in advance.
Chris
--
Chris Aitken - Administration/Database Designer - IDEAL Internet
email: [EMAIL PROTECTED
?
Thanks
Chris
--
Chris Aitken - Administration/Database Designer - IDEAL Internet
email: [EMAIL PROTECTED] phone: +61 2 4628 fax: +61 2 4628 8890
__-__
*** Big Brother ***
It just shows that the dull will
header("Location: http://www.blah.com/foo.php?search=$search";);
then it brings it up properly in the browser.
Any suggestions ?
Cheers
Chris
--
Chris Aitken - Administration/Database Designer - IDEAL Internet
email: [EMAIL PROTECTED] phone: +61
Chris
--
Chris Aitken - Administration/Database Designer - IDEAL Internet
email: [EMAIL PROTECTED] phone: +61 2 4628 fax: +61 2 4628 8890
__-__
*** Big Brother ***
It just shows that the dull will rule the
imlib2 into PHP.
Im trying the way the (very small) INSTALL file says that comes with
php_imlib but doesnt seem to want to make it work.
Any help would be greatly appreciated.
Chris
--
Chris Aitken - Administration/Database Designer - IDEAL Internet
email: [EMAIL PROTECTED] phone
or the compile of php.
Chris
--
Chris Aitken - Administration/Database Designer - IDEAL Internet
email: [EMAIL PROTECTED] phone: +61 2 4628 fax: +61 2 4628 8890
__-__
*** Big Brother ***
It just shows th
as the path to Imlib2 here.
Im installing it on a FreeBSD 4.3 box, with apache 1.3.20
can anyone point me in the right direction ?
Thanks
Chris
--
Chris Aitken - Administration/Database Designer - IDEAL Internet
email: [EMAIL PROTECTED] phone: +61 2 4628 fax: +61 2 4628 8890
run)
$title="Banana";
$value="Yellow";
$size1="10";
$size2="20";
etc. The function may have any number of entries (1 onwards) etc. I have
played with foreach() and other variants, but I just cant seem to find the
right combo of code to get it working.
A
ideas they might be able to throw at me so I can
make this a more simple method.
Thanks
Chris
--
Chris Aitken - Administration/Database Designer - IDEAL Internet
email: [EMAIL PROTECTED] phone: +61 2 4628 fax: +61 2
popularity, monthly income etc etc.
Just doing some research and figured you guys are the best place to get
some info.
Cheers
Chris
--
Chris Aitken - Administration/Database Designer - IDEAL Internet
email: [EMAIL PROTECTED] phone: +61 2 4628 fax: +61 2 4628 8890
see if anyone else has had any success (without changing to a different
method of auth :)
Cheers
Chris
Chris Aitken - Webmaster/Database Designer - IDEAL Internet
email: [EMAIL PROTECTED] phone: +61 2 4628 fax: +61 2 4628 8890
At 01:57 PM 6/06/2001, you wrote:
>Hi all,
>
>I have three tables in my (mysql) database:
>
>videos - ID, title, description, etc..
>links - ID, videoID, actorID
>actors - ID, name, dateofbirth, gender, etc...
>
>what i need to do is return a particular video and all it's staring actors
>with just
which tells the time in plain engligh (It's almost half past eight)
etc. But im looking for some other bizarre things which really dont do much
except entertain and make people wonder "but why ?" :)
Cheers
Chris
--
Chris Aitken - Webmaster/Database Designer - IDEAL
webexplorer that it isnt a viable option.
Any suggestions ?
Chris
--
Chris Aitken - Webmaster/Database Designer - IDEAL Internet
email: [EMAIL PROTECTED] phone: +61 2 4628 fax: +61 2 4628 8890
Unix -- because a
system has already been written doing this.
Cheers
Chris
--
Chris Aitken - Webmaster/Database Designer - IDEAL Internet
email: [EMAIL PROTECTED] phone: +61 2 4628 fax: +61 2 4628 8890
Unix -- because a computer
, or
simulate a click to a link which is on the page.
Im not confident of a "yes" response, but I figured I would ask just incase.
Cheers
Chris
--
Chris Aitken - Webmaster/Database Designer - IDEAL Internet
email: [EMAIL PROTECTED] phone: +61 2 4628 fax: +61 2
here at work and I know
everyone has the same system/software/setup or b) where its only an
enhancement and it wont affect the usability of the system if its not
there. Ill always try and use PHP and server side solutions before
resorting to client side solutions
Chris.
--
Chris Ait
tem will work, but the header() function works better.
Surely its better to write your code trying not to exclude any user if at
all possible.
Chris
--
Chris Aitken - Webmaster/Database Designer - IDEAL Internet
email: [EMAIL PROTECTED] phone: +61 2 46
Hi
Just a quick puzzle I cant seem to get around at the moment...
Im trying to create a loop that increments the string name by a digit. For
example, if I had the following 4 strings submitted to a script.
$name1
$name2
$name3
$name4
What I want to do is create a while loop that will prin
need to add to my cron entry, or do I need to force
some sort of death via the php script ?
Thanks
Chris
--
Chris Aitken - Webmaster/Database Designer - IDEAL Internet
email: [EMAIL PROTECTED] phone: +61 2 4628 fax: +61 2 4628 8890
so
much easier if I could do it.
Thanks
Chris
--
Chris Aitken - Webmaster/Database Designer - IDEAL Internet
email: [EMAIL PROTECTED] phone: +61 2 4628 fax: +61 2 4628 8890
Unix -- because a computer's a terrib
each line into a table (Mysql DB) that had 6 fields
(5 for each of the above plus an autoincremented ID field
stock_id
stock_name
stock_desc
stock_length
stock_qty
stock_price
Any suggestions and direction pointing will be greatly appreciated.
--
Chris Aitken - Webmaster/Database
On Fri, 13 Apr 2001, Rasmus Lerdorf wrote:
>If a function has not been defined to take optional arguments, then you
>*must* provide these arguments when you call the function. The fact that
>previous versions of PHP incorrectly let you do this was at best an
>undocumented misfeature, but more li
On Fri, 13 Apr 2001, Hardy Merrill wrote:
>I found the same problem - when we upgraded to PHP4, function calls
>that used to work and NOT provide all the parameters, started failing.
>
>The way I fixed it was to give each parameter a default value *IN*
>the function definition, like:
>
>function
On Fri, 13 Apr 2001, Chris Aitken wrote:
>---
>
>Warning: Missing argument 2 for stripe() in /location/to/included/file.php on line 257
>Warning: Missing argument 3 for stripe() in /location/to/included/file.php
Hi All,
Ive just run into some bizarre problem. I upgraded to a more recent
version of PHP and have run into some bizarre problem.
We were running version 4.0bsomething on a FreeBSD box with Apache and ive
just installed 4.0.3pl1 and ive managed to get pretty much everything
working, except for
problem, but a
regular user may not have this ability to change it.
Chris
--
Chris Aitken - Webmaster/Database Designer - IDEAL Internet
email: [EMAIL PROTECTED] phone: +61 2 4628 fax: +61 2 4628 8890
Unix -- because
ings like ALT tags, I use \" because spaces are required in the
value of the ALT tag.
Chris
--
Chris Aitken - Webmaster/Database Designer - IDEAL Internet
email: [EMAIL PROTECTED] phone: +61 2 4628 fax: +61 2 4628 8890
--
At 06:31 PM 27/02/2001, Jaxon wrote:
>Hi all,
>
>Can anyone tell me why I¹m getting an unhelpful error when trying to pull up
>a file?
>
>The index.php I¹m calling is including a functions file functions.inc.php
>
>I¹m getting a parse error on line 144 but functions.inc.php only has 143
>lines
At 12:26 AM 27/02/2001, Sander Pilon wrote:
>The request for a password is usually generated by a 401 header. Just do
>this -
>
>Header("WWW-authenticate: basic realm=\"Some realm\"");
>Header("HTTP/1.1 401 Unauthorized");
>exit;
>
>That should pop up a box. Just make sure you check the values of
Now im even getting more confused. Ive been doing some more research into
the subject, and cant seem to find any answers.
All of the PHP documentation about headers() talks about auth via PHP, but
doesnt mention anything about htaccess as the auth system.
On my main.php screen, this is where t
e to start looking cause I have a
feeling im off the track on what im searching for in TFM and in TFA.
Chris
--
Chris Aitken - Webmaster/Database Designer - IDEAL Internet
email: [EMAIL PROTECTED] phone: +61 2 4628 fax: +61 2
Okay, im a little stumped. I have been asked to use a formula which
calculates Monthly Repayments on a mortgage loan. The formula I have been
given is
M = P * ( J / (1 - (1 + J) ** -N))
My problem is, the last part. It explains it in english as "then take that
to the -N (minus N) power"
My p
--
Chris Aitken - Webmaster/Database Designer - IDEAL Internet
email: [EMAIL PROTECTED] phone: +61 2 4628 fax: +61 2 4628 8890
Unix -- because a computer's a terrible thing to waste!
--
PHP General Mailing
I just relieving myself into the wind ?
Thanks
Chris
--
Chris Aitken - Webmaster/Database Designer - IDEAL Internet
email: [EMAIL PROTECTED] phone: +61 2 4628 fax: +61 2 4628 8890
Unix -- because a computer
Hi all,
Ive just been asked whether I can do the following task.
When a block of text is submitted via a web form, for it to be checked for
offensive words, and rejected if there is.
So I put my brain hard to work and came up with a possibly solution. I know
this method should work but im
At 06:47 PM 18/01/2001, you wrote:
>What I'd like an editor to do for me is help out with how the page looks.
>One I set up a page that looks half-way decent - even if I use stock
>templates or style sheets - I can always plop the code in later by hand and
>that's no biggie. It's just that initia
I have a bit of a question which ive tried to look into, but I cant seem to
find the right commands to check into or what the best method of attack it.
Basically, I want to grab a URLs data, make the data a string (which im
doing with fopen and fread).
But now I have the entire html as a strin
At 10:36 PM 17/01/2001, you wrote:
>Hey Guys,
>
>I wonder if anyone can shed light...
>I have a system that internal users access -
>
>I have separated access levels into 1, 2, 3 etc. So if you have access 1
>you can view certain things - If you are 2 then you can view more or other
>things.
>
>H
At 09:06 PM 16/01/2001, Kath wrote:
>Hey,
>
>To get Frontpage to recognize PHP files (at least to let you edit them), do
>the following (I'm assuming FP2000):
>
>1 - Open FP
>2 - Click on Tools
>3 - Click on Options
>4 - Click on the Configure Editors tab
>5 - Hit Add
>6 - Make file type "php"
>7
59 matches
Mail list logo