>
>// pull fields from form query
>$to = "[EMAIL PROTECTED]";
>$name = $HTTP_POST_VARS['name'];
>$address = $HTTP_POST_VARS['address'];
>$listname = $HTTP_POST_VARS['listname'];
>$action = strtoupper($HTTP_POST_VARS['action']);
>
>// build headers
>$from = "\"$name\"
>
> PS some mailservers do not like \r\n, check the manual on mail() and see
> what they suggest, i think it was just \n.
RFC for SMTP states that CRLF (\r\n) should be used. A lot of mail servers
will accept just \n, but it is best to try and be standards compliant, you
have less potential for p
You are missing the closing ) around the values you are inserting.
> Anyone see anything wrong with this line of code?
>
> $fine = mysql_query("INSERT INTO
> tblPOItems(poID,poItemUPC,poItemNumber,poItemDescription,poItemInn
> erCasePkg,
> poInnerQuantity,poItemEstQuantity,poItemCostEach,poItemSug
> We have a meeting at every Saturday,I'd like to post the
> news and write the date of this Saturday every week,how can I get
> the date of Saturday.
This has not been tested, there might be a bug.
Something like that should be what you want though.
--
PHP General Mailing List (http
I need help with some regular expression matching.
Here is what I am doing. In one php file, I'm reading
in the contents of an html file. Both reside on the
same server. What I need to do is change all image
tags that are like this:
To this:
I know that "basename" works if you have somet
Why does this work:
$contents =
eregi_replace("(\")(.(/))*[A-Z0-9_/-]+(.gif|.jpg)",
"\"blah.gif", $contents);
But this does not:
preg_match_all("(\")(.(/))*[A-Z0-9_/-]+(.gif|.jpg)",
$contents, $matches);
for ($i=0; $i< count($matches[0]); $i++) {
echo "matched: ".$matches[0][$i]."\n"
}
I get
delimeter apart
> from the quote?
>
> "/(\")(.(\/))*[A-Z0-9_\/-]+(.gif|.jpg)/"
>
> Maybe that's it? But if so I dunno why the other
> one would be working.
>
> -Kevin
>
> - Original Message -
> From: "Jennifer Swofford" &
Extraordinarily helpful; thank you very much! Thanks to both Mike and Kevin
on this.
Jen
> > > Why does this work:
> > >
> > > $contents =
> > >
> > eregi_replace("(\")(.(/))*[A-Z0-9_/-]+(.gif|.jpg)",
> > > "\"blah.gif", $contents);
> > >
> > > But this does not:
> > >
> > >
> > preg_match_all(
I'm getting much closer to achieving my goal here. Now, I'm missing yet one more
element. Here is my code:
--
$filename = "newexample.html";
$fd = fopen ($filename, "r");
$contents = fread ($fd, filesize ($filename));
preg_match_all('{\/*[A-z0-9_/-]+(.gif|.jpg)}', $contents, $matche
FEI, it works fine on my IE6/WinXP. :) (And NS7.)
> Rebekah,
>
> When I click link to go to the second index (using IE6, WinXP) at
> http://www.overbrookfarm.myiglou.com/index2.html my browser hangs and I
> never get the menus. However it all works fine in Mozilla 1.0 on the same
> platform. (
Hello all,
I am trying to use php to read through an html file and replace all image
paths, like such:
Change "images/firstimage.gif" to "http://www.blah.com/firstimage.gif"; ...
Change "somesuch/images/secondimage.jpg" to
"http://www.blah.com/secondimage.jpg";
So I am going through the file an
BTW - I have found errors in the regular expression that I was matching so
don't bother to point those out. ;) That shouldn't affect the nature of
the problem I was asking about.
--- Jennifer Swofford <[EMAIL PROTECTED]> wrote:
> Hello all,
>
> I am trying to use ph
nd behold, it works. Thanks all!
Jen
--- Marco Tabini <[EMAIL PROTECTED]> wrote:
> Jennifer--
>
> A couple of things. eregi_replace does not have a
> limitation parameter,
> which means that if you use it *all* the strings
> that match your pattern
> will be replace with th
--- Mike At Spy <[EMAIL PROTECTED]> wrote:
>
> Anyone ever have the experience of working on a
> site, working with MySQL and
> then having something almost inexplicable happen?
Hmmm, yes, that would be a daily exercise for me. Ah, but I see that your
inexplicable problem has been explained... l
BTW, disregard my comment about GET... I confused myself. Zzz.
Jen
> Try:
>
> $_Post[name];
>
> or $HTTP_POST_VARS[name];
>
> In new PHP version, register_globals is set to "off" by default, which is
> why $name isn't working for you. Although, I'm surprised GET isn't
> working
>
> Jen
>
Try:
$_Post[name];
or $HTTP_POST_VARS[name];
In new PHP version, register_globals is set to "off" by default, which is
why $name isn't working for you. Although, I'm surprised GET isn't
working
Jen
> I've just built PHP from source (4.2.3) on Red Hat Linux 7.2 with
>
> configure --with-
Is there an easy way to upload an entire directory? Rather than selecting the 19
files in a directory, to just select the directory, and have all its contents go with
it? (Or even a not-such-an easy way?)
Thank you very much for any hints.
Jen
First scenario is correct.
> Are you trying to do this via a web-script?
> Meaning, your php script is the server, and windows would be the client?
>
> Or is your script uploading a file to another server?
>
> Tim
>
> - Original Message -
> From: "Jenn
--- Pushpinder Singh Garcha <[EMAIL PROTECTED]> wrote:
> Hi
>
> I am trying to create an online survey using PHP
> ...I am using MySQL as
> the database and MAC OS Jaguar. I do not need the
> results to be added to
> the database. I need to be able to send the results
> of the survey to an
> email
What's your PHP code look like?
--- Angel Gabriel <[EMAIL PROTECTED]> wrote:
> I get absolutly NOTHING! I get the most basic HTML
> page, but blank, as in
> the following
>
> Transitional//EN">
>
> http-equiv=Content-Type>
>
--
PHP General Mailing List (http://www.php.net/)
To unsubscr
You also need to add the text/html header, such as:
$headers = "Content-Type: text/html \r\n";
mail("[EMAIL PROTECTED]", "subject",$out , "From: website", $headers);
jen
> I read from a template, insert data and save it as a new file with html
> code...
> i want to send that file that is the sa
> Hi All,
>
> I hope you can help me with this:
>
> I have a tabel in my database like this
>
> TEST
>
> fieldnameValue's
>
> testid 1
> testf1 3
> testf2 4
> testf3 0
> testf4 2
> testf5 0
>
> (so this is one record!)
>
> I want to dis
> BUT how can i make the function loop through the whole
> result?
>
> ---
> if (mysql_num_rows($result3) > 0)
> {
> $test = mysql_fetch_array($result3);
> echo minnum($test);
> }
>
> --
>
Someone will probably come up with someth
> >setcookie("UserName", $HTTP_POST_VARS['UserName'],
> time()+(60*10), "/",
> > $HTTP_SERVER_VARS['SERVER_NAME']);
> >setcookie("Password", $password, time()+(60*10), "/",
> > $HTTP_SERVER_VARS['SERVER_NAME']);
> >print "login - set cookie";
>
>
> sorry for kinda answering my own post.
> 93 # When deserialized we are called and need to check if the
> stored IP address equals the client's
> 94 function __wakeup() {
> 95 global $Log;
> 96 if ($_SERVER['REMOTE_ADDR'] !=
> $this->Night['IP']) {
> 97
>
> your mixed html and php code here
>
> */ ?>
>
> that way php will take everything inside the tags and
> comment them
> out, regardless of if they are html or php or whatever.
This won't work is your PHP code has comments using /* */ syntax in it
already. I always just through an if(false){
> Is there a way to output PHP to MS Excel format?
>
Send the headers for the appropriate application type and then format your
output as HTML with Excel's styles. In order to get a feel for what my
output should be, I just create a sample of what I want in Excel, save as
html and then open the fi
> This doesnt work as expected.
>
> if ( $var === "TEST ONE" || "TEST TWO" || "TEST THREE") {
>
> do something;
>
> }
>
> It returns true on all strings. Ive tried using the or operator
> and the == but these fail as well. Any Ideas?
It behaves exactly as expected. Try checking the manual
> How to use file() function with an "HTTPS:\\www.example.com"
>
>
> $lines = file ('https://www.example.com/');
>
> foreach ($lines as $line_num => $line) {
> echo "Line #{$line_num} : " . htmlspecialchars($line)
> . "\n";
> }
My interpretation of the manual page
(http://us3.php.net/manua
> > I have a section of my script where I call gethostbyname($hostname) .
> > For some host names that are not registered (according to register.com)
> > I am still getting an IP address returned?
> >
> > What is happening?
> Well, try only the toplevel domain... For example, I have like
> hns3456
> Hi, is there a way to create excel files with php?
>
> Thanks.
This was answered yesterday and I'm way too lazy to type out my reply again.
Here is an archive search on the word 'excel'
http://marc.theaimsgroup.com/?l=php-general&w=2&r=1&s=excel&q=b
Here is yesterday's thread
http://marc.theai
> And I get this:
>
> [snip]
> Violation Information:
> The subject violated the content filtering rule PHP as subject is a
> malacious code - Not Allowed. No attempt was made to repair.
> [/snip]
>
> How can PHP be a code so powerfull it is not even allowed in the
> subject? I thought PHP was
>can't seem to figure
> out how to get the number of days integrated in here for $hh that
> are > 24.
> to days:hours:minutes:seconds... This function works for what it
> does, can
> someone embelish it to handle days too?
>
> function convertToHHMMSS($seconds)
> {
> $hoursPerDay
> Ive used this
> $query = ("SELECT username, password, DATE_FORMAT(timestamp,
> '%d%m%y') FROM
> custlogon");
>
> But I recieve unknown index timestamp. *shrug*
>
>
You are receiving the error on an array returned by fetch_array? If so, it
is because the index is "DATE_FORMAT(timestamp, '%d%m%y
> Jennifer, you're right, I am using fetch_array... I tried to use your
> suggestion, and it failing as well, It wont even execute
>
> Do you have a better method of looping through all these records??
>
There's probably an error in my SQL syntax. What is mysql_er
> try this:
>
> $query = "SELECT username, password,
> DATE_FORMAT(CURRENT_TIMESTAMP(), '%d%m%y') FROM custlogon";
>
> or if that doesnt work try:
>
> $query = "SELECT username, password, DATE_FORMAT(NOW(), '%d%m%y')
> FROM custlogon";
[snip]
original query as posted:
SELECT username, password, DAT
> > > Jennifer, you're right, I am using fetch_array... I tried to use your
> > > suggestion, and it failing as well, It wont even execute
> > >
> >
> > There's probably an error in my SQL syntax. What is
> mysql_error() telling
> >
> http://www.mysql.com/doc/en/Reserved_words.html
>
> [snip]
> 6.1.7 Is MySQL Picky About Reserved Words?
>
> A common problem stems from trying to create a table with column
> names that use the names of datatypes or functions built into
> MySQL, such as TIMESTAMP or GROUP. You're allowed to do it
> Thank you for your time on this.
No problem.
>
> // Function that runs reports on logon history
>
> function logonHist() {
>
> db_connect(); //establish connection
>
> $_qlogonhist = ("SELECT username,host_info,status, DATE_FORMAT(timestamp,
> '%d%m%y')
> as formatted_ts FROM custlogon
> I'm trying to rename some variables.
>
> first I have a function -
> randomize (3,4); //has created unique $numbers
>
> then I want to create a function for the renaming:
>
> renameit($sculp); //sends $sculp for the new variable name
>
> and this function (and variations)
>
> function renameit($v
I think you can do it using
strftime
%V - The ISO 8601:1988 week number of the current year as a decimal number,
range 01 to 53, where week 1 is the first week that has at least 4 days in
the current year, and with Monday as the first day of the week.
%W - week number of the current year as a d
-
What I need this to do is update the price in the db table.
if I have on item it is fine. If I have two items it won't update the first
items price but will the second. if I try to enter a price in the first
items textbox it doesn't update and then deletes
;[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> user price[] as the name
> you'll also need to pass the ids as $id[]
> so you know which one you're updating
>
> -Original Message-
> From: Jennifer Downey [mailto:[EMAIL PR
Thank you Jason and Kevin for your time and help.
Does this look like what I should have?
if(isset($update))
for ($i=0; $i";
Jennifer
"Kevin Stone" <[EMAIL PROTECTED]> wrote in message
004301c1e633$e1e20090$6601a8c0@kevin">news:004301c1e633$e1e20090$6601a8c0
Thank you Jason and Kevin for your time and help.
Does this look like what I should have?
if(isset($update))
for ($i=0; $i";
Jennifer
"Jason Wong" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]...
> On Thursday 18 April 2002 00:11, Jennifer Downey wrote:
e table
if that condition < 1
echo that it can't be found
else
echo the form
But in this case even if the condition < 1 it still echoes the form.
I am not understanding this.
Thanks for your time and help
Jennifer
--
The sleeper has awaken
---
Outgoing mail is certified Virus
em to locate this item";
}
else
{
do this
}
So yes I have done exactly as you have stated and it still shows the form.
Jennifer
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.351 / Virus Database: 197 - Release Date: 4/19/2002
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
> -Original Message-
> From: Jennifer Downey [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, April 23, 2002 12:23 PM
> To: [EMAIL PROTECTED]
> Subject: Re: [PHP] If else question
>
>
>
> > If and else expect to be followed by exactly 1 statement. To aggregate
>
PLEASE TAKE THIS OUT OF MY THREAD.
I am trying to get an answer to my question. Not yours.
Thank you
Jennifer
"Stuart Dallas" <[EMAIL PROTECTED]> wrote in message
000d01c1eae5$96243450$de01420a@stuart">news:000d01c1eae5$96243450$de01420a@stuart...
> José León Sern
at is not the case.
I have used this code through out my site and this is the only part it does
this on and I am not understanding why.
Jennifer
"Natalie Leotta" <[EMAIL PROTECTED]> wrote in message
7546CB15C0A1D311BF0D0004AC4C4B0C024ABFC4@SSIMSEXCHNG">news:7546CB15C0A
No this is the first if statement but there are nested if's after that. I'd
post the code but everyone yells at me about my coding style.
If you promise not to yell I will post it.
Jennifer
"-Bd-" <[EMAIL PROTECTED]> wrote in message
001d01c1eae9$d58f4360$[EMAIL PRO
option="Feed my pet\n";
}
else
{
//if book or weapon is present then set a blank
$thisoption="";
}
}
}
}
}
//check if form has been submitted
if($submit)
{
}
else
{
//if the form has not been submitted run the following
ec
u certain the mysql_query() is successful? I ask, because
> you
> > don't have the "or die()" that SHOULD be on all queries.
> >
> > Third, have you printed out all the values fetched via
mysql_fetch_array()
> > to ensure they contain valid data?
Ok I have hard coded $quantity so it does = 0 and else still prints.
"Maxim Maletsky )" <[EMAIL PROTECTED]> wrote in message
004701c1eaf1$c915c6b0$92e3021a@machine52">news:004701c1eaf1$c915c6b0$92e3021a@machine52...
>
> Try this, Jennifer:
>
> Without messi
ollowing
echo "";
echo "";
echo "$thisoption";
echo "Put in my shop";
echo "Put into my Footlocker";
echo "Discard this item";
echo "Donate this item";
echo "";
echo "";
e
Hi all,
Would you please direct your attention to this URL
http://testphp.netfirms.com/code1.html
Look at the bottom where the big orange commented syntax is and explain what
is going on there?
Thanks
Jennifer
--
The sleeper has awaken
---
Outgoing mail is certified Virus Free.
Checked by
hanks
Jennifer
--
The sleeper has awaken
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.351 / Virus Database: 197 - Release Date: 4/19/2002
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.ph
emailchange? Click here";
echo "This is a ";
echo "";
echo "Abuse";
echo "Bug";
echo "Employment";
echo " Report";
echo "The message is";
echo "";
echo "";
echo "";
echo "";
}
Th
echo "$display_block";
if ($column > 5)
{
echo "";
$column = 1;
}
echo"";
}
}
Thanks for your time and help
Jennifer
--
The sleeper has awaken
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (h
Ok so is there a tutorial on how to write the code to generate the key and
the image?
Please point me to it.
Thanks
Jennifer
"R" <[EMAIL PROTECTED]> wrote in message
007501c1f304$3c1607a0$0a6da8c0@lgwezec83s94bn">news:007501c1f304$3c1607a0$0a6da8c0@lgwezec83s94bn...
>
0, 13:00, etc.)
come out fine.
Could the data that's failing strtotime have been corrupted on data-entry?
Why does is_string on this data tell me it's a string?
--Jennifer Koenig
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
It was staring me right in the face - the data that wasn't working was typed
(by Europeans) as 6.30 instead of 6:30. So it was a string whose format was
unacceptable as a Unix timestamp format.
--Jennifer Koenig
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit:
likely as a problem?
thanks.
-jennifer
--- Kevin Stone <[EMAIL PROTECTED]> wrote:
> Jennifer, works just fine here..
>
> -
> $fp =
>
fopen("http://www.thedeal.com/NASApp/cs/ContentServer?pagename=TheDeal/xmlfe
> ed","r");
> if ($fp !== FALSE)
&g
r.php:
You have won!";
}else{
print("Sorry that wasn't the answer");
}
?>
Any help would be appreciated.
Thanks in advance
Jennifer Downey
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hi all,
I am no DHTML expert and don't even know the language also didn't know where
to post this. But after today I am going to learn.
I downloaded a tetris game from Dynamic Drive:
http://www.dynamicdrive.com/dynamicindex12/tetris/index.htm
Have a look. I would add it here but it's too long.
rchar(20) NOT NULL default '',
pet_date date NOT NULL default '-00-00',
num_pets int(1) NOT NULL default '0',
) TYPE=MyISAM;
Thanks
Jennifer Downey
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hi all,
Here is what I have and what I am trying to do.
I would like the user name to be printed in the Username text box but can't
seem to get it there.
I don't want the user to have to type there username in, just click the
submit button and it is entered into the db.
Can anyone show me what
Hi all,
Could someone point me to a tutorial on the proper way to format code. To
make it more readable.
TIA
Jennifer
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.344 / Virus Database: 191 - Release Date: 4/2/2002
Thank you all for your input. I will read through the tutorial and then
figure out which style I want to use.
I appreciate your time.
Jennifer
"Jennifer Downey" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Hi all,
>
> Cou
echo "done" or die("Not!");
}
}
}
elseif($type==food)
{
echo "";
echo "Feed my pet";
echo "Put in my shop";
echo "Put into my Footlocker";
echo "Discard this item";
echo "Donate this it
Actually after the submit button is clicked it returns a blank page.
"Jennifer Downey" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Hi all,
>
> Now I have a weird problem. I am using this code and can't understand why
i
Hi everyone,
I have a question about this code. The way it sits now it always shows the
last record in the table.
in other words if the user has 6 items, like:
item id 1
item id 2
item id 5
item id 6
item id 7
item id 8
it will only show the last record item id 8.
I believe it has something to
My apologies for putting this in the wrong list.
Jennifer
"Jennifer Downey" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Hi everyone,
>
> I have a question about this code. The way it sits now it always shows the
>
al on proper code formatting and got back a tutorial that was
extremely hard to understand. While lots of people have screamed at me for
my coding format no one has supplied an understandable answer. That is
until this morning.
>From Paul Burney :
Hi Jennifer,
The first thing you should do is
disk space, 10 to 15gig /m transfer, of course
PHP and MySQL, ftp, ssh or telnet, cgi/perl, free domain transfer, at least
15 POP3 email accounts, cron support.
Thanks
Jennifer
--
The sleeper has awaken
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http
> >> $token = md5(uniqid(rand(), true));
> >>
> >> .. is a pretty bad idea, since the output could include quotes,
> >> newlines, low-ascii-characters, thereby messing up the form.
> >How do you figure that? md5() only returns 0-9 and a-f characters.
>
> From the manual: http://php.net/md5
>
> -Original Message-
> From: bskolb [mailto:[EMAIL PROTECTED]
> Sent: Friday, August 27, 2004 3:59 PM
> To: [EMAIL PROTECTED]
> Subject: [PHP] Dynamic Function with return?
>
>
> Sample Code:
>
> //
> function testFunction($foo) {
> return $foo=="TES
-- Original message from blackwater dev : --
> I need some help...I am helping a local business with a site which
> needs to connect to a mssql db, my webhost uses linux and compiled php
> with the freetds library and when I go to the info page..it does show
> Microsoft
-- Original message from blackwater dev : --
> I have tried recompiling with --with-mssql and --with-mssql=/usr/include/freetds
> It all appears to compile correctly, except the info page does not
> reflect the config was done with mssql at all. below is a snippet of
>
-- Original message from blackwater dev : --
> the date is a very good question? Here is the info from my system
>
> -rwxr-xr-x 1 root root 1371932 Sep 1 19:50 /usr/bin/php
>
> Not sure why its showing that date - Apache has been restarted.
>
Are you sure apache i
-- Original message from Monty : --
> Anyone! I'm out of online resources and answers. I guess this isn't possible
> to do...
>
> > I've been reading for the last three days about character encodings and
> > such, but, have still been unable to figure out what I think
-- Original message from Kristopher Spencer-Yates : --
> As many of you may have noticed, A friend and I have noticed the odd
> text at the bottom of spam. My friend once stated "What if this is some
> secret code.. they send it to everyone to hide that it is code.. bu
-- Original message from "John Holmes" : --
> Whatever happened to those monthly stat posts? most posts, most posts per
> thread, etc...?? Who was doing that? I haven't seen one in a while.
>
> ---John Holmes...
>
Bill Doerrfeld
http://marc.theaimsgroup.com/?a=9211645
-- Original message from "Chris Boget" : --
> Parse error: parse error, expecting `','' or `';'' in
> /usr/local/etc/httpd/domains/eazypro.com/interactive/cron_scripts/test/rate_
> version.php on line 9
>
> with line 9 being this line:
>
> var $MyVar = MyEnums::thisVa
-- Original message from "Matthew Sims" : --
>
> www.thewb.com (uses PHP for the interactive areas such as message
> boards, polls, etc.)
>
Up until September 2003 I was the developer for PHP applications for this site. To
the best of my knowledge the message board i
-- Original message from Janke Dávid : --
> The sample code (in seperate, this piece of code runs with normal speed,
> but it is this part which runs slowly when executed as a whole,
> everything else is fast):
>
>
> $sqlquery = "SELECT sh_Number, sh_Status FROM servi
-- Original message from "Chuck Barnett" : --
> Hi, my new server has fopen by url disabled. My ISP doesn't want to turn it
> on. So is there a way to do an equivilant function some other way? I need
> to read a remote webpage and manipulate it.
>
> Thanks,
> Chuck
-- Original message --
From: Niels <[EMAIL PROTECTED]>
> Hi list,
>
> I'm doing an intranet website for managing users. I need to be able to
> change passwords, move files and folders around and that kind of thing.
> What is the best way?
>
I wouldn't use system
-- Original message --
From: Niels <[EMAIL PROTECTED]>
> Jennifer Goodie wrote:
>
> > I wouldn't use system calls to move files around. PHP has built in file
> > system functions. Why shell out to do something that is built in?
>
-- Original message --
From: "Richard Lynch" <[EMAIL PROTECTED]>
> On Thu, May 12, 2005 4:43 pm, Chris Shiflett said:
> > From me:
> > The fact that it uses the character set of your current connection to
> > MySQL means that what your escaping function considers t
-- Original message from Mike Tuller <[EMAIL PROTECTED]>: --
> Ok, so here is what I have. Please check to see if there is a better
> way. There are a lot of database calls to me.
There are. Do it in one query.
>
> $query = "SELECT * FROM hardware_assets WHERE etherne
-- Original message --
From: "Louis O'Carroll" <[EMAIL PROTECTED]>
> Hi,
> is there a function that gets the screen resolution of the user?
> you can also reply directly to me... [EMAIL PROTECTED]
>
> Thanks,
> Louis
Search the archives before posting. This was d
-- Original message --
From: Jeff Oien <[EMAIL PROTECTED]>
> //always gives error message even if one of the two codes entered:
> if ($Promotion_Sub == 'Checked' && ($code != 'D04E' || $code != 'Y04KG')) {
If $code is D04K then it is not Y04KG making the statement
-- Original message --
From: "Richard Lynch" <[EMAIL PROTECTED]>
> Please Cc: me, as it's been quite some time since I posted 50 emails per
> day to this list... :-^
>
>
> I'm interested in anybody's experience, good or bad, in what I am naively
> coining as a "Pr
-- Original message --
From: Sam Smith <[EMAIL PROTECTED]>
>
> I've got it working writing out a file (fopen) to CSV (comma delimited) and
> the "header('Content-Disposition: attachment; filename="myFile.csv"')"
> method but it's clumsy for the user to figure out h
-- Original message --
From: "Tom Rawson" <[EMAIL PROTECTED]>
> I have many places where I use references like this:
>
> if ($fields['flags']['someflag']) ...
>
> or perhaps
>
> if ($_POST['checkboxfieldname']) ...
>
> If there is no value for 'somef
-- Original message --
From: Jason Barnett <[EMAIL PROTECTED]>
> T.J. Mahaffey wrote:
> > First time post, please be gentle.
>
> You will probably find parse_url() to be useful:
> http://www.php.net/manual/en/function.parse-url.php
>
>
> $url =
> "http://usern
I am such a newbie it's not funny. I have a php bible and I am checking the
code on three different websites.
I was wondering if someone had some sample code on this:
I want to list field1 from a mysql db - (I can do that) - but I want to put
a hyperlink so the user can click it and go into t
101 - 198 of 198 matches
Mail list logo