I am just getting into PDF creation and I am having some issues. Can anyone
send me a simple script that creates a PDF doc. I would like it to open in
the browser after creation, not create a file. If someone has a simple one
with an image placement as well that would be great. I can figure it out
I have created a helpdesk application with a login. I am using sessions to
keep track of information I need for the session.
That information is
User's ID
User's Last Name
User's First Name
If the User is Authenticated
and the type user they are.
Here is the page the form goes to after submitting
Is this the best way to do this?
if(isset($Task) && $Task == "Add") { Do something }
I want to check if the variable is set and if so, if it is "Add".
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
I can not get a variable in a session to unset() and then re-populate and it
is destroyed. Please follow below to get the flow of what I am doing.
I have created a helpdesk application with a login. I am using sessions to
keep track of information I need for the session.
That information is
User'
JPGRAPH is the best I have found so far. Good documentation and great
results. I use it for a lot of graphing purposes, the most being stock
market charts and graphs.
"Joseph Szobody" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
Dennis,
Try this:
http://www.aditus.nu/jpgraph/
Jose
I have a script that loads 13 or more file names into an array. Then at
random I select one of the names out of the array. This files are background
songs used on my webpage. Streaming a different song each time the page is
refreshed or loaded. My issue is I do not want the same song to ever be
pla
If PHP is install the GD modules are already there.
Write a should script and put it on your server and
access it through your web browser. It will tell you if GD is installed and
what version. I do a lot of work with these and would be willing to help you
get started.
By the way, most people her
echo "\$month: ".date(F,strtotime($month))."";
you have escaped the $ by placing the \ in front of it. Remove it.
"Shaun" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Hi,
>
> could someone tell me why this:
>
> $month = date(m);
>echo "\$month: ".date(F,strtotime($month))."
I am using php 4.2.2 with Apache 2.0 on Red Hat 8.0
When I attempt to dynamically aggregate two objects using the
aggregate() call, I get the following message:
Fatal error: Call to undefined function: aggregate()
the man page for aggregate() lists the following info:
aggregate
(PHP 4 >= 4.2.0)
Hi,
Is there a way to find out which function (or which script) called
the function that is currently being executed?
I mean something like perl's caller_function().
Regards,
--
Christopher D. Jarecki
Senior Application Developer
Implix.com
--
PHP General Mailing List (http://www.ph
I believethisto be one way to find out yesterday's date:
$tomorrow = mktime (0,0,0,date("m") ,date("d")-1,date("Y"));
However, I would like to have a snippet of code to tell me how to get the
date of today - 10 days ago.
if today is jul 29, 2002, how do I get the date funtion to tell me 10 day
Ok here is what I did.
$Hist_Time = gmstrftime('%m:%d:%Y', strtotime("-10 days"));
Now I am wondering if there is a way to look for only the last day business
days and be returned in an array?
- Original Message -
From: "Andrey Hristov" <[EMAIL PROT
very nice... thank you!
- Original Message -
From: "Andrey Hristov" <[EMAIL PROTECTED]>
To: "Christopher J. Crane" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Monday, July 29, 2002 12:04 PM
Subject: Re: [PHP] Dates and Date()
> Use while
to someone in fear of someone like you who thinks they are better
then everyone else. The name of this list is not "EXPERTS" or "Only after
you tried several times" it is general.
- Original Message -
From: "1LT John W. Holmes" <[EMAIL PROTECTED]>
inal Message -
> From: "1LT John W. Holmes" <[EMAIL PROTECTED]>
> To: "Christopher J. Crane" <[EMAIL PROTECTED]>; "Andrey Hristov"
> <[EMAIL PROTECTED]>
> Cc: <[EMAIL PROTECTED]>
> Sent: Monday, July 29, 2002 7:12 PM
> Subject:
place.
*/
//==Global Definitions
//
define('SCRIPT_NAME', 'Connecticut Technology Council Directory Maker');
define('SCRIPT_VERSION', 'v1.0');
define('SCRIPT_CREATOR', 'mailto:[EMAIL PROTECTED]";>Christopher
J. Crane');
define(
file://==Global Definitions
file://
define('SCRIPT_NAME', 'Connecticut Technology Council Directory Maker');
define('SCRIPT_VERSION', 'v1.0');
define('SCRIPT_CREATOR', 'mailto:[EMAIL PROTECTED]";>Christopher
J. Crane
Just so you don't feel alone.
I use jpgraph alot, however, I have not run into this problem.
What version of jpgraph are you suning.
"Lee P. Reilly" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Anybody out there using JpGraph? I directed the following questio
file://==Global Definitions
file://
define('SCRIPT_NAME', 'Connecticut Technology Council Directory Maker');
define('SCRIPT_VERSION', 'v1.0');
define('SCRIPT_CREATOR', 'mailto:[EMAIL PROTECTED]";>Christopher
J. Crane
file://==Global Definitions
file://
define('SCRIPT_NAME', 'Connecticut Technology Council Directory Maker');
define('SCRIPT_VERSION', 'v1.0');
define('SCRIPT_CREATOR', 'mailto:[EMAIL PROTECTED]";>Christopher
J. Crane
your script in a *nix platform?
>
> -- Joni
> --
> // Joni Järvinen
> // [EMAIL PROTECTED]
> // http://www.reactorbox.org/~wandu
>
> "Christopher J. Crane" <[EMAIL PROTECTED]> wrote in message
> [EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> > I
This is a little off topic, but I am desperate. I am looking for a good
PHP/MySQL chat that is not in a bunch of frames. I have from WebChat
(http://www.webdev.ro/) but it has a bunch of runtime erros. If anyone has
this working or they know of another that works well please send me a link
or some
cedant web hosing...cedant.com. They will bill you and you can pay by check
and with Mysql databse I think they are 12.00
"Bruce Karstedt" <[EMAIL PROTECTED]> wrote in message
003b01c24e2b$7a9c9e80$7772d73f@c3">news:003b01c24e2b$7a9c9e80$7772d73f@c3...
> Anyone care to recommend a host as follows:
How do you alternate colors of the rows in a table inside a while statement
when dealing with the output of data from a DB. I am sure it's something
simple but I keep getting into some really long math thing...
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www
Thanks. I will give it a shot. I have never seen anything written like that.
Can you give me a brief explanation of what it means?
Thanks again.
- Original Message -
From: "Mike richardson" <[EMAIL PROTECTED]>
To: "'Christopher J. Crane'" <[EMAIL P
That's what I thought it meant but I have never seen it writte nthat way.
Thank you very much
- Original Message -
From: "Ashley M. Kirchner" <[EMAIL PROTECTED]>
To: "Christopher J. Crane" <[EMAIL PROTECTED]>
Cc: "Mike richardson" <[EMAI
Does anyone know of a Javascript forum like this one that I can post a
question to?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
I am trying to get a script to work to retrieve data from a MS SQL database.
I also tried using a ODBC connection, but that didn't work either.
Here is the error I get;
Warning: MS SQL: Unable to connect to server: LocalServer in
C:\WEBS\CTTechCouncil\stocks\mssql.php on line 7
DATA
I wrote a simple script to return data from a query. The database is MS SQL
and the field I am looking to return is a VARCHAR(5000). Everything seems to
work except the data returned is not the whole field it is shortened. It
only returns a portion of the field.
Here is the field:
99 Services, In
On thing you could do is output tags around the text you want to
display. The <> tags keeps simple formatting like tabs and new line
characters.
"Shane" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
Greetings folks.
I need my carriage returns to show up in my H
...
> Hello,
>
> ...just wondering...
>
> Are you sure VARCHAR in MS SQL can handle 5000? Should be 255 only? (I'm
not
> really familiar with MS SQL but you can count the number of characters
> returned by php...)
>
> - E
>
>
> "Christopher J. Crane" <
$Something = str_replace("\n", "", $Something);
This is old but still works well.
"Andre Dubuc" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Perhaps I don't understand the use of 'htmlentities' too well, but I would
> like newlines to be retained/inserted int
I am looking for a way to find the highest 5 and lowest 5 numbers within 300
or so numbers. Here is what I have so far...
$Tickers = array();
$Current = array();
// SQL QUERY TO GET TICKERS
MSSQL_CONNECT($HostName,$UserName,$Password);
mssql_select_db($DBName) or DIE("Table unavailable");
t and last elements.
>
> On Wed, 2 Oct 2002, Christopher J. Crane wrote:
>
> > I am looking for a way to find the highest 5 and lowest 5 numbers within
300
> > or so numbers. Here is what I have so far...
> >
> > $Tickers = array();
> > $Current = array();
>
I am having problems with arrays. I guess I just don't understand them all
that well.
I have an simple array of stock tickers. Then for each ticker I go to Yahoo
to get their current price and try to push the Name of the ticker and it's
value into an associative array(I think). Then I want to sort
Can you global a variable at the same time as making it an array?
I usually do this:
$Ticker = array(); global $Ticker;
Can I do this?
global $Ticker=array();
Thank you.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
I didn't do it yet.
The script I am working on is large with many variables so I was hoping
someone else would know before I do it.
"Chris Hewitt" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Christopher J. Crane wrote:
>
I have gotten JPGraph to work if I suppress the output of errors. I am using
the example of backgroundex02.php.
If I add the line "error_reporting(0);" at the top, I get the graph, if I
remove it...I get the following error;
"
Warning: Use of undefined constant LC_TIME - assumed 'LC_TIME' in
../j
;Percent Change: $_ChangePercent";
> print "";
> ?>
> You'd eliminate that problem.
>
>
> "Christopher Crane" <[EMAIL PROTECTED]> wrote in message
> [EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> > I have a question on speed but also de
Thank you for your 2 cents I am just learning and appreciate your comments.
- Original Message -
From: "Michael Hall" <[EMAIL PROTECTED]>
To: "Chris Crane" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Tuesday, July 16, 2002 11:13 PM
Subject: Re: [PHP] Classes vs. Functions
>
> There
Please Help!
I am using PHP to pull data from a MS SQL database. All other fields are
returning data fine, but this one table PROFILE is returning only like some
of the data in the field.
I am using the following simplified code:
MSSQL_CONNECT($HostName,$UserName,$Password);
mssql_select_
I checked the field properties and it is set as large text or memo, and the
data is complete in the field, just when I try to fetch it, it comes back
truncated somehow.
"Christophe Chisogne" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Christopher J. Crane w
I am using Pdf-Php to create pdf docs. I have a long text line that wraps
automatically when outputted in the pdf. That is what it is suppose to do,
however, it also outputs the new lines of the text in the source of the php
file. That is not what I want. So I do a string replace for the "\n" and
r
That worked.
Thanks Robert.
"Robert Cummings" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> On Tue, 2003-12-16 at 15:02, Christopher J. Crane wrote:
> > I am using Pdf-Php to create pdf docs. I have a long text line that
wraps
> > automatically whe
On Fri, 4 Jan 2002, Jason Murray wrote:
> I've seen bookmarks that pop up a javascript input window and then
> use the input in the resulting URL. So, take the manual query via
> javascript input and then append it to the www.php.net url.
There are tips on the php site for making the quick-refer
On Mon, 7 Jan 2002, Christian Calloway wrote:
> Are there any PHP coded timesheet type web application? And if so, what
> would we be suggested. Thanks,
Take a look at these:
http://freshmeat.net/search/?site=Freshmeat&q=timesheet+php§ion=projects
~Chris /"\
$where_conditions = array();
if( !empty( $lastname ) ){
$where_conditions[] = "lastname like '%${lastname}%'";
}
if( !empty( $firstname ) ){
$where_conditions[] = "firstname like '%${firstname}%'";
}
if( !empty( $age ) ){
$where_conditions[] = "age = ${age}";
}
if( !empty(
On Thu, 17 Jan 2002, [EMAIL PROTECTED] wrote:
> I've seen a number of sites for example that didn't have the .inc extension
>registered,
> include() doesn't care about that, but if your includes are under the document root
>of your
> website (that happens a lot too, i don't know why ?) and you
On Sat, 19 Jan 2002, Shane Wright wrote:
> Maybe this list should be split - kindof into a php-newbies and a
> php-advanced ?
So all the newbies can help all the newbies, and all the advanced people
can help the advanced people? That wouldn't work out. All the newbies
would subscribe to the ad
$myPairs = explode( "/", $PATH_INFO );
while( list( $key, $val ) = each( $myPairs ) ){
if( !empty( $val ) ){
$myVar = explode( "=", $val );
${$myVar[0]} = $myVar[1];
}
}
For you example URI, "index.php/option=contact/step=view"
you would then have $
On Thu, 31 Jan 2002, Benjamin deRuyter wrote:
> I need to generate a random number (range is not crucial) and I have been
> trying to use mt_rand(). However, I am finding that is generates the same
> value EVERY time. This is true whether I supple a range or not. For
> example, the follow line
You really need to do some error checking on the denominator.
$num = 5;
$den = 0;
echo $den != 0 ? $num/$den : "0";
A number divided by zero isn't defined, so you have to circumvent the
situation by making sure it never happens.
~Chris /"\
On Mon, 11 Feb 2002, Matt Moreton wrote:
> I have a script that outputs an image. Using the gd library. But the
...
> the image. Is it possible somehow to request the file as a .jpg?
> www.host.com/displayimage.php
Assuming you're using Apache, you can use a rewrite rule (with
mod_rewrite). h
On Wed, 13 Feb 2002, Steven Walker wrote:
>
>
> >
>
>
> In the browser, the name field is only filled with "Steven", and drops
> off everything after the space. If I echo $name outside of the form it
You need to put quotes around the value.
value=""?
g.luck,
~Chris
Create a script to which you can pass a file namem and calls show_source()
on the file name.
http://www.php.net/manual/en/function.show-source.php
Be very careful to check the input, such that the file name parameter
which eventually gets passed to show_source() cannot be one which you do
not wa
This may not be what you want to do, but should give you some hints.
(This is my code which I use to simply dump any SQL table into an HTML
table I can view in a browser ... for small tables, of course.)
Using MySQL as an example:
// assuming you ran a query and stored results in $mysql_result_s
oi ... typo! see below. sorry :(
~Chris
On Tue, 19 Feb 2002, Christopher William Wesley wrote:
> This may not be what you want to do, but should give you some hints.
> (This is my code which I use to simply dump any SQL table into an HTML
> table I can view in a browse
On Wed, 20 Feb 2002, Ben Sinclair wrote:
> I want to retain some data across my sites, which have different domain names.
> I can't use cookies because they rely on the domain name, and I'd rather not
One way I handle this ... it's a work-around, so it's not all that pretty:
In the doc root on
day. Like I said before, this is just how the
Internet is evolving. As you're doing, the functionality being provided
has to be judged against the practicality of its implementation.
g.luck,
~Chris
> - Original Message -
> From: "Christopher William W
Can anyone tell me how to unsubscribe. There is just a bit too much volume
for me.
Thanks.
-Chris
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
==
> Darren Gamble
> Planner, Regional Services
> Shaw Cablesystems GP
> 630 - 3rd Avenue SW
> Calgary, Alberta, Canada
> T2P 4L4
> (403) 781-4948
>
>
> > -Original Message-
> > From: Crane, Christopher [mailto:[EMAIL PROTECTED
ote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> On Thu, 30 May 2002, Crane, Christopher wrote:
> > if ($Task == "ShowVersion") { function ShowVersion(); }
> > elseif ($Task == "GetData") { function GetData(); print "$DataOutput"
Here is a piece of code, that is close to doing what I want it to.
The end result I would like to have is an array that is simple to work with.
If the XML tag was RED HAT, I would like something
like the following:
$Tags['issue-name']. So I could print it out. Something like, print
"$Tags['issue-
Another site that you should be aware of is for both internal and external,
NASA uses PHP and MySQL, of which both are free.
"John Christopher" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
>
> I would like to use PHP in
Here is a piece of code, that is close to doing what I want it to.
The end result I would like to have is an array that is simple to work with.
If the XML tag was RED HAT, I would like something
like the following:
$Tags['issue-name']. So I could print it out. Something like, print
"$Tags['issue-
$Tags['issue-name']. So I could print it out. Something like, print
"$Tags['issue-name']\n";
I was able to get a numerical representation of the array like, $Tags[5] and
the value of that tag was "RED HAT", but then I would have to know what the
position of the data I am looking for in the array.
I am a PERL scripter and I am just getting into PHP. My first few pages are
simple but I am running into a few problems when changing OS. I included
below a piece of code that works fine in windows but not on a linux box. Not
sure what the differences would be
The problem is that on the windo
Hi all, I'm new to the mailing list, I hope I'm in the right spot.
I have installed php, and .php files work fine, unless they are my index
file. For example http://whatever.com/~jondoe/info.php will work. But if I
make a index.php file and go to http://whatever.com/~jondoe it wont work.
I can vie
Does anyone have a good link to a tutorial, or a book suggestion that will
help me learn more about making dynamic web pages with MySQL/PHP. Mainly
things like loading navigation menues, and pics and what not?
Thanks.
-Chris
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, vis
Anyone have a good link to a tutorial on creating dynamic web pages in
PHP, mainly I'm interested in loading navigation bars and that kind of
thing. If you have code you can send that would help too.
Thanks.
-Chris
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http:/
I wrote a shopping cart, but I
don't understand two things.
1) What is the best way to display like the first ten records and then a
list of how many pages with 10 records on them...similar to like a search
engine when it returns it's results. If I have 100 items I do not want to
display all of th
I just downloaded PHP from PHP.net and it's the newest version.
I can not get it to work. I get the "Security Alert! PHP CGI cannot be
accessed directly" message.
I have edited the php.ini file and changed the "cgi.force_redirect" to "0"
and back to "1" and everything else I could think of. I rest
I just downloaded the new version of PHP. I installed it and I am using
Omnicron HTTPD server version 2.09. The PHP that came with the server works,
but when I installed the new version of PHP from PHP.NET, I got the
following error.
You won't be able to do that with a regexp alone. Recursively matching
isn't possible. You'll need a little help from some additional code.
\n" . $matches[2] . "\n" );
while( list( $key, $val ) = each( $times ) ){
print( trim( ${val} ) . "\n" );
}
?>
That seems
Hi, can anyone help me with this problem.
I'm trying to connect to a MySQL database on my computer, I don't have a
hostname for it, so I just insert the IP, something like this.
...
mysql_cos?
Thanks.
-Chris
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.ph
I don't have any code for this, but I'm hoping someone can point me in the
right direction. I want to load images or navigation menus dynamically. Is
it possible to build a database of images and then use php to display
them? Or something along these lines. I know this must be possible,
becuase I
I wasn't so much concearned about security of users grabbin pics. I am
more trying to learn how these people load there menus dynamically and
pics dynamically. Do you have any links to pages or code that describe how
to make a link in the db to pics on my filesystem?
Thanks.
-Chris
On Tue, 26 Mar
Can someone help me with this. I'm trying to get ?id= set to the id number
of the name in the database. I can get ?id="THE NAME" but I can't get it
to pick up the id number. here is the code i"m trying:
while($row = mysql_fetch_array($result))
{
printf("%s\n", $PHP_SELF,
Hi, I had a question on user authentication/member accounts.
I have built a MySQL database with users and passwords, and I wrote this
code:
LOGIN IN PROGRESS
PLEASE LOG IN
Username:
Password:
Click Here");
}
So this will work it regonizes a real user vs. a fake on I do. But I don't
under
You only want to retrieve the news from your table once.
So, pull pull this code:
> $container[] = $message;
> while (list($news, $date) = mysql_fetch_row($newsfetch)) {
> $container[] = '' . $news . '';
> $container[] = '';
> }
> $container[] = '';
outside of (before) this loop:
I am new to using XML and PHP for that matter. I have made some great
progress with the latter however.
My current problem is that I am trying to parse a relatively simple XML
file. The file can be found at
http://quotes.nasdaq.com/quote.dll?page=xml&mode=stock&symbol=ikn. I used
pieces of a sampl
t_line_number($xml_parser)));
}
print "";
xml_parser_free($xml_parser);
print "Array = $StockStuff[0]\n";
and I got an error that read "XML error: at line 67". I am not sure what
that meant.
"Analysis & Solutions" <[EMAIL PROTECTED]> wro
Ok time out...the problem was simple I had each of the functions one it's
own line because it was simple to see. When I add code to the functions then
I do make it as indicated and easier to read. The problem was that I did not
realize the 80 character columns width. I apologize but did not think
Wow thanks so muchthis was a great help.
"Analysis & Solutions" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Hey Christopher:
>
> > function CharacterHandler($Parser, $Line, $StockStuff) {
> > array
I'm running php 4.0.6.7rc2-3 with freetds 0.52-3 support on a debian linux
server. This is a winning combination to work with MSSQL2000. However
I'm running into some odd behavior when performing multiple queries on the
same connection (link) identifier.
I create a connection to the dbms and se
For a process that takes a long time, I usually break the user interaction
& the processing apart.
For instance, when the user makes a submission from the browser interface,
the PHP takes the submitted data and stores it someplace on the file
system or in a database. This being a quick operation
Just use one argument or the other ... not both.
ibase_commit($myTrans);
OR
ibase_commit($myDB);
g.luck,
~Chris /"\
\ / September 11, 2001
X We Are All
Splice the array at the point in your result array where "No make
specified" is, for one element, then append it back onto the result array.
Here ...
$noMake = array_splice( $resultArray, array_search( "No make specified",
$resultArray ), 1); // This should be one line, sorry :)
$newResults = a
On Sun, 21 Oct 2001, Mark Lo wrote:
> I have been asking this for so many times, and I never get a reply
> for this !!! Please help me. I would like to know how to download the
> whole directory using PHP. Can anyone supply me some sources code for this.
I see a few reasons why you w
I'm a bit confused by the logic used (your conditionals are looking for
NOT -, but then the printed statement indicates you were looking for the
-), but anywho ... try these on for size.
if (substr($sString,-1,1)=="-") {
print "You can't have a dash at the end of your string.";
}
if (substr($sSt
use the strip_tags() function to remove HTML tags from strings.
http://www.zend.com/manual/function.strip-tags.php
~Chris /"\
\ / September 11, 2001
X We Are All New York
nt and "hello-" fails with
> the other part, but when I use them together with the OR operator, it
> doesn't pick up either case, "-hello" or "hello-".
>
> I think I'm going to have to resort to evaluating the string with more than
> just the one
On Sun, 21 Oct 2001, Chip Landwehr wrote:
> if ($T3==""){header ("Location: new_narrative.php?FilledName=No");}
>
> How do I change this to include a Post?
You can put it back on as a query string (kinda dirty, but you can't POST
it back).
~Chris /"\
On Tue, 23 Oct 2001, Brian White wrote:
> process ID belongs to Apache. What I was wondering was there any kind
> of ID that was attached to a particular CGI request that I could
> access and use?
Yes. Use the Apache module, mod_unique_id, and then in your environment,
$UNIQUE_ID will be availa
Name the form element without the brackets ... just "whatdo" instead of
"whatdo[]". When $whatdo[] makes it to your formhandler, it's an array.
(You _could_ access $whatdo[0] ... but that may or may not be more
confusing.)
~Chris /"\
On Fri, 9 Nov 2001, Lara J. Fabans wrote:
> The original form has a table where each row has a set of 3 radio
> buttons name="whatdo[]" where $x is the row counter.
Well, for a set of raido buttons, they should all have the same name.
In your case, all 3 radio buttons should be named "whatdo"
On Fri, 9 Nov 2001, Mike Harvey wrote:
> Is it possible to redirect to an IP address but have the browser address bar
> show an URL?
Assuming that you meant "hostname" instead of "URL" since the browser
address bar will always display a URL ... No.
~Chris /"\
Just do your authentication before you send any HTML (including any
whitespace). I actually recommend not sending ANY HTML from your
authentication script. Authenticate them, set your cookie, and redirect
the visitor to an appropriate next page, based on whether or not they've
successfully authe
On Mon, 12 Nov 2001, Joe Van Meer wrote:
> Thx Christopher for replying. Ok, let me see if I understand you
> correctly...
>
> The user enters username and password on index.php, this is posted to
> login.php. On login.php after I verify the user is who he/she says they are
&
If the path doesn't ride along in the _name variable (and I don't know of
a case when it would), Nope. The value of the input element when the type
= file isn't useable, except as an initial file name, so using JavaScript
won't be helpful.
I think the input element is implemented for type = file
301 - 400 of 527 matches
Mail list logo