Hi
I am writing a pretty complex admin set of tools for some managers and
their staff. So there are certain admin rights that I have registered
into the session variables that get 'carried around' the admin area.
There is an area where mangaement can upload new documents and notices
for their sta
u know what to put in the .htaccess file.
> Regards, Bob Exton.
>
>
> - Original Message -
> From: "Marian Briones" <[EMAIL PROTECTED]>
> To:
> Sent: Wednesday, April 04, 2007 9:35 PM
> Subject: [php-list] Writing to a .htpasswd file
>
>
> >
Hi everyoen
I am writing an access system and it needs to be able to encrypt the
username and password to a certain directory's .htpasswd file. I'm
not sure how to do it. I found a link with this code:
// The following class encrypts a password, and writes it to a .htpasswd
// file for use with
I'm trying to show a catalog and there are colors available for each
product. The query queries the color choice out of a table by the
item's ID which is also in that table. It then prints a line to show
that.
The problem is, the next item, those variables aren't being cleared
out so I see the l
Gordon Stewart <[EMAIL PROTECTED]>
> To: php-list@yahoogroups.com
> Sent: Friday, November 3, 2006 3:11:15 PM
> Subject: Re: [php-list] Preventing more than one 'sweepstakes entry'
>
>
>
>
>
>
>
>
>
>
>
>
>
>
And today's task is...
I"m doing a site that allows everyone one free sweepstakes entry. How
can I control that? I thought of using the env variable that has the
IP address but if there are multiple users behind a firewall, that
would prevent more than one person behind that firewall from enteri
Man I really needed my caffeine...duh whois DUH! I guess my
anniversary is December 13th
Thanks, Nick
--- In php-list@yahoogroups.com, "Nick" <[EMAIL PROTECTED]> wrote:
>
> --- In php-list@yahoogroups.com, "Marian Briones" wrote:
> >
> > Hi gang
Hi gang
I was on archive.org and found that the first time my personal site
was archived was in June, 1997. I'm trying to find out when I first
registered my domain and can't find any facility that has that info.
Any ideas? Thanks.
Community email addresses:
Post message: php-list@yahoogro
I'm looking at one of the stylesheets now...I guess that'll work.
Pretty simple...
Thanks, Pete!
--- In php-list@yahoogroups.com, Pete <[EMAIL PROTECTED]> wrote:
>
> In message <[EMAIL PROTECTED]>, Marian Briones
> <[EMAIL PROTECTED]> writes
> >Well
Well I'd love to see the back end code on how it integrates Word Press into it.
I have to
build such a thing for one of my clients.
Thanks
--- In php-list@yahoogroups.com, Pete <[EMAIL PROTECTED]> wrote:
>
> In message <[EMAIL PROTECTED]>, Marian Briones
> <[EMAIL
And my other fun thing I'm doing today is trying to figure out how to
make my WordPress blog look like the rest of my website by dressing it
in my website's graphic set. Has anyone done this? I found mountains
of documentation in Wordpress's support sites but no simple
explanation to get started.
I have an interesting one here...
I have a website with 'seasonal' headers on it (like we've all seen
google have fun with). I have a database that lists them with a start
date and an end date for each of them. So, for example, I am running
my halloween header from now until Halloween with it
Hi
I have a database table with like 2000 items in it. What I want to do
is have like 25 per page showing with next previous etc. I'm not sure
how to write that up. Can someone point me in a creative, effective
direction?
Thanks!
Community email addresses:
Post message: php-list@yahoogrou
Hi
I wrote a nifty 'photo album generating' script I wrote that reads the
directory for image files, then presents them in a thumb gallery.
How could I get it to sort that list of files (instead of in stored
order) by file name?
Marian
Community email addresses:
Post message: php-list@yah
Well i called the AOL postmaster and no, my server isn't being
blocked. They had no explanation and neiher do I.
Community email addresses:
Post message: php-list@yahoogroups.com
Subscribe:[EMAIL PROTECTED]
Unsubscribe: [EMAIL PROTECTED]
List owner: [EMAIL PROTECTED]
Shortcu
Hi gang
I have a site that is a membership site and it sends a confirmation
email to the person wanting to create an account. AOL is blocking
them. I have a valid email address and not a spammy subject line.
I have had the same problems with other AOL users and form
submissions. Help!
If I use
Hi everyone
I've been handed my Harley Owner Group's website to take care of. One
of the things that Harley has stressed to us is that we can't have any
photos of members in any public facing pages. The other webmaster has
been controlling the members only directory with the tried and true
(and g
Thanks guys.
I got it workin' and realized why change a tab delimited file to
something else - an extra step. So I had it split on the tab instead.
Works like a charm.
I learned a lot today. :-)
Marian
--- In php-list@yahoogroups.com, "Patrick Bierans" <[EMAIL PROTECTED]> wrote:
>
> >
Headache number 2 is here.
I figure the customer isn't going to be too great at replacing tab
characters with | characters for their flat file upload/export.
I've been trying to find something that will convert tabs in my file
to | character.
I have tried str_replace, eregi_replace preg_rep
Split wouldn't do it but explode did.
--- In php-list@yahoogroups.com, "Marian Briones" <[EMAIL PROTECTED]> wrote:
>
> Hi James
>
> The code **looks** like it should work, I modified it as I need to so
> it would address my db but it is giving me a
r die("Shoot: $q" . mysql_error());
header ("Location:http://return
page/admintools/managemailinglist.php?listname=$name");
}
I'm not sure why it is not getting the data.
--- In php-list@yahoogroups.com, James Keeline <[EMAIL PROTECTED]> w
Hi
I have done this in perl but eeew I don't want to use perl anymore. I
want to be able to take a flat file that looks like this:
[EMAIL PROTECTED]|Marian|Briones
[EMAIL PROTECTED]|Bob|Smith
[EMAIL PROTECTED]|Jane|Doe
(etc)
The table has more than 3 fields, so I'd want to proces
Well, I tried to use sprintf to insert the variables from a form into
a string and print that out to a file, but since there is no way to
match up the variables in the string with the variables from the form
**reliably**, it doesn't cut it. I removed all of the % signs from
the template and it ma
irst
variable that is coming in. I just don't get it. But it's sort of hit
and miss since I can't be more firm in the text string with %s rather
than match the named variable placeholder since I can't name the
placeholders in the string.
(More hair is being yanked on)...
It's rea
OH yes, I've been doing the $ name but it won't write the value to the
file. I'm trying it with printf now with the variaable as
$svarnamestill nothing...
--- In php-list@yahoogroups.com, Michael Sullivan <[EMAIL PROTECTED]> wrote:
>
> On Mon, 2006-02-20 at 00:25
he file with the variable names in there
instead of the variable values. Not sure how to make it write the
variable values into the form.
Does that make more sense?
--- In php-list@yahoogroups.com, Michael Sullivan <[EMAIL PROTECTED]> wrote:
>
> On Sun, 2006-02-19 at 22:32 +, Maria
I finally put my finger on what I am trying to doI'm trying to
combine a form with some preformatted text and have the form fill in
the variables in the preformatted text and output that to a file.
So how do I do that?
It is easy to do to the screen, I can fill out a form and then have it
ret
Hi gang
I'm trying to output HTML files with php. I have read that in order
to do this, I have to preface each line with something likes;
fputs($filepointer, "the line that I want");
This is painful. I want it to just spit out text that is already in
paragraphs and junk with all of the HTML Cod
else this is another type of file
> else {
> $error = "true";
> $errorNo = 1;
> }
> }
>
> else {
> $uploadFileName = "";
> }
>
> if($error == "true&qu
I had $_FILE[yadda] instead of $_FILES[yadda]
Banging head on desk
--- In php-list@yahoogroups.com, "Marian Briones" <[EMAIL PROTECTED]> wrote:
>
> Well, I latched onto the size value of the upload and figured okay, if
> the value is greater than 0, then process
But guess what?
IT STILL DOESN'T WORK! It won't even process the image now even
though the size is greater than 0!
I am stumped
PS James, thank you for your great info here. This particular area
is only available to site administrators with passwords.
--- In php-list@yahoogroups.
--- In php-list@yahoogroups.com, Pete <[EMAIL PROTECTED]> wrote:
>
> In message <[EMAIL PROTECTED]>, Marian Briones
> <[EMAIL PROTECTED]> writes
> >I'm having trouble with my $_FILES variable. What my program does is
> >allow a person to have an image f
thought by saying if ($_FILES['pageimage'])
{ yadda }
that it will only run the image processing code if that incoming file
is there. This is making me nuttier than I already am.
--- In php-list@yahoogroups.com, Brian Cummiskey <[EMAIL PROTECTED]> wrote:
>
> Marian Briones wr
I actually did post the block yesterday.
I guess I'm lucky in the response I get here!
:-P
On Jan 27, 2006, at 2:13 PM, Brian Cummiskey wrote:
> Marian Briones wrote:
>> I posted yesterday and no one answered; I"m wondering if this list is
>> having tech difficul
I posted yesterday and no one answered; I"m wondering if this list is
having tech difficulties
I'm having trouble with my $_FILES variable. What my program does is
allow a person to have an image file on their web page. So if there
is an upload, it processes it (resizes it if need be). If t
Okay, now that works, with the {[type], temp name, etc.
BUt now I am having a different problem.
My content management system allows the user to edit their page and it
shows a thumb of their existing image. They can choose to upload a
new image, or leave it alone (the old image file name is stor
As I strive to secure my scripts to please my ISP and ensure I am
doing my part to keep my srever secure, I have rewritten my content
management system to predeclare stuff coming in from a form. But,
it's not handling the uploads, and I suspect an uploaded file doesn't
get referenced inthe $_GET o
I am testing a form with lots and lots of fields and gearing all of my
scripts to predeclaring variables so I can have globals turned off
(per my ISP's request) and is there an easy way I can just have the
hashes print to the screen so I can print it out and avoid potential
typos when I am predecla
Hi gang
Thanks for all of the responses to how to prevent spam drones from
exploiting my email forms! I'll be plugging that in so my server does
not get attached again. I found all sorts of holes I had created on
my server. Not good. (sigh).
Anyway, I have this one site that has a countdown to
My old system used a perl script to read a | delimited file and pour
the content into a database.
Now, I made a system that uploads the file and pours it in. I am
trying to now modify it further to make it NOT upload a file, but take
the file contents from a text area and each line is one record
;
$export = str_replace( ',', '', $export);
$export = preg_replace( '/\t/', '|', $export);
--- In php-list@yahoogroups.com, "Bob" <[EMAIL PROTECTED]> wrote:
>
> Hi Marian,
>
> Marian Briones wrote:
> > But
Hi all
I'm trying to fix a line that looks like this:
123 MAIN STREET ANYTOWN "$729,950 " DE 15823
2
To look like this:
123 MAIN STREET|ANYTOWN|$729950|DE|1582|3|2
I have no trouble getting it to convert the tabs to | with
$export = preg_replace( '/\
link
on the "data updated" query to take me to the page that displays the data.
Cool beans!
--- In php-list@yahoogroups.com, James Keeline <[EMAIL PROTECTED]> wrote:
>
> --- Marian Briones <[EMAIL PROTECTED]> wrote:
>
> > Hi gang
> > I'm trying t
Hi gang
I'm trying to export data from a pipe delimited file (|) with php,
trying to get away from perl entirely.
My old perl script opens the file and sticks it in an array, then
handles each line as a record in the database table by splitting the
line like this:
($MLSNo, $Status, $DOM, $Addres
oh that'll workI already have a system like that in place for my
email subscription manager!
I'll have to do that. Thanks.
--- In php-list@yahoogroups.com, "Marc Boncz" <[EMAIL PROTECTED]> wrote:
>
> Hi Marian,
>
> >How do I prevent spam bots from exploiting php scripts that send mail?
> >
Hi gang
How do I prevent spam bots from exploiting php scripts that send mail?
Need to know...
(SIGH)
Happy New year by the way.
Marian
Community email addresses:
Post message: php-list@yahoogroups.com
Subscribe:[EMAIL PROTECTED]
Unsubscribe: [EMAIL PROTECTED]
List owner: [E
Hi all - happy holi-daze
I have a customer who runs a promotional item company and they would
like their customers to be able to submit their artwork online via an
email form.
This, of course, involves the file being copied up to the server which
terrifies me - I've been hacked when I had an in
I am writing a page that outputs a bunch of JavaScript lines, and the
stuff coming out of the database contains double quotes, which must be
single quotes in order for my Javascript to work. (It's a scrolling
news box).
I tried str_replace and preg_replace and had bad results.
How do I do this?
the nl2br function worked great (love how it's named...New Line 2 BR
(new line to br)
Now how can I, when the person goes to edit what they put in that form
field, get it to take the BR's back out (the HTML tags)? Strreplace?
--- In php-list@yahoogroups.com, Brian Cummiskey <[EMAIL PROTECTED]> wr
Of course, a function. PHP rocks with its functions!
Thanks !--- In php-list@yahoogroups.com, valentin <[EMAIL PROTECTED]>
wrote:
>
> Hello there. Could anybody help me with a CMS script or tutorial?
i need to offer somebody (the company that asked my for a website) the
right/capability to
Hi gang
I have done this very successfully in perl, but need to do this in php
now. The user submits a form. The textarea field contains paragraphs
of information. So, I need to substitute the \n (line breaks) with
HTML . How do I do this in php? I have tried without success in
the past.
Than
There are a lot of free, open source solutions; two come to mind:
drupal and Exponent. Problem is, they are tough to learn to use if
you want to make a custom website. They refer to the look and feel as
themes and sure you can create your own but the how to is a b---ch to
learn.
Good luck!
-
Hi gang
I have been scouring the internet trying to find a good, solid, visual
explanation of a left join. I "kind of" get it but I get confused.
If I could see a visual - I get confused by the on clause.
I have a database of articles. 1 table is the article itself.
Another is article categori
James -
THANK YOU! IT WORKED FINALLY!
This place is filled with confetti, balloons and choirs of angels!
THANK YO!1
Yahoo! Groups Sponsor ~-->
http://us.ard.yahoo.com/SIG=12hgj04vo/M=362335.6886445.783973
groups.com, James Keeline <[EMAIL PROTECTED]> wrote:
> --- Marian Briones <[EMAIL PROTECTED]> wrote:
>
> > Well I couldn't get this to work. I do not know what to do. I can't
> > find anything on it except what **should** work and it does not.
> >
&g
Well I couldn't get this to work. I do not know what to do. I can't
find anything on it except what **should** work and it does not.
I tried m5, I tried crypt, and neither made a workable password that
allowed me to then try to login as that user.
I can run htpasswd from the command line and cr
I tried using crypt to write to the htpasswd file and it still isn't
doing it right; username bill and password bill came out like this:
bill:$1$UQTtAy2y$9IQPNd5iYtaks4faHMSfE1
(throwing hands hopelessly into the air)
--- In php-list@yahoogroups.com, James Keeline <[EMAIL PROTECTED]> wrote:
> --
I just did something very similar in a project I"m working on; I used
ReWrite Rules in my .htaccess file to accomplish it. There is a ton
of info about it, if you want more, shoot me an email.
Hope this helps.
Marian
--- In php-list@yahoogroups.com, "Nate" <[EMAIL PROTECTED]> wrote:
> Hey all
>
> For password protection you will have some statements in the
.htaccess file
> which set the name of the realm, type of authentication (usually
"basic"), and
> the location of the file in the filesystem with the usernames and
encrypted
> passwords.
Right, I have that. It is outside of the pu
Hi gang
I have done this in perl before, but I am writing a username and
password not only to a member database, but also to the .htacceess
file that will contain the usrename and passwords (Apache stuff).
Can someone point me in the right direction to write te right code to
make that? crypt() I
Oh I misread the face.
$condition="gruntled";
On Aug 21, 2005, at 3:14 PM, Pete wrote:
> In message <[EMAIL PROTECTED]>, Marian Briones
> <[EMAIL PROTECTED]> writes
>> I'm not hassling; I'm just trying to find some answers and it's gotten
>&
rote:
> In message <[EMAIL PROTECTED]>, Marian Briones
> <[EMAIL PROTECTED]> writes
> >So now I can finish some projects which have been a huge 16 ton weight
> >on my head!
>
> And stop hassling us (;->
>
> --
> Pete
yahoogroups.com, Pete <[EMAIL PROTECTED]> wrote:
> In message <[EMAIL PROTECTED]>, Marian Briones
> <[EMAIL PROTECTED]> writes
> >Because I've tried to do that and it doesn't work. My script bombs.
> >I posted lines of the code and it just bombs.
>
Mike Franks" <[EMAIL PROTECTED]> wrote:
>
> Not sure which "stuff" in this thread remains an issue?
>
> If you don't want embedded spaces in file names, why not convert them to
> underscores before you allow the file to be uploaded?
>
> Mike
>
>
&g
I could be in a time warp..
But no
I don't have a working answer yet in this dilemma
MJB
--- In php-list@yahoogroups.com, Pete <[EMAIL PROTECTED]> wrote:
> In message <[EMAIL PROTECTED]>, Marian Briones
> <[EMAIL PROTECTED]> writes
> >Same stuff diffe
Same stuff different day.
Can anyone help me?
--- In php-list@yahoogroups.com, "Marian Briones" <[EMAIL PROTECTED]> wrote:
> I'm still stuck here, and my clients are repeatedly breaking my system
> by uploading files with spaces even though I keep telling them
That's exactly what I want to do but I can't get the code to do it.
I'd much rather have an ID assigned to the file name and handle it
like that.
I just can't get it to work. This project is going on 5 months over
due now.
Ugh.
--- In php-list@yahoogroups.com, "Marc Boncz" <[EMAIL PROTECTED]>
I'm still stuck here, and my clients are repeatedly breaking my system
by uploading files with spaces even though I keep telling them DON'T
DO THAT.
Help?
(she cried meekly)
--- In php-list@yahoogroups.com, "Marian Briones" <[EMAIL PROTECTED]> wrote:
> Ok
Okay this is the whole sha-bang (#!?)
What happens, as you'll see, is that I do some manipulation to the
photo with ImageMagick down the road, and then eventually add the info
(the person is updating or creating a profile) to a db table, and
obviously, I need the varname that I created when I str
y one that it goes up with.
?
--- In php-list@yahoogroups.com, Brian Cummiskey <[EMAIL PROTECTED]> wrote:
> > From: "Marian Briones" <[EMAIL PROTECTED]>
> > I need to strip illegal characters out of an uploaded photo now.
I am
> > trying this
Me again with a variation on the earlier problem.
I need to strip illegal characters out of an uploaded photo now. I am
trying this without results:
$photofile=ereg_replace("[^[:alnum:]+$]", "", $_POST['photo']);
copy($photo, "/home/user/public_html/memberfiles/$photofile_name")
Thanks, it seems to be working now, and writing the RewriteRule for me
as well.
Yay!!!
--- In php-list@yahoogroups.com, Brian Cummiskey <[EMAIL PROTECTED]> wrote:
> Marian Briones wrote:
>
> > How can I make sure it strips spaces?
>
>
> >>
e!";
> }
> elseif (strlen($dirname) >=8) {
> echo "Directory '$dirname' created";
> }
> }
> ?>
>
>
> - Original Message -
> From: "Marian Briones" <[EMAIL PROTECTED]>
> To:
> Sent: Monday, August 08,
or if it sees that there is illegal stuff in the form submission.
I dont' know why it isn't working, but I am so frustrated I'm ready to
chuck the file folder out the window and let the dusty cat eat it...
On Aug 8, 2005, at 10:33 AM, Mike Franks wrote:
>
> On 8/8/2005
wrote:
> Hi Marian,
> Is this what you're looking for?
>
> $raw = "$$$ %mysite% #!$@ 123 #!$@ $$$";
> $raw = preg_replace('/\W/', '', $raw);
> echo $raw;
> ?>
>
>
> - Original Message -
> From: "Marian Brio
I have a function where users can upload their photos to a photo area.
I can't seem to find a good way to strip unwanted characters out of
the filename. I also need this to work when they are choosing a
username for their webspace.
It is coming in off a form submission. I don't want any spaces,
ere onto others.
Marian
--- In php-list@yahoogroups.com, Pete <[EMAIL PROTECTED]> wrote:
> In message <[EMAIL PROTECTED]>, Marian Briones
> <[EMAIL PROTECTED]> writes
> >--- In php-list@yahoogroups.com, Pete <[EMAIL PROTECTED]> wrote:
> >> In message <[EM
HI gang
Okay I finally got my membership site to perform the way I need it to
perform! Learning about ReWrite Rules was my key.
So James and everyone, thank you! I can finally move forward. My
next ?? is how to disallow illegal characters - spaces, $ # ! , . in
these names. Thanks!
(throwing
--- In php-list@yahoogroups.com, Pete <[EMAIL PROTECTED]> wrote:
> In message <[EMAIL PROTECTED]>, Marian Briones
> <[EMAIL PROTECTED]> writes
> >The way people would come upon this page is by typing something like:
> >
> >www.somedomain.com/cat
> &
I would think you'd do something like read a directory then count each
file name and spit it out in a count variable. Maybe this is
elementary, but I'm thinking something like
$count=0;
$direcotryObject = dir("/home/someuser/public_html/files");
print "Files:\n";
while ($fileName = $dorectpruPb
but as usual, I am wrong.
--- In php-list@yahoogroups.com, James Keeline <[EMAIL PROTECTED]> wrote:
>
>
> --- Marian Briones <[EMAIL PROTECTED]> wrote:
>
> > That didn't work either.
> >
> > I don't know what to do.
> >
> > If I ca
oups.com, James Keeline <[EMAIL PROTECTED]> wrote:
>
>
> --- Marian Briones <[EMAIL PROTECTED]> wrote:
>
> > I figured out the symlink, but when I go to that in my browser, I
> > don't see a web page. I see the code to create a web page. I need to
&
that index page to show their information?
I'm goin to try this header thing. THis is making me fruity.
--- In php-list@yahoogroups.com, James Keeline <[EMAIL PROTECTED]> wrote:
>
>
> --- Marian Briones <[EMAIL PROTECTED]> wrote:
>
> > I figured out the symlink
I figured out the symlink, but when I go to that in my browser, I
don't see a web page. I see the code to create a web page. I need to
see a web page. HELP!
Yahoo! Groups Sponsor ~-->
http://us.ard.yahoo.com/SIG=12hhdfkep/M=362335.6886445.783973
I think I'm trashing the idea of making directories for my membership
site in favor of making a symlink instead if I can get it to emulate
that. Thing is, I can't find the proper syntax for making a symlink
with php.
What I'm thinking is that it will link to a page that will bring up
the user's i
This book is also a fabulous reference:
http://www.amazon.com/exec/obidos/tg/detail/-/0764535617/qid=1123196490/sr=8-1/ref=pd_bbs_sbs_1/104-9249526-1847948?v=glance&s=books&n=507846
Additionally, email me andI can email you a pdf PHP manual that is
excellent.
--- In php-list@yahoogroups.com, "Ste
Hi
I'm still working on this membership site where the members get to
name a directory for themselves, i.e. http://www.somesite.com/catlady
I then try to write out an index file in that directory but it won't.
When I did the mkdir command, I put in 0777 but when I check it, the
permissions are 7
That produced a nasty error:
Warning: Compilation failed: range out of order in character class at
offset 7 in /home/user/public_html/toolsuite/script.php on line 15
Line 15 being
$photo=preg_replace("/[^a-z9-0_\-]+/","",strtolower($photo));
--- In php-list@yahoogroups.com, "Patrick Bier
I am working with a system that will have users uploading files,and I
can't depend on them not using spaces and other things Unix doesnt'
like in their file names (like ', ., etc).
What's the best way to handle the upload? The variable is called photo
I'm looking at osmething like:
the
syntax to do what you are telling me about.
Grrr..
--- In php-list@yahoogroups.com, Bruno Lustosa <[EMAIL PROTECTED]> wrote:
> On 7/8/05, Marian Briones <[EMAIL PROTECTED]> wrote:
> > But how can I do this - I do not have root on my server...
> > > yup, basicall
But how can I do this - I do not have root on my server...
--- In php-list@yahoogroups.com, Brian Cummiskey <[EMAIL PROTECTED]> wrote:
> Bruno Lustosa wrote:
> > On 7/8/05, Brian Cummiskey <[EMAIL PROTECTED]> wrote:
> >
> >>Plus, there's LOTS of inherit chmod permisssion problems with the
> >>mkd
Hi gang
I'm almost done with this site I'm doing. It is a membership site, so
part of it is they choose a membername so someone can bringup their
profile easily - www.thesite.com/membername
So, it does a mkdir and now I have to have it also write an index.php
page that will bring up their profile
Thanks for the zip code stuff - I'm going to give that first solution
a shot. Keeping it simple at this moment!
Now the next thing, I am writing a script that will run as a cron job
to delete records from a table that are more than 14 days old. The
entry date is just the good old date field in t
Hi -
I'm trying to wrap up a project and one of the features is to match
zip codes so someone can find a service provider by their location. I
want to match it to 4 digits of their 5 digit zip code. So if the
service provider has 94536 listed, if the person searching enters
94539, is there a way
Hi gang
I have a site that I am working on with a member login feature and
from what I understandof sessions, it's almost like being able to
carry around a hidden variable from page to page as long as we know
there is an active session, and declaring the session variable as okay
to view that page
every time the data is queried it could
delte, but if it's a load on MySQL to do that, then the cron job is
the better alternative.
Thanks.
Marian
--- In php-list@yahoogroups.com, James Keeline <[EMAIL PROTECTED]> wrote:
> --- Marian Briones <[EMAIL PROTECTED]> wrote:
> &g
Is it possible to have records go away in a MySQL table after a given
amount of days have passed? Or should I tackle it as a by product of
a script that retrieves records from it? (The first part of it would
go and delete records older than a given date, based on the current
date using the date()
Hi gang
I'm uploading a photo and then checking the image size, and keep
getting an illegal division by zero error.
Here's the code:
// upload the photo
if ($photo)
{
copy($photo, "/home/user/public_html/memberfiles/$photo_name");
// let's make s
We've all seen this - in fact Yahoo Groups uses it to join its groups
now. You are registering for something and are presented with a
graphic with a combo of letters and numbers, sometimes at weird angles
and diff. fonts and you have to type in exactly what you see and it
has to match.
Kicking th
; sort of thing. It's super easy to do.
--- In php-list@yahoogroups.com, Pete <[EMAIL PROTECTED]> wrote:
> In message <[EMAIL PROTECTED]>, Marian Briones
> <[EMAIL PROTECTED]> writes
> >Another way: What I always do is have the username be the person's
> >
1 - 100 of 119 matches
Mail list logo