0+ if statements
for checking to see if the value of $county equals the value of the field I am
drop down choice.
Anyone have some quick solutions?
I have radio buttons as well, but going to use a drop-down list for the editing
pages to make it all simple.
Thanks!
Robert
--
Robert Sossomon, Bus
so if the mail
server is set correctly in the ini file and on the same system), but without
more information, can't really help you except to point you to the manual or
Google.
PHP.net:
http://us2.php.net/mail
Google:
http://www.google.com/search?sourceid=mozclient&ie=utf-8&oe=utf-8&
/help would be greatly appreciated!
Robert
--
Robert Sossomon, Business and Technology Application Technician
4-H Youth Development Department
512 BrickHaven Drive Suite 220L, Campus Box 7606
N.C. State University
Raleigh NC 27695-7606
Phone: 919/515-8474
Fax: 919/515-7812
[EMAIL PROTECTED
locking the best option here or is/are there
better ways?
Please advise.
--
Roger
---
Sign Up for free Email at http://ureg.home.net.my/
---
--
Robert Sossomon, Business and Technology Application Technician
4-H Youth Development Departm
$fields = $_POST[field];
foreach ($fields as $field)
{
$currentType = next($type);
$currentChar = next($char);
// Do the stuff
}
Thanks!! I knew I was missing something simple in doing this!
Robert
--
Robert Sossomon, Business and Technology Application Technician
4-H Youth Development
] char[0]
process the data and then move to the next one in all three.
I am thinking
$fields = $_POST[field];
foreach ($fields as $field)
{
Do the stuff
}
But I am a bit perplexed on how to operate on all three.
Thanks,
Robert
--
Robert Sossomon, Business and Technology Application Technician
4-H Youth
I need a really good primer for working with arrays in PHP and with MySQL. I
can do what I need to do without them right now, but I would really like to get
arrays figured out.
Any have some good ones?
Thanks!
Robert
--
Robert Sossomon, Business and Technology Application Technician
4-H Youth
p to see where a hit came from?
Or should I redirect to an interim page that simply redirects again to
the thankyou.php one (which won't stop someone from hitting back twice,
but it's just an extra thing.) What (other) ways have people found that
works?
-- A
--
Robert Sos
Look in /etc/httpd/conf.d/php.conf
For a buddy with a file upload need I set it to this:
SetOutputFilter PHP
SetInputFilter PHP
LimitRequestBody 760217600
You will need to set your upload limit higher in this file for it to work
correctly.
Robert
--
Robert Sossomon, Business and
Anyone know of any classes or files for a way to write an Access readable file
from PHP and MySQL?
Thanks!
Robert
--
Robert Sossomon, Business and Technology Application Technician
4-H Youth Development Department
200 Ricks Hall, Campus Box 7606
N.C. State University
Raleigh NC 27695-7606
Phone
WARNING:This email contained partisan views - dont ever accuse me of
using the veneer of objectivity
If you have a problem emailing me use
http://www.gurtlush.org.uk/profiles.php?uid=4
(email address this email is sent from may be defunct)
--
Robert Sossomon, Business and Technology Application Techn
Anyone know of some scripts to email ringtones/graphics to your cell phone?
Thanks,
Robert
--
Robert Sossomon, Business and Technology Application Technician
4-H Youth Development Department
200 Ricks Hall, Campus Box 7606
N.C. State University
Raleigh NC 27695-7606
Phone: 919/515-8474
Fax: 919
Anyone have some good free auction scripts? I can write what I want it to do,
but why re-invent the wheel if I can find one at a great price (FREE)?
Thanks,
Robert
--
Robert Sossomon, Business and Technology Application Technician
4-H Youth Development Department
200 Ricks Hall, Campus Box 7606
ne29
$0506distoffice= $_POST['05_06_dist_office'];
$former= $_POST[former];
$achieve= $_POST[achieve];
?>
I pulled out the iterations above that line of code and tested it separately.
Everything worked OK, so I copied it into the rest of the PHP processing.
This thing is driving
s in the iterations, but I can't place my finger
on where I need to change things up.
--
Robert Sossomon, Business and Technology Application Technician
4-H Youth Development Department
200 Ricks Hall, Campus Box 7606
N.C. State University
Raleigh NC 27695-7606
Phone: 919/515-8474
Fax: 919/51
ve to use checkboxes with different names with the javascript checkers I am
using, since they seem to be working, however I can't seem to get the PHP in the
parser to write the variables. Any ideas?
for ($j=1, $j<5, $j++)
{
$choices.$j= $_POST['choice'.$i];
}
Thanks,
Ro
Parse error: parse error, expecting `';''
coded:
--
Robert Sossomon, Business and Technology Application Technician
4-H Youth Development Department
200 Ricks Hall, Campus Box 7606
N.C. State University
Raleigh NC 27695-7606
Phone: 919/515-8474
Fax: 919/515-7812
[EMAIL PR
project when they opted to outsource).
--
Robert Sossomon, Business and Technology Application Technician
4-H Youth Development Department
200 Ricks Hall, Campus Box 7606
N.C. State University
Raleigh NC 27695-7606
Phone: 919/515-8474
Fax: 919/515-7812
[EMAIL PROTECTED]
--
PHP General Mailing
ru
01-14-05)$65";
}
else if ($today >= "01-15-05" || $today <= "01-31-05")
{
print "Registration (01-15-05 thru
01-31-05)$95";
print "Registration for Saturday Only (01-15-05 thru
01-31-05)$70";
}
?>
Thanks,
Robert
--
Robert Sossomon, Business and T
"submit" key?
I've been trying different combinations, and am sure it is something simple I
have boffed.
Thanks,
Robert
--
Robert Sossomon, Business and Technology Application Technician
4-H Youth Development Department
200 Ricks Hall, Campus Box 7606
N.C. State University
Raleigh
Richard Lynch is quoted as saying on 12/1/2004 2:57 PM:
Robert Sossomon wrote:
Parse error: parse error, expecting `']'' in file.php
Unfortunately?? I knew exactly where the code was breaking (the lines I posted)
since before I added those lines of code the script worked witho
POST[Attend_7_7]','$_POST[Attend_8_7]','$_POST[Attend_9_7]','$_POST[Attend_10_7]','$_POST[Attend_1_8]','$_POST[Attend_2_8]','$_POST[Attend_3_8]','$_POST[Attend_4_8]','$_POST[Attend_5_8]','$_POST[Attend_6_8]'
works!!
--
Robert Sossomon, Business and Technology Application Technician
4-H Youth Development Department
200 Ricks Hall, Campus Box 7606
N.C. State University
Raleigh NC 27695-7606
Phone: 919/515-8474
Fax: 919/515-7812
[EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe,
resource in <
b>C:\fourh\spotlight3.php on line 32
--
Robert Sossomon, Business and Technology Application Technician
4-H Youth Development Department
200 Ricks Hall, Campus Box 7606
N.C. State University
Raleigh NC 27695-7606
Phone: 919/515-8474
Fax: 919/515-7812
[EMAIL PROTECTED]
--
PHP
and will show a random image
print "\n";
?>
--
Robert Sossomon, Business and Technology Application Technician
4-H Youth Development Department
200 Ricks Hall, Campus Box 7606
N.C. State University
Raleigh NC 27695-7606
Phone: 919/515-8474
Fax: 919/515-7812
[EMAIL PROTECTED]
--
PHP
:
imagesx(): supplied argument is not a valid Image resource
when I try to get the information from a file.
anyone have a clue?
Thanks,
Robert
--
Robert Sossomon, Business and Technology Application Technician
4-H Youth Development Department
200 Ricks Hall, Campus Box 7606
N.C. State University
Raleigh
I'm guessing Red Hat Enterprise or at least the kernel I'm using (which is
the latest RH kernel) qualifies under the Linux category above. Also, with
the application I'm writing, I need to deal with dates after 2038 too. So
that is why I'm investigating alternatives - just because I'd like some
ed it. Any
suggestions?
Thanks,
Robert
--
Robert Sossomon, Business and Technology Application Technician
4-H Youth Development Department
200 Ricks Hall, Campus Box 7606
N.C. State University
Raleigh NC 27695-7606
Phone: 919/515-8474
Fax: 919/515-7812
[EMAIL PROTECTED]
--
PHP General Mailing
Matthew Weier O'Phinney is quoted as saying on 11/15/2004 3:01 PM:
* Robert Sossomon <[EMAIL PROTECTED]>:
http://php.net/strtotime
Specifically, try the following:
// $date is the date as pulled from the MySQL table
$convertedDate = date("m-d-y", strtotime($date));
Here
";
$out_url = "/saved_quotes/$user-$num$time.pdf";
$tempfile = fopen($tempfilename,'w');
fwrite($tempfile, $html);
fclose($tempfile);
$last_line = system("/usr/local/bin/html2ps $tempfilename > $outps", $retval);
$last_line = system("/usr/bin/ps2pdf $outp
ould have had this done already doing it one line @ a time, however I want to
be able to change either form at any time and have only 2 pieces of code to change.
Thanks for the help so far guys.
Robert
--
Robert Sossomon, Business and Technology Application Technician
4-H Youth Development De
ith me as to
what the new error message looks like.
Robert
--
Robert Sossomon, Business and Technology Application Technician
4-H Youth Development Department
200 Ricks Hall, Campus Box 7606
N.C. State University
Raleigh NC 27695-7606
Phone: 919/515-8474
Fax: 919/515-7812
[EMAIL PROTECTED]
--
parse error, unexpected T_VARIABLE,
expecting ']' in /home/public/html/depts/fourh/curriculum_form_post.php on line 19
-
How can I go about iterating through the script? or do I just need to write 20
if/else statements and separate inserts?
Thanks,
Robert
--
Robert S
no errors reported.
Also ran phpinfo(); (as suggested by Jay Blanchard) which worked without
problem. The settings under GD were all enabled for the common image types.
Anybody see any glaring errors in the following?
Here's the html:
And here's the php:
--
Rober
ter = strtotime("now");
$timed = ($after - $before);
echo 'Time for script to execute: ' . $timed .' seconds';
?>
Robert
Mike Tuller is quoted as saying on 10/28/2004 5:19 PM:
Ok, so here is what I have. Please check to see if there is a better
way. There are a
Jay Blanchard is quoted as saying on 10/6/2004 4:49 PM:
[snip]
i know this isn't completely related to php but i am creating a web
based
news reader in php, how much disk space do you think i need to run my
own
local news server?
[/snip]
I'd go with a 1TB RAID
Only 1TB??
--
PHP General Mailing L
wrote:
Would you mind sharing what it was so that it hits the archives and a
few 'enquiring minds'?
it probably was the LimitRequestBody apache directive which is set to
512 Kb in some 'out of the box' installations.
--
Robert Sossomon, Business and Technology Application Technic
Whoops.
I am planning to do an upload of HTML files that are written from Belarc
Advisor or from another utility that checks your system and creates a
profile.
Robert
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
What I would like to do is upload a file and have PHP parse the file and
dump the information into a MySQL database, putting the information into
select tables. I believe I can do everything EXCEPT parse the page.
Anyone have some insight (or direct links) to some examples on what to
use to do
TED]
[snip]
Where can I start?
[/snip]
http://www.google.com
--
Robert Sossomon, Webmaster and IT Guru
4-H Youth Development Department
200 Ricks Hall, Campus Box 7606
N.C. State University
Raleigh NC 27695-7606
Phone: 919/515-8474
Fax: 919/515-7812
[EMAIL PROTECTED]
--
PHP General Mailing Lis
x27;s the BEST way to go around doing this so that it is dynamically
created?
Thanks,
Robert
--
Robert Sossomon, Webmaster and IT Guru
4-H Youth Development Department
200 Ricks Hall, Campus Box 7606
N.C. State University
Raleigh NC 27695-7606
Phone: 919/515-8474
Fax: 919/515-7812
[EMAIL PRO
Sorry, day late and a dollar short on that one... Never once thought
about using an array, but after seeing John's and Curt's emails on it
(when I realized I was NOT at the top of my emails) I saw how brilliant
a solution that is...
Robert
--
PHP General Mailing List (http://www.php.net/)
To un
You need to do:
Keeping the name the same makes them a RADIO button and you will only
get the last one.
Robert
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
It looks like you need to reset the $state variables each loop through
so that they are all empty, hence when you get to west virginia and
wisconsin they are but empties behind them
Heck, personally I'd just add another cell to the table and make it have
the full name in, then just use that column
-Original Message-
From: Bruno Santos [mailto:[EMAIL PROTECTED]
Sent: Wednesday, July 21, 2004 11:05 AM
To: [EMAIL PROTECTED]
Subject: [PHP] URL
Hello All.
Im developing a couple of pages and i need to do some redirecting to
another page depending on the choice of a user.
Since you a
>Is anyone taking a dynamic PHP / MySQL site and storing or cacheing it
statically in
>order for pages to display more quickly when visitors access the site?
If so, what
>solutions are you using to achieve this?
I looked at doing it, wrote a single PHP-page that when I accessed would
make stati
I was wondering if anyone knew of a way to log all GET and POST
information being passed to a log file?
Thanks,
Robert
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Anyone know how to write pocket excel files and how to write the
contacts file for pocket PC? I want to let my users download files
straight to their pocket PCs without having to run a conversion process
in the middle.
Thanks,
Robert
--
PHP General Mailing List (http://www.php.net/)
To unsubscr
That just put me right back at the beginning, IE trying to DL the PHP
page...
I have php 4.2.2 installed at this moment as well...
Robert
-Original Message-
From: Frank M. Kromann [mailto:[EMAIL PROTECTED]
Sent: Monday, June 28, 2004 3:58 PM
To: Robert Sossomon
Cc: [EMAIL PROTECTED
That just made IE put it out in "data" style, Excel didn't open up.
:(
Any other thoughts?
-Original Message-
From: Frank M. Kromann [mailto:[EMAIL PROTECTED]
Sent: Monday, June 28, 2004 2:47 PM
To: Robert Sossomon
Cc: [EMAIL PROTECTED]
Subject: Re: [PHP] Works in Moz
I have the script below from another source, and it works prefectly in
Mozilla, however IE keeps wanting to save the PHP page and then barfs.
Any ways to fix and make it work for both?
TIA!
Robert
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/u
I actually found the perfect answer to this task in Google Answers.
First you will need to know how your database tables are set up,
secondly you need to figure out field names and such, thirdly you grab
the data from the form and dump it into an insert statement (or update
if the information was i
document:
value="10in. COMP.PLATE " CONCORDE " 4/125"
Robert
-Original Message-
From: Jay Blanchard [mailto:[EMAIL PROTECTED]
Sent: Friday, June 18, 2004 2:58 PM
To: Robert Sossomon; [EMAIL PROTECTED]
Subject: RE: [PHP] " in data
[snip]
I guess I need to fi
I tried the "addslashes" on the pages and in combination of using "
to bring in the data to begin with, it works somewhat, where I am
running into a problem now is the 2nd time it pulls the data out (it
adds it back in with ") I am getting the same errors. I have tried
using the "addslashes" and w
I have data with "something" in it and when I pull that data and dump it
into an HTML form I am losing everything that is after the first " .
Has anyone encountered this before, and have a way to patch it?
TIA
RObert
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http:
I have two frames (A and main)
When I pull up one page it reloads main with the full page, however what
I need the system to do when I click off that page is to jump to
main.html and load item.html in the top.
Main.html currently loads 2 other pages at the beginning.
I have tried to jump them in
THANKS!!
Worked like a charm.
Robert
-Original Message-
From: Jason Wong [mailto:[EMAIL PROTECTED]
Sent: Friday, June 18, 2004 8:52 AM
To: [EMAIL PROTECTED]
Subject: Re: [PHP] Getting values?
On Friday 18 June 2004 20:38, Robert Sossomon wrote:
> if ($_POST[comment-$i] != "
I have a form that uses -$i in it to create multiple write boxes for
editing the information. It then passes that information to another
script that read through and modifies the DB based on the information.
I have this code in my parsing script and I know it is BC of the way I
am accessing data,
I have been looking but have not found yet of a way to generate an excel
file with multiple pages using a PHP page. I was hoping someone here
might have hit on a multiple page document. I can do a single file, but
was looking for something a little more powerful before I try to create
my own. No
-Original Message-
From: Bruno Santos [mailto:[EMAIL PROTECTED]
Sent: Monday, June 14, 2004 4:04 PM
To: Robert Sossomon
Cc: [EMAIL PROTECTED]
Subject: Re: [PHP] php and CSS
Robert Sossomon wrote:
> Bruno,
>
> Drop some code our way, it's just a guessing game for
Bruno,
Drop some code our way, it's just a guessing game for me without it.
Robert
-Original Message-
From: Bruno Santos [mailto:[EMAIL PROTECTED]
Sent: Monday, June 14, 2004 3:28 PM
To: [EMAIL PROTECTED]
Subject: [PHP] php and CSS
Hello all.
Im deleloping some PHP pages for school
I need to load 2 frames from within PHP, I just don't know how to do it.
I have tried header calls, I've tried echoing out the javascript
command, but I need a way to load the pages at one time.
Layout:
add
List
see
You use list to add information, when things are added in add
cript load 2 pages.
Any thoughts?
-Original Message-----
From: Robert Sossomon [mailto:[EMAIL PROTECTED]
Sent: Monday, June 14, 2004 2:44 PM
To: PHP List
Subject: [PHP] Erroring out?!
I am trying to figure out why if there is an error in my query it throws
an error message to the screen
I am trying to figure out why if there is an error in my query it throws
an error message to the screen instead of parsing the rest of my script
to get the rest of the information. I have error checking in my script
and if there is no information I want it to process and do things.
I run this:
pa
Here is a piece of my code in my PHP, I am trying to reload frame C with
updated information and reload the current page into the current frame.
Can someone tell me where I am going wrong?
if (mysql_num_rows($get_query_res) < 1){
//invalid id, send away
header("parent.C.location.href =
\"show.html
I am in need of a way to reload a page within a frame as the other
frames are used to modify the information.
I have a 3-frame site now that I am using 1 frame as a list, another
frame to add the information, and the 3rd frame to show the results of
the 2nd frame. I know how to do the location: U
Yeah, you have $number which is the total number of rows, right? so just
change the if piece to actually count...
$j = 0;
while ($i <= $number){
//first 8 rows done here
if ($j <= 8)
{
//print statement here
$j++;
$i++;
}
//this piece does the next 8 rows
else
{
//other print statemen
Run: rpm -q php-mysql
>From the command line as root and see if it is there, if not go out and
download the fedora rpm with that in the title, since that would be the
missing piece.
HTH,
Robert
-Original Message-
From: Nunners [mailto:[EMAIL PROTECTED]
Sent: Friday, June 04, 2004 8:07 A
> table name 'Selections'
>
> (rows) RoundGameName Winner Points
> data eg 1 1mark Hawthorn 4
> (if team is a winner then 4 points added)
>
>1 2mark Geelong 0
>
Assuming y
t; if (isset ($submit)) {
> $query = "INSERT INTO . . . ";
> $query_result = @mysql_query ($query);
> }
>
> If the form is submitted, then the values in all the form fields
> (including any changes) will go into the database. If it's not submitted,
> the c
I am looking for a tutorial or a already created class or file that I can
use to learn how to create a form that is populated from a database table
that can be edited in every row and column and takes only 1 SAVE button to
upload all the changes.
Thanks,
Robert
--
PHP General Mailing List (http:
I still stick with the old rule:
If it takes more then 2 seconds to load anything, 5 seconds to do a
complete page with lots of images on dial-up then you have to go back to
the drawing board. 2-5 seconds has always been your window to get a
page to load and keep the visitor. On top of that stay
It's fixed now..
If using Apache on RedHat here is everything to fix at once:
FIRST AND FOREMOST DECIDE THE MAX SIZE YOU WANT IN MB, ADD A COUPLE MORE
TO IT, AND THEN CONVERT TO BYTES (MB * 1024 * 1024)
1. httpd/conf.d/php.conf
LimitRequestBody ?? #byte size you calculated
2.
I get this error message now in my httpd error log:
[Wed May 12 10:07:01 2004] [error] [client 66.43.177.38] Requested
content-length of 69888498 is larger than the configured limit of
524288, referer: http://dinghy.homeip.net/upload.php
Any thoughts?
TIA!
Robert
-Original Message-
Fro
I have an upload script that I am trying to allow for 725MB, I have
written the script to handle files of that size, and I modified the
upload_max_filesize = 730M
I tried uploading a 15MB file and it blew up (current error message is
not in my brain).
Is there a true max size or do I just have so
My IF statement should be picking up on the numbers, and if the number
matches not be displaying out the information, however I look at the
outputted page and the information is still there, what have I got wrong
on the code?
//Show categories first
$get_cats = "select id_num, id_name, descriptio
Here's the solution I came up with that works for the site:
$display_block .= "";
I am only using the PHP parser once instead of twice, the \n makes the
whole thing nicely readable in the HTML source files that are generated,
and the paths were modified (and the navigation templates were as
x27;t find the right files. It's on track and working all neat
and tidy now.
Thanks for the help guys! I still feel like a doofus though...
Robert
-Original Message-
From: Richard Harb [mailto:[EMAIL PROTECTED]
Sent: Thursday, April 22, 2004 11:46 AM
To: Robert Sossomon
Cc: [
ECTED]
Subject: Re: [PHP] Adding includes to files
From: "Robert Sossomon" <[EMAIL PROTECTED]>
> I need to add PHP calls to include a file to each page as it is
> generated, the only thing is I can't get the includes to come through
> correctly:
>
>
>
I need to add PHP calls to include a file to each page as it is
generated, the only thing is I can't get the includes to come through
correctly:
$display_block .= "";
$display_block .= "";
At the end of the generation I write $display_block to a file as
$display_block holds all the data i
I am pulling data from a MySQL DB and I need to remove the whitespace on
the variable and turn it to lowercase.
$get_items = "select * from PFS_items";
$get_items_res = mysql_query($get_items) or die(mysql_error());
while ($items = mysql_fetch_array($get_items_res))
{
$item_id = $items[id];
$i
How are you passing the name through?? If using a form to do it then just
use the $_POST[name] or $_GET[name] in the logfile. You have to have the
name pull in the previous page, just pass it through:
or:
got it will try that instead..
>
> - Original Message -
> From: "John W. Holmes"
I'm looking into this and getting all my ducks in a row before I get
buried here, but I'm hoping you guys might have the answers since so far
my search has been fruitless.
I have the PDF librarys from FPDF and from Potential Tech, I have not
decided which one to use yet.
If you follow this and th
Just place
In your web page in the location where the little box is. Word wrap
typically only happens with images though, so you may have to turn your
text into an image, in which case you could just use a javascript
commands to change the image as needed. If you are including the text
into a
I know this is way off topic, but I figured some or most have hit upon
this problem, or may very well in the future. I have been looking for
and not really found a reference online or a hardcopy book that will
tell me how to write a PALM or winDoze pocket PC application that when I
sync it to the
It may wind up being a user-learning issue.
I dump things to pipe delimited file (whether in *nix land or winDoze)
and that way the users can open it in Excel. The ones who have to open
the files I just go to their desks the first time and show them how to
open the file, delimit it on the | and t
A LOT of this is pure speculation though, which is why I sent the one I
did. Since with it he can patch whatever data he gets from $line into
his code wherever he needs it, whether he flat file is pure text or some
HTML or if the output is going to be a drop-down list (nl2br wouldn't
work in this
There was a wong answer and then there is the right answer:
$fp = fopen($file,"r");
while (!feof($fp))
{
$line = fgets($fp, 4096); //gets one line at a time
echo $line; // Or whatever else you want to do
}
fclose($fp);
HTH.
Robert
--
PHP General Mailing List (http://www.php.n
Yuck!!
I personally turned off flash in all of my browsers and cut it out of
the systems in the office. It's a resource hog, it's a pain in the
buttocks on a page, and now sites are using it for ads. So on top of
having most registered ad servers blocked via hosts file I run pop-up
killers on ev
I use a DB table to manage my users, I do not have to worry about
locking it down to one user, however one thought is to track the user
into a temporary DB, if the user name is there and the sessionID does
NOT match the one in the DB, then the user is not granted permission to
access the programs.
Output this to a new file each time and then use a blind page refresh
via
$output = "
function openpopup(){
var popurl=\"$launch\"
winpops=window.open(popurl,\"\",\"width=400,height=338,toolbar,location,
directories,status,scrollbars,menubar,resizable,\")
}
openpopup()
";
if($file=fopen($pop.h
Duh, OK, Now I REALLY feel stupid. With the current setup using the
.htaccess files and everything I have in place all I needed to do was
get the information from: $_SERVER['PHP_AUTH_USER'] and
$_SERVER['PHP_AUTH_PW']. I kept thinking I had to use PHP to set those
values. Thanks guys!! Works lik
statement
~~~
-Original Message-
From: Chris Shiflett [mailto:[EMAIL PROTECTED]
Sent: Tuesday, December 16, 2003 11:53 AM
To: Robert Sossomon; [EMAIL PROTECTED]
Subject: Re: [PHP] Authentication
--- Robert Sossomon <[EMAIL PROTECTED]> wrote:
> I currently use a .htaccess file for users to login
I currently use a .htaccess file for users to login, and now I need to
make some changes to how the site works.
I need to be able to have the users login, and once that is done the
login needs to be used to pass through the database. And to pull files
from a directory as nobody seems to listen wh
Personally, as a design practice I would make the 2 tables in their own
separate database. This would allow it to port anywhere, even a new
server you bring online and shift everything to. I have been working on
a catalog/quote system for our salesmen to use and have given it to a
sister corporat
Hey guys and gals,
I am working on a shopping cart and using some code to write it from 2
temp databases to a full end databases (which will then be used via PERL
to send to an archaic order system) but right now I need to come up with
a way to clear their current session ID after finalizing the o
Explode the kewords list. I have mine explode the keyword and search
the description field. It CAN limit it by category AND/OR by Vendor.
But this will do the trick without the limiters.
$keyword = $_POST[keyword];
$keywords = explode(" ", $keyword);
// so you can search for each word they enter
I have a form that allows for an item to be entered, the other pieces
have been fixed so far that were bogging me down, but now I am looking
for a way to convert any entry in the form to be UPPER case so that when
the quote is listed, they are alphabetical.
The problem is if someone enters aa-12
; 301; $i++){
$display_block .= "$i";
}
$display_block .= "
~~~
A bachelor can only chase a girl until she catches him.
-Original Message-
Fro
I am seeing some errors with a program I wrote and I need to write
everything to a log file that the program is doing.
The following syntax I KNOW is wrong, but not sure they are important to
put here correctly yet.
//script addtocart
$Addcart (info1, info2)
Mysqlquey($addcart)
I am seeing random
1 - 100 of 102 matches
Mail list logo