:
(cart_id in('1','34','21','34','54') OR id in('1','34','21','34','54'))
ANY idea how I can accomplish this?
Thanks all!
Aaron
Chris!
Thanks so much. This worked perfectly
Aaron
> -Original Message-
> From: Chris Boget [mailto:[EMAIL PROTECTED]
> Sent: March 19, 2004 10:59 AM
> To: Aaron Wolski; [EMAIL PROTECTED]
> Subject: Re: [PHP] confused about logic
>
> > To enter multiple orde
Thanks for the time John.
Chris's did the trick. I'll keep yours on hand in case I do happen to
run into problems.
I DO appreciate your help.
Thanks again!
Aaron
> -Original Message-
> From: John W. Holmes [mailto:[EMAIL PROTECTED]
> Sent: March 19, 2004 11:28 AM
Instead of us rambling off ideas and concepts, why don't you tell us
about the process and exactly what you are trying to accomplish first,
so we don't waste our of your time.
Aaron
> -Original Message-
> From: marc serra [mailto:[EMAIL PROTECTED]
> Sent: March 29,
k like they do.
You have to use URLs that make sense to THEM - not you.
Search engine marketing is another factor to usable URLs.
Just my thoughts.
Aaron
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
not be void of the design teamplte.
Not impossible, but more work in the short-term.
HTH
Aaron
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
' for inclusion
(include_path='.:/path/to/php/lib/php') in /path/to/index.php on line
386
Any ideas or suggetsions are greatly welcome. Thanks.
- ---
Aaron Axelsen
AIM: AAAK2
Email: [EMAIL PROTECTED]
Want reliable web hosting at affordable prices?
www.modevia.com
Web Dev/D
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Allow_url_fopen is turned on
- ---
Aaron Axelsen
AIM: AAAK2
Email: [EMAIL PROTECTED]
Want reliable web hosting at affordable prices?
www.modevia.com
Web Dev/Design Community/Zine
www.developercube.com
- -Original Message-
From
ers will too.
I don't think this thread is tired. As someone who is about to dive into
learning templating more than what I do now and with greater flexability
and success, I've enjoyed the banter between everyone about the merits
of Smarty and other templating engines.
I'll be
Hi Ryan,
This question would likely be best served at the following sites:
http://forums.cpanel.net
http://forums.servermatrix.com
www.webhostingtalk.com
Happy hunting :)
HTH
Aaron
> -Original Message-
> From: Ryan A [mailto:[EMAIL PROTECTED]
> Sent: April 8, 2004 3:2
PHP 5.0.2
Apache 1.3.31
RH Enterprise Linux 3 (Update 3)
Am I missing something?
--
Aaron Gould
Parts Canada - Web Developer
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
-based
PowerPC architecture? My primary concern is that it actually compiles
without trouble; all we have here now are x86 systems, so we can't test
this combination!
--
Aaron Gould
Parts Canada - Web Developer
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit:
series servers). My company wants to stick with it. I won't
complain too much though; as long as it's linux, I'm ok.
--
Aaron Gould
Parts Canada - Web Developer
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Is this what you are looking for:
/r/n?
Aaron
> -Original Message-
> From: Nunners [mailto:[EMAIL PROTECTED]
> Sent: October 29, 2004 11:52 AM
> To: [EMAIL PROTECTED]
> Subject: [PHP] Friday afternoon - being thick
>
> Hi All,
>
>
>
> I'm having
my Friday afternoon and tell me I'll need to dig into
regular expressions. :)
--
Aaron Gould
Parts Canada - Web Developer
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
hlighted_code = eregi_replace($oddsyntax[$i],''.$oddsyntax[$i].'',$code);
}
return $code;
}
Hi Bruno...
I tried your sample, but it doesn't seem to work. I do however see what
you're getting at.
Perhaps I need to experiment with the eregi_replace commands (or
yword
to be replaced (eg. preg_replace('\(\W|^)+('.$highlight[$i].')(\W|$)\i',
'$1$2$3') )
My regular expression skills are very basic, but I understand the gist
of your preg_replace statement. Now I just need to polish my regex
knowledge!
Thanks,
--
Aaron Gould
P
wondering if I could use one of them instead of the time from my server.
Thanks,
Aaron
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
to something else?
Same here; it takes the appropriate colour scheme based on file
extension. You can point to help files for languages though, I believe...
--
Aaron Gould
Parts Canada - Web Developer
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hey all,
How can I find out the path ImageMagick on my server the php is running
on?
Need it for a software and I don't know where to look. Phpinfo() tells
me nothing.
Thanks!
Aaron
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
HERE
IMAGE HERE
IMAGE HERE
IMAGE HERE
What I WANT is:
IMAGE HERE
IMAGE HERE
IMAGE HERE
IMAGE HERE
IMAGE HERE
ANY clue where I am going wrong?
Thanks so much.
Aaron
--
PHP General Mailing List (http://www.php.net/)
To unsubs
s);
//print_r($quotes);
//print_r($_SESSION['quotes'][$key]);
//$_SESSION['quotes'][$key] = array();
//$quotes = $_SESSION['quotes'][$key];
print "Session";
print_r($_SESSION['quotes'][$key]);
--
Aaron Axelsen
[EMAIL PROTECTED]
Great hosting, low prices. Modevia Web Services LLC -- http://www.modevia.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
;][$key]) i get
errors that say RECURSION and its almost like the arrays are making new
arrays instead of just storing them in the one session array. It is a
very odd problem. Does that make things any clearer?
Richard Lynch wrote:
Aaron Axelsen wrote:
We have the chunk of code at the botto
ESSION['quotes'] array... then you are
going to have recursion. It's not exactly an error, but it *is* a
recursive array that never ends because it keeps pointing to itself.
Hopefully this makes sense?
--
Aaron Axelsen
[EMAIL PROTECTED]
Great hosting, low prices. Modevi
Can someone help me out with a little bit of simple code please?
I know that the line in a file that I want to replace completely is
line number 9.
Is there a simple function I can use to replace that line?
Thanks,
Aaron
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit
The error I'm getting when running ./configure is this:
configure: error: libjpeg.(a|so) not found.
I know libjpeg is installed, I just installed it. Here is my ./configure:
./configure --with-mysql --with-apxs=/www/bin/apxs --with-xml
--enable-ftp --with-gd --enable-magic-quotes --with-jpeg-di
I found a thread a couple of weeks ago where someone had to create
symbolic links in order to get their install of PHP to work because
PHP wasn't able to find png.h.
I am having the same problem. I made no changes to the installation of
libpng, installed it in its default location and PHP cannot f
ror in doing this, but when I run
the script I get the number of $i instead of the value of $_GET['name1']
Like I said, I hope I explained this good enough for someone to know what I
am trying to do. If anyone has any suggestions or comments about doing
something like this please let
Just so there is no confusion...I mistyped the line:
$names = substr(strrchr($_SERVER['QUERY_STRING'],"&"),7,1);
It should be a 5 instead of a 7 at the end:
$names = substr(strrchr($_SERVER['QUERY_STRING'],"&"),5,1);
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: h
Moving the $i inside the bracket but not inside the single quote seem to
make things happy.
Thanks,
Aaron
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
know.
Thanks,
Aaron
Aaron Greenspan
President & CEO
Think Computer Corporation
http://www.thinkcomputer.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
f doing this, my hope is that
Lampshade will help prove that PHP is just as able as Java (and other
languages) in a commercial environment, if not more so.
If you have any questions or comments, please feel free to e-mail.
Thanks,
Aaron
Aaron Greenspan
President & CEO
Think Computer Corpo
/free.html
Aaron
Aaron Greenspan
President & CEO
Think Computer Corporation
http://www.thinkcomputer.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Bruce,
Do you mean to have a space before the word "password"?
Aaron
Aaron Greenspan
President & CEO
Think Computer Corporation
http://www.thinkcomputer.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
a bug, it's a serious one from my perspective, because it
means I turn off those restrictions entirely, which makes my entire
server less secure.
Thanks,
Aaron
Aaron Greenspan
President & CEO
Think Computer Corporation
http://www.thinkcomputer.com
--
PHP General Mailing List (http://w
I'd just say store the data in a flat file. You can always move it
outside of the web-accessible directory if you're worried about people
accessing it directly.
Alternately, you could just store the data in a PHP file and include it
in your scripts. Either way works, I think.
Aa
ftware/lampshade/documentation.html?function=dropdownBox
I'd be happy to help you get it set up if you have any questions.
Aaron
Aaron Greenspan
President & CEO
Think Computer Corporation
http://www.thinkcomputer.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
n... Use Lampshade. It's so much easier! You can do this all
in three lines of code: two to set up your choices for the form element,
and one to draw the element itself.
http://www.thinkcomputer.com/software/lampshade
I'd be glad to help you with it if you have any questions.
Best o
o you can see how it
works.
http://www.thinkcomputer.com/software/lampshade
Or more specifically for forms...
http://www.thinkcomputer.com/software/lampshade/documentation.html?function=form
Aaron
Aaron Greenspan
President & CEO
Think Computer Corporation
http://www.thinkcomputer.co
omputer.com/software/lampshade/index.html
All you have to do is include the Lampshade files, set up a $table array
in your page, and then call the table() function. You can integrate it
with your current stylesheets, too.
Let me know if you have any other questions.
Aaron
Aaron Greenspan
P
I have an array of strings in which I am passing to imagettfbbox() in order
to calculate the height of the text box for each string. I am then
subtracting the height from the y position in order to deviate the pivot
point form the top left corner to the bottom left corner when I used
imagettft
ation.
Aaron
Aaron Greenspan
President & CEO
Think Computer Corporation
http://www.thinkcomputer.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
king about), and the fourth is the label that shows up on the form on
the user's screen.
You should try it out, and I'd be happy to help you get set up.
http://www.thinkcomputer.com/software/lampshade/index.html
Aaron
Aaron Greenspan
President & CEO
Think Computer Corporation
htt
images are
GIF files.
Can you do that with .htaccess?
Thanks,
Aaron
Aaron Greenspan
President & CEO
Think Computer Corporation
http://www.thinkcomputer.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Also, Mambo's political machinations are a good example of
what you don't want to see in a commercial-grade product.
If you want to keep searching, I suppose no one's going to stop you. I'm
just afraid it's not out there. Anyone, correct me if I'm wrong.
B
Office).
I'm sure it's not out of reach to write this from scratch, but if I
don't need to...
--
Aaron Gould
Programmer/Systems Administrator
PARTS CANADA
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
le');
textdomain('messages');
I don't do the "putenv" line that you have, so I'm not sure if it's
necessary...
--
Aaron Gould
Programmer/Systems Administrator
PARTS CANADA
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hi everyone,
Just thought you might like to know that Lampshade, our previously
closed PHP framework, is now open-source:
http://www.thinkcomputer.com/corporate/news/pressreleases.html?id=24
Aaron
Aaron Greenspan
President & CEO
Think Computer Corporation
http://www.thinkcomputer
, but everyone seems to have a different way.
What is the best way to accomplish this?
- --
Aaron Axelsen
[EMAIL PROTECTED]
Great hosting, low prices. Modevia Web Services LLC --
http://www.modevia.com
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.2 (MingW32)
Comment: Using GnuPG with Mozilla -
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
I have been successful in getting apache to use the cert for .htaccess
authentication. But i'm not seeing a clear way on how to make this
happen with php. Can anyone offer any suggestions?
- --
Aaron Axelsen
[EMAIL PROTECTED]
Great hosting
n work with and modify.
Good luck with your search!
Aaron
Aaron Greenspan
President & CEO
Think Computer Corporation
http://www.thinkcomputer.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
I have found that using the header function doesn't actually redirect the
page, it pulls the content into the page that the function is called from
(which works good for somethings, but can get confusing with post variables
and such). Its been my experience that meta tags work better.
Aaro
My experience was with the Location keyword, it might work better with the
Redirect keyword in the header function. I stopped using header and Location
after a few problems and has never failed for me. MHO.
Aaron
On 12/9/05, Michael Hulse <[EMAIL PROTECTED]> wrote:
>
> On Dec 9, 20
I wasn't aware you could use = instead of echo (). Try making an even simpler HTML/PHP example and see if the problem
exists there. Then you can incrementally build your HTML/PHP back up to the
point where it is breaking. Example:
Aaron
On 12/15/05, Sabine &l
Ganu,
Are you simply looking to use the md5 string for authentication? If so you
don't need to retrieve the decrypted version, simply encrypt what the user
submits and compare the two md5 strings.
Aaron
On 12/15/05, Chris Shiflett <[EMAIL PROTECTED]> wrote:
>
> ganu wrote:
>
blue
Aaron
On 12/15/05, Sabine <[EMAIL PROTECTED]> wrote:
>
> Hi Aaron,
> thanks for your answer. The HTML elements, which "represent" arrays are
> causing problems.
> I just added
>
> />red
> />blue
>
>
&
ush($imageArr,$tmpImg);
}
// You now have an array called imageArr with 10 elements/images in it.
Aaron
On 12/15/05, Mike Rondeau <[EMAIL PROTECTED]> wrote:
>
> Hi,
>
> I'm still very green with PHP, but am working to fix that.
>
> I've searched high and low for an an
earer to understand and maintain. IMHO.
There are lots of sites out there that describe how to separate web code
into layers such as: display, logic/rules, database interactivity, etc.
Aaron
On 12/15/05, Martin Leduc <[EMAIL PROTECTED]> wrote:
>
> Hi everyones,
>
> I coding PHP
Generally, scope is fairly loose in PHP. If $row is set by
mysql_fetch_array(...) it should carry throughout your script as it is,
unless modified. Try commenting out non-relavant pieces of the code and
var_dump(...)ing the $row variable at the start and throughout the script.
Aaron
On 1/5/06
Why not send us the Call and the Function for arguments sake (pun intended).
Aaron
On 1/6/06, enediel gonzalez <[EMAIL PROTECTED]> wrote:
>
> Hello
> I've a function with 6 arguments that works properly.
>
> Trying to add a 7th argument an being sure that calling the fu
"exception, final, php_user_filter, interface, implements, extends, public,
private, protected, abstract, clone, try, catch, throw" where not introduced
until PHP 5 (http://ca3.php.net/reserved).
Therefore, var is the only way to define member variables prior to PHP 5.
Aaron
On 1/11
= new Loc();
$loc->map->publicMapFunction();
Aaron
--
On 1/12/06, jonathan <[EMAIL PROTECTED]> wrote:
>
> I have a class which creates another class within it such as:
>
> class Loc{
>
> public function outp
Try simplifying the problem to determine the error point. For example don't
involve $_POST just try setting a cookie with hard coded variables. If that
works then add in the $_POST and test for BOTH $_POST['prefs'] and
$_POST['filter'].
Example of simplification:
Aaron
Please attempt to search www.php.net first for this information.
A search for 'file uploads' reveals what you want:
http://ca.php.net/features.file-upload
Aaron
On 1/16/06, suresh kumar <[EMAIL PROTECTED]> wrote:
>
> hi,
> i dont know exact PHP code fo
I'm at the end of my rope here...
I have a 100,000+ line file containing IP addresses. For each line, I need
to run a "gethostbyaddr" command. However, some lines take a long time to
timeout. Is there a way I can decrease this timeout period to one or two
seconds?
Thanks!!
why doesn't this work?
$parentClass = get_parent_class($this);
parent::{$parentClass}();
I get a parse error. can I not use variable functions with the "::" syntax?
I tried eval() and it loses the context.
thanks for the help!
-aaron
--
PHP General Mailing List (http://w
ok, I == dumb. this works:
$parentClass = get_parent_class($this);
eval("$parentClass::$parentClass();");
still, I think I should be able to do what I wrote below.
-aaron
At 8:05 PM -0800 2/6/01, Aaron Tuller wrote:
>why doesn't this work?
>
>$parentClass = get_pare
At 12:13 PM +0100 2/7/01, Christian Reiniger wrote:
>On Wednesday 07 February 2001 05:14, Aaron Tuller wrote:
> > $parentClass = get_parent_class($this);
>> eval("$parentClass::$parentClass();");
>>
>> still, I think I should be able to do what I wrote be
;Location: $transport://".$SERVER_NAME.$REQUEST_URI;
header($newURL);
exit();
}
and then do a:
if (!UsingHTTPS())
{
ChangeTansport("https");
}
-aaron
At 4:29 PM -0800 2/1/01, Michael Conley wrote:
>I have several PHP files that I only want users to be ab
HP in apache?
Thanks,
-Aaron
===
As Isaac Newton would say now:
If I see further than others, it is because I stand on
the shoulders of giants too dumb to patent their discoveries.
(Gregory Palast,
er_error, but that just displayed a nice
error message.
Anyone have any other ideas? I've thought about generating a 302 in the
http-headers and using the Location: parameter to send them someplace else
(like how mod_rewrite does redirection) but I can't seem to get it to
work.
Thanks.
he abilities of many winblows users.
- --
Aaron Turner <[EMAIL PROTECTED]|synfin.net|linuxkb.org> URI:www.synfin.net
They that can give up essential liberty to obtain a little temporary safety
deserve neither liberty nor safety. -- Benjamin Franklin
pub 1024D/F86EDAE6 Sig: 3167 CCD6 6081 0FFC
g List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Aaron VonderHaar
([EMAIL PROTECTED])
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
n,"","/","mydomain.com");
Should be:
setcookie("mycookie[1]", $domain, 0, "/", "mydomain.com");
the expire time is an integer, not a string.
- --
Aaron Turner <[EMAIL PROTECTED]|synfin.net|linuxkb.org> URI:www.synfin.net
They that can gi
didn't make a difference. I
> printed the var right after the set and it returns null.
>
> setcookie("cbcookie1",$domain,0,"/","mydomain.com");
> $domain = $HTTP_COOKIE_VARS["cbcookie1"];
> echo "domain(
the http header
generation process for any content (not just other PHP scripts)? Are
there any other modules other than mod_layout that can do this? I know I
can do this with mod_perl, but it's a lot more memory intensive than PHP
so I'd like to avoid it if possible.
Thanks.
- --
Aaron
[tmp_name] =>none
[size] => 0
)
I've set my php.ini with: upload_tmp_dir = /tmp
and nothing gets put in there (I've verified that the dir has world r/w w/
suid).
Any ideas of how to debug this futher?
-
with the
temporary file that isn't created/stored. More specifically,
HTTP_POST_FILES[userfile][tmp_name] is set to 'none' when it should be
something like /tmp/abc123 and the size is 0.
- --
Aaron Turner <[EMAIL PROTECTED]|synfin.net|linuxkb.org> URI:www.synfin.net
Th
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On Tue, 13 Feb 2001, jason cox wrote:
> Aaron,
>
> Are you processing the file on the page you're
> "posting" to?
Yep. A little more info this time. Ok this makes no freaking sense to
me:
I can upload my /etc/pa
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Ah, figured out the problem. MAX_FILE_SIZE is in BYTES not
Kilobytes. Any file >5K was killed.
- --
Aaron Turner <[EMAIL PROTECTED]|synfin.net|linuxkb.org> URI:www.synfin.net
They that can give up essential liberty to obtain a little
ting
scripts for my HSC Course.
See Ya,
Boz
PC's Rule!
Quote: "The brain can understand everything, but itself", Aaron Boeren,
2002
*N**E***R**D***
Webpage: http://au.geocities.com/bozthepcnerd
Webpage: http://zeus.as.edu.au/~a
reporting()
> www.php.net/error_reporting
There was nothing there that would really help it. Thanks any way
> ---John Holmes...
See Ya,
Boz
PC's Rule!
Quote: "The brain can understand everything, but itself", Aaron Boeren, 2002
*N**E***R**D
301 - 382 of 382 matches
Mail list logo