can only create one document and I can't find how to manage URLS
to other documents with the same template
I wish I could get help on this!
Rergards:
Gerry Figueroa
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EM
o be able to learn how to load everything from a script
and how to call the script with a URL to the directory.
eg.
http://mysite.com/Yarns/"> Yarns
Right! I can see this would not work, because I'm missing some things.
Don't worry if you got it wrong, I don't know if you d
Could you suggest a function for displaying decimal zeros.
For example I have this:
$num = "2.00";
$num2 = "3.00";
$result = $num + $num2;
echo "$result";
I get "5" but not "5.00"
Anyone outhere?
Thanks in advance!
Gerry Figueroa
--
g the
function inside of "A". How can I call file.B from different files and
have it accept the variable $selected from such files?
Thaks in advance:
Gerry Figueroa
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands,
I got it, I think:
and this at the beginning of file "B"
$selected == "$selected";
and placed this statement in file "A"
if (isset($selected[$cat]))
{
include ("cat_select.php");
}
I don't know why it works but it does, is there anything wrong
you do a lot
more than just PHP related development.
Could someone point me in the right direction please, maybe a site or
mailgroup where I could ask about this?
Thanks in advance and sorry for the inconvenience!
Gerry
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [
on";
echo"";
as you can see I end up with a select menu with this "green, blue, red"
as the only option.
is there a way I can tell php3 to break it down at "," so I can actually
have a drop down menu
Thanks ahead:
Gerry Figueroa
--
quot;POST\">";
$Colors = $row["Color"];
$options = explode(",", $Colors);
while (list(,$Color) = each($options)){
$option .= "$Color\n";
}
echo"";
echo "$option";
echo"";
echo"";
echo"
> It's usually a
Well I messed up... I forgot to add the final ";} at the bottom of my
sample code but here it is. sorry!
Gerry wrote:
>
> This worked!
> But, I get this color selection increment on each subsequent menu where
> the colors from the row above mix with the ones below and so on.
the use of this.
this is the code:
$fn = "directory/images/$id.gif";
if (!file_exists($fn)) {
echo "no image";
} else {
echo"";
clearstatcache();
}
Could anyone that sees what's wrong with this drop me a line?
Thanks in advance:
--
Gerry Fig
Hello again:
Ben Peter wrote:
>
> Gerry,
>
> could you give us a bit more code, esp. the while or for loop that
> surrounds the code you have quoted?
>
> Cheers,
> Ben
Sorry for the confusion, and yes I did mispelled camera in english. Here
is more of my sloppy cod
FISH where ID LIKE '%$search_text%'
OR name LIKE '%$search_text%' OR Category LIKE '%$search_text%' OR Color
LIKE '%$search_text%' OR Size LIKE '%$search_text%'";
}
Any feedback would be a preciated.
--
Gerry Figueroa
-- - - -
I'm looking for something exactly like phpmyedit (mysql database
displayer/editor) but where I can edit more than one database row at a
time. Is there anything like this?
Thanks,
Gerry
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For addit
Oh, something lightweight. I'm using phpmyadmin too for database admin,
but I need something for inexpericed users to edit specific parts of the
database.
Thanks
Gerry
On 17 Jan 2001 10:55:50 +0100, Alain Fontaine wrote:
> Hi,
>
> Speaking of dbtools, I don't know what is
tion here.
TIA,
Gerry
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]
I forgot to also ask, how many are using templates, and if so, are you
using a template framework:
a) PHPLib
b) Smarty
c) other?
Gerry
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the
data, logic and presentation which can be
easier to design, develop and maintain.
Your thoughts?
Thanks,
Gerry Kirk
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators,
duplicate responses. Also, it seems using published templates and code
libraries is not that popular, i.e. most people are writing their own code
from scratch.
Gerry
I need PHP to find out if a jpeg file uses progressive encoding. None
of the standard exif or image functions seem to be able to tell me
that. (please correct me if I'm wrong)
Can anybody help me?
TIA
Gerry
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit:
Richard,
imageinterlace() turns the interlace bit on or off. It only returns 1
if you set it to 1 as the second parameter...
Thanks
Gerry
On 1/24/07, Richard Lynch <[EMAIL PROTECTED]> wrote:
On Wed, January 24, 2007 12:08 am, Gerry Danen wrote:
>> One other possibility is to see
ans the code authors cannot determine what the state of
the file is, and are not returning a state they cannot determine.
Gerry
On 1/25/07, Richard Lynch <[EMAIL PROTECTED]> wrote:
Re-read the docs more carefully.
The second arg is optional, and it returns the PRIOR state of the
inter
key === FALSE )
$n = $c;
else
{
$n = $fruit[$key]; // how to get the value???
}
the array_search works ok, but how do I get the value?
all I get back is 'a' or 'b', not 'apple
Perhaps it's more a UTF8 issue that is going wrong for me.
At first strtr() was not giving me the results I wanted, so I started
tinkering. This is what I came up with... Still no satisfactory
results.
I think character support is rather lacking in php, or maybe I just
don't have a cl
Mike,
See entire function under topic "Array question - maybe UTF?"...
I am trying to change accented characters to their equivalent without accents.
And yes, the arrays look fine after var_dump()...
Gerry
On 2/27/07, Ford, Mike <[EMAIL PROTECTED]> wrote:
On 27 February 200
just weather in
Chicago.
Having said that, I like your idea.
Gerry
On 8/12/06, Richard Lynch <[EMAIL PROTECTED]> wrote:
It may have started as a joke on PHP-General, but this just isn't
funny anymore.
I'm in the pre-planning phase of organizing a PHP Conference in Chicago.
D
My implementation of captcha eliminated chinese spam.
See http://www.lilyregister.com/page/?p=contact
Gerry
On 8/9/06, Micky Hulse <[EMAIL PROTECTED]> wrote:
Hi,
Recently, a client of mine was getting a ton of spam email from a site
called hotbox.com. I updated her form to one with mor
They're not Jap but Chi. And they drove me crazy on my websites until
I fixed them.
http://www.lilyregister.com/page/?p=contact is what stopped the idiots.
Gerry
On 6/19/06, Denis Gerasimov <[EMAIL PROTECTED]> wrote:
Hello List Members,
I am very tired of deleting spam messag
Tedd,
Interesting that nobody knows the answer... I am struggling with this
very issue for an international lily register...
http://www.lilyregister.com/
Gerry
On 6/5/06, tedd <[EMAIL PROTECTED]> wrote:
At 7:08 PM -0700 6/4/06, Rasmus Lerdorf wrote:
>Larry Garfield wrote:
>>I
I don't know if you solved this already, but I use it to redirect to
different pages depending on whther the user is logged in or not.
Something like header("location:/page/?p=login"); works fine. You were
on the right track.
Gerry
On 6/15/06, tedd <[EMAIL PROTECTED]> w
a
form) are objects that the browser can act upon per the user through html or
js, but not php. Interesting.
Perfectly doable in PHP. Just have the form action go to a new php
script and do your logic, then use header("location:...") to redirect.
Gerry
--
PHP General Mailing List (ht
be a full, complete URL, and not just a local
reference.
Sure you can use a local page, I do it all the time.
You could just use session_start() at the top of both pages, and slam
the data into $_SESSION, and then your Location: redirect would "work"
Yep.
Gerry
--
PHP General
ble is
set, processes the info, then clears the session var. If the session
var is not set, an error is displayed.
Gerry
On 6/26/06, Jay Blanchard <[EMAIL PROTECTED]> wrote:
I am going to do some thinking (typing) out loud here because I need to
come up with a solution to double-clicking on a f
y CSS stuff) but don't mess with their
input.
Why not clean up crappy input right at the source, Richard?
Gerry
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
imitations?
TIA
Gerry
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
So if I understand you gentlemen correctly, these pre-builds serve as
examples how NOT to do it?
Gerry
On 8/20/06, Larry Garfield <[EMAIL PROTECTED]> wrote:
On Sunday 20 August 2006 20:17, Gerry D wrote:
> On 8/19/06, Larry Garfield <[EMAIL PROTECTED]> wrote:
> > OSCom
Have you tried GoDaddy support?
On 2/25/06, Nicolas Verhaeghe <[EMAIL PROTECTED]> wrote:
>
> Has anybody heard (or done it himself) how to upgrade PHP on a Go Daddy
> virtual server?
>
> Current version is 4.3.11 and I'd like to upgrade to 5.1.2.
>
> All I know is that this server is a Red Hat Fed
n the
highest sub-ID, irregardless of gaps.
Gerry
http://groups.yahoo.com/group/php_and_mysql/
On 3/7/06, Kevin Murphy <[EMAIL PROTECTED]> wrote:
> Well, part of the issue is that I want to be able to use this as part
> of the link:
>
> /news.php?article=2006-03-05a
> /news.php?artic
Should have read the whole thread first, I guess... :)
Gerry
http://groups.yahoo.com/group/php_and_mysql/
On 3/7/06, Shaunak Kashyap <[EMAIL PROTECTED]> wrote:
> A possible solution:
>
> Make a composite primary key where the first field is the date and the
> second fiel
$ID is not a global, but $_SESSION["ID"] would be...
Gerry
http://groups.yahoo.com/group/php_and_mysql/
On 3/9/06, suresh kumar <[EMAIL PROTECTED]> wrote:
>
> i am having one problem in session handling.
> I am having 2 files,login page and hame page.
> when user ente
Adrian,
I use something like this:
http://groups.yahoo.com/group/php_and_mysql/
On 3/10/06, Adrian Bruce <[EMAIL PROTECTED]> wrote:
>
> Hi
>
> After some advice (surprise!)
>
> I currently store restricted documents beneath the web root so they are
> not accessible via the URL, when a valid user
Which "someone" could do this, is another question I have. The user? He's do
something to his own computer, no?
Gerry
On 3/14/06, tedd <[EMAIL PROTECTED]> wrote:
>
> Hi:
>
> I've been using a php style switcher allowing users to change css.
> T
On 3/14/06, IG <[EMAIL PROTECTED]> wrote:
>
> Hello.
>
> I got a password protected login script of t'internet a while back and
> have implemented it. I just want to make sure it is secure. I am aware
> that the password is stored directly in the database and I don't think
> this is a good thing. I
On 3/29/06, Philip Thompson <[EMAIL PROTECTED]> wrote:
> People have been programming since the 70's?!!?!! I didn't think it
> was possible until the early 90's! Wow I must be young! ;)
What do you mean '70's? LOL
How about Grace Murray Hopper?
http://www.jamesshuggins.com/h/tek1/grace_hopper.
Come on, you should have played along... ;-)
Gerry
On 4/1/06, Stut <[EMAIL PROTECTED]> wrote:
>
> Zouari Fourat wrote:
> > here's the link
> > http://phpro.org/articles/Microsoft-Purchases-Zend-for-$113-Million.html
>
> Seriously... consider the date.
>
On 4/1/06, Stut <[EMAIL PROTECTED]> wrote:
> Gerry Danen wrote:
> > Come on, you should have played along... ;-)
>
> I'd had my fill by the time that arrived. It seems to me that people go
> overboard now. Slashdot used to have one a year, and it was always
> som
On 4/1/06, Stut <[EMAIL PROTECTED]> wrote:
> Here's assuming that was a joke so I won't get into the factual errors.
> I wonder how Zend and the other core developers will feel about being
> referred to as "an unorganized bunch of hobbyists".
Now that is slander we don't need. Group hug with the
n PHP is mysql queries and data
> validatlion.
--
Gerry
http://dev.danen.org/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
I would like to replace all chars in a string that are not a-z or 0-9
with a space. I can use a series of str_replace functions, but there
has to be a faster way.
I know there is a solution but my chemo-brain is slowing me down today. Sorry...
Any suggestions?
TIA
Gerry
--
PHP General Mailing
I would like to replace all chars in a string that are not a-z or 0-9
with a space. I can use a series of str_replace functions, but there
has to be a faster way.
I know there is a solution but my chemo-brain is slowing me down today. Sorry...
Any suggestions?
TIA
Gerry
--
PHP General Mailing
site and let me first read all your private
information, then trash it..." Hackers and other cyber vandals would
love you to implement this "feature"... LOL
Gerry
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Yah, and why are people still mindlessly clicking OK to install ActiveX plugins?
On 4/27/06, Porpoise <[EMAIL PROTECTED]> wrote:
<""Gerry D"" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
Interesting discussions... :)>
I see two issues:
1.
I'm wondering if $_SERVER['HTTP_REFERER'] is no longer supported, or perhaps
has a new name?
TIA
Gerry
Kevin,
[client 192.168.0.2] PHP Notice: Undefined index: HTTP_REFERER in
/home/arls_lilies_test/html/include_db/db_connect.php on line 67
is what shows in the error log...
The actual code is
$glb_http_ref = $_SERVER['HTTP_REFERER'];
Gerry
On 1/7/06, Kevin Waterson <[EM
On 1/7/06, Kevin Waterson <[EMAIL PROTECTED]> wrote:
>
> This one time, at band camp, Gerry Danen <[EMAIL PROTECTED]> wrote:
>
> > I'm wondering if $_SERVER['HTTP_REFERER'] is no longer supported, or
> perhaps
> > has a new name?
>
> still
"$pagedocroot/include/funcs.php");
Hope that helps.
Gerry
On 1/9/06, Nuno Trancoso <[EMAIL PROTECTED]> wrote:
>
> This may sound dumb, but i have been up all night going through
> php/apache docs, and still have not found an answer..
>
> Throughout a site i need to
so they only have
> 2
> digits past the decimal point. I've been using sprintf but just noticed
> that
> it tends to round up. I want the same functionlity without rounding.
>
> Thanks
>
>
--
Gerry
http://portal.danen.org/
sprintf creates a string ready for you to manipulate. So does
number_format. Pick whatever is best for your purpose.
See http://uk2.php.net/manual/en/function.sprintf.php and
http://uk2.php.net/manual/en/function.number-format.php for more info.
Gerry
On 1/10/06, Mark Steudel <[EMAIL PROTEC
On 1/11/06, M. Sokolewicz <[EMAIL PROTECTED]> wrote:
>
> remember though that
> if(!$x) {
>echo 'nothing here';
> }
>
> will also output 'nothing here' when provided with the string '0'!
That's because (!$x) means ($x == false) and '0' is false...
Gerry
Bing,
I think I have implemented at http://www.arls-lilies.org/h/board.php
what you are looking for. If so, let me know.
On 1/17/06, Bing Du <[EMAIL PROTECTED]> wrote:
> Hello everyone,
>
> Here is what I want to accomplish. Query the backend database and
> generate a page listing all the staff
A couple of days ago somebody posted a message with a routine to check
input fields for potential spam/hacking. I believe it was on this
list, but not sure.
Of course I can't find that message any more...
Could the original poster, please repost?
Thanks.
Gerry
--
PHP General Mailing
You probably want to do an is_int() first...
After that, you know it's an int and treat it that way. Why do you need to
typecast it?
BTW, change $cardID = $HTTP_GET_VARS[cardID]; to $cardID = $_GET['cardID'];
for PHP5 compatibility... ;-)
Gerry
On 1/20/06, Ron Eggler (Pay
There's a couple of things a person can do.
1. check for .gif extention
2. see if exif_imagetype() returns type IMAGETYPE_GIF
3. see if getimagesize() returns reasonable values and not FALSE
4. check the file content for binary vs text content
Gerry
--
PHP General Mailing List
After some googling, it's a browser thing, not a php thing, as Austin
pointed out. There are just rules (well, suggestions maybe) to be
aware of.
Are we flogging a dead horse here?
On 1/23/06, tedd <[EMAIL PROTECTED]> wrote:
> >Austin Denyer wrote:
> >>This is a function of the way cookies work,
Interestingly, I installed mod_security the other day and noticed
error 500 show up. As it turns out, mod_security generates those when
they block nasties.
Gerry
On 1/25/06, Thomas <[EMAIL PROTECTED]> wrote:
>
> Hi there!
>
> I am sitting with something of a mystery and was won
I think Afan means they are values in an enum field. But I may be mistaken... :)
Gerry
On 1/29/06, tedd <[EMAIL PROTECTED]> wrote:
> >Hi to all,
> >I need to collect info about columns from a selected table.
> >I use this:
> >
> >$result = mysql_query("
{
$f = $a2[$i2] ;
if ($f == "") $f = " ";
echo $f . " | ";
}
echo "\n";
}
Perhaps combining it with your code will give you what you need.
Gerry
On 1/29/06, Afan Pasalic <[EM
A user of mine insists that her email address shows on a web page. I
need to protect that address from spam bots. There are lots of
solutions around that I have come acros. I am looking for a clean,
reusable, non-javascript solution.
Any help is appreciated.
Gerry
--
PHP General Mailing List
reap that
address. Gotta be a pretty smart bot...
Gerry
On 2/2/06, tedd <[EMAIL PROTECTED]> wrote:
> David:
>
> Your points are well taken. I was impressed by your javascript answer.
>
> It seems to me that there should be something that could circumvent
> the CAPTCHA probl
Please define network drive name. There are drive letters, volume
labels and share names. What exactly are you looking for?
Gerry
On 2/2/06, Ibrahima TALL <[EMAIL PROTECTED]> wrote:
> Hi everybody !
>
> I would need a help in php or a portable javascript solution (for seve
Call the image rendering from another page and then let that page continue:
caller.php:
if ( $is_logged_in )
{
echo "";
if ( $get_name != "" )
echo "$get_name";
}
showimage.php:
Gerry
On 2/3/06, tedd <[EMAIL PROTECTED]> wrote:
> Hi:
>
> This i
bell is his C program... :) Outputs an ascii 7 (bell) at the machine
where it runs. It basically outputs a character to stdout or stderr.
He probably has that machine next to his cash drawer...
Gerry
On 2/4/06, tedd <[EMAIL PROTECTED]> wrote:
> >I simple wrote a small C program th
You should talk to your provider. PayPal does not leave anything
legible on my html page, just an encrypted string. Once you end up on
PayPal's secure page, the email address is visible. I use a special
account, just for that purpose.
I'm afraid your provider dictates your solution...
Oli,
Looks interesting enough to play with. The page mentions "look at the
code" yet I cannot find the code. Is it available?
Gerry
On 2/8/06, Oli Howson <[EMAIL PROTECTED]> wrote:
> The example given outputs to two tabs, "sheeta" and "sheetb"
&
You should use $_POST...
On 2/8/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> Hello all from a newbie. We have a Nitix server (from Net Integration
> Technologies, Inc.) that hosts various web site. Recently they released a
> software upgrade, and in the release notes was this warning:
>
>
27;] = md5("validphoto");
echo "";
Gerry
On 2/7/06, hbeaumont hbeaumont <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I have a site with images that I want people to download but not have
> the direct path to. ie. I do not want them to be able to just view the
> s
>
> > IIRC, I think the unix exif function returns dpi as well but I'm working on
> > a windows machine without cygwin, so can't be certain.
>
> You might want to check this package:
> http://www.ozhiker.com/electronics/pjmt/index.html
Gerry
--
PHP General
Alain, have you tried cookies?
On http://www.lily-gallery.com/ you will see 2 colored dots (bottom
left) that allows for alternate page colors. Once a user chooses one,
I remember his choice with a cookie. I use the cookie to control a
style sheet.
Gerry
On 2/15/06, Alain Roger <[EM
$currentstyle = "/skins/style_" . $currentstylecolor . ".css" ;
then
Gerry
On 2/15/06, tedd <[EMAIL PROTECTED]> wrote:
> >Alain, have you tried cookies?
> >
> >On http://www.lily-gallery.com/ you will see 2 colored dots (bottom
> >left) that all
What if several users try to access a different picture at the same
time? Won't that render the wrong image for some?
Gerry
On 2/16/06, tedd <[EMAIL PROTECTED]> wrote:
> Hi gang:
>
> In a previous post (i.e., [PHP] Strange response to MySQL query) I
> was trying to save a
d
to create a unique file name. The target directory is world writable.
Not the most elegant solution... I found that sometimes the file had
not been written yet and trying to display it on a page right away
resulted in file not found... Rendering the image to the screen
without saving t
! reverses a true/false input. I use it to flip a setting on or off.
Gerry
On 2/17/06, Jeff <[EMAIL PROTECTED]> wrote:
> Hey all,
>
> I've got some code from someone else I've inherited and need to sort out
> some problems with. The programmer that wrote it origina
You got me. Where are you hiding it?
Gerry
On 2/19/06, tedd <[EMAIL PROTECTED]> wrote:
> Manuel:
>
> >A good CAPTCHA must be fuzzy. If you know other fuzzy CAPTCHA besides
> >these, it may help to sharing that knowledge.
>
> Try this:
>
> http://xn--ovg.com/n
How would a bot find it though?
On 2/19/06, comex <[EMAIL PROTECTED]> wrote:
> > You got me. Where are you hiding it?
>
> In test.js:
> http://www.xn--ovg.com/no_bot/rpc.php?action=one
>
> Unless you hide it in a different place each time, how useful is that?
--
PHP General Mailing List (http://w
#x27;/', $str)){
$arr = split("/", $str);
$num = count($arr);
for($i=0; $i < $num; ++$i){
echo(" > ".$label[$arr[$i]]."");
$site = $site . $arr[$i] ."/";
}
}elseif (ereg("[a-zA-Z_]{1,}$",$str)){
$arr = $str;
echo(" &
d file. The reason is that the included file
> is included before the variable is evaluated.
>
> Fred
--
Gerry Figueroa
Dynamic Intermedia
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To c
85 matches
Mail list logo