Hi Ryan,
I've used osCommerce as a catalog before, but it's a bit of a pain to
customize. ZenCart is supposed to be easier, but I haven't tried it yet.
For the last project I did of this kind, I wrote my own catalog script
and I feel a lot more comfortable with that.
I do realize that it'll req
John Holmes wrote:
I'm using this at the end of a script
echo ''; var_dump(get_defined_vars()); echo '';
but it only returns what get_defined_vars gives, which is what's
available in the current scope. Is there any way to get also the vars
used in functions that weren't globalized?
No, not unles
Hi!
I'm using this at the end of a script
echo ''; var_dump(get_defined_vars()); echo '';
but it only returns what get_defined_vars gives, which is what's
available in the current scope. Is there any way to get also the vars
used in functions that weren't globalized?
TIA!
Crisitan Lavaque
--
PHP
Jason Paschal wrote:
i'd like to be able to strip only one type of HTML tag from a web
document (), but to do that with strip_tags(), i'd have to predict
every possible HTML tag that might be used, except for the one i want to
strip, and put those in the allowable tags parameter.
That's why I w
Terence wrote:
Hi,
Say you have a querystring - index.php?myname=joe
To determine whether myname has a value I have come to the following
conclusions / shortcomings when using one of the following:
ISSET = as long as the variable myname exists it's set, but there's no
guarantee of a value
!EMPT
Jason Barnett wrote:
Well you could put all of your function definitions into a separate
file. Then, just include the function file before you loop through the
code that uses the functions. Or as an alternative you could also do:
But this really isn't a good idea. Try to put the function def
Hello,
I have a script I am optimizing and want to compare the before and after
in speed. So I wrote a few lines to loop this script but I have a
problem. In the script I'm optimizing there's some function definitions
and when the script starts the second iteration it throws an error
because th
[EMAIL PROTECTED] wrote:
Hi,
i'm designing a web application and i want to protect my web page from
printing and if possible want to protect source code too.
Do you know any solution that can help me. I've find an application named
HTML guard but it only work for static html pages. I need more a
and to keep the indent
if the line wraps, instead of going back all the way to the left. So I'm
putting the spaces in a and the code line in another , with a
table for each line. I tested it and looks very well, now I'm writting
the code to generate it.
Thank you all for your help! :)
Anguz
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
7;mode']!='news'))
// Do stuff.
I may be wrong though. Note that I used AND instead of OR for the
conditions, because you want them all true at the same time. But then
again, you'd have to test it, with so many conditions it becomes a bit
difficult to picture it in my head :P
HIH,
Anguz
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
d1
[2] => word2
[3] => word3.
)
In [0] the spaces aren't there and it's splitting the other spaces too,
where I need to only split the leading spaces. How should I write it?
TIA,
Anguz
Kemper, Helmut wrote:
> Hi,
>
> See preg_explite and use "/(\
d the quotes to notice the space.
[1] => Hello.
)
)
TIA!
Anguz
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
ink you have to enable accept path info in Apache 2, it's on in 1 by
default. I'm not sure exactly what the command is, but you can search
based on that. It's probably "AcceptPathInfo ON".
Anguz
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
[snip]
Jay Blanchard wrote:
It might, have you experimented with any code?
[/snip]
Haven't yet, although I plan to. I wanted to check with more knowledged
people than I first in case this was an already known thing :)
Anguz
--
PHP General Mailing List (http://www.php.net/)
To unsubs
point. I don't want to define functions I won't use, so I'd like to know
if it actually helps performance-wise to bother doing it this way ;)
Anguz
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
le php file will be parsed, or does the parser
skip the whole block inside the if when the condition is not met? But
even if it is parsed, if the condition is not met, I believe that the
function won't be defined, so I assume this would at least save RAM or
something, right? Or not at all?
hem making them
conditional. Would this benefit the script? How? TIA.
Anguz
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hi,
I wrote a code to change the urls in my forum, to a new format. I
did it with output buffering and inside it, I used
preg_replace_callback, which worked great for me. But I shared
this code with the forum program community and there's a person
that can't make it work. He says his Apache gets c
18 matches
Mail list logo