gt; set $PHP_SELF (of the main script) to a temporary variable for checking
> in the included script. -Kevin
Or set an Apache directive (in httpd.conf or .htaccess) that prevents
any .inc files from being served by the server.
I'm assuming you're using apache.
Erik
Erik
utput like this
is old hat, but for those of us who are just getting our feet wet in
programming, there should be a more exhaustive reference as to what can
be done... is there any such reference?
Thanks,
Erik
Erik Price
Web Developer Temp
Media Lab, H.H. Brown
[EMAIL PROTECTED]
On Tuesday, March 5, 2002, at 04:00 PM, Jonathan Duncan wrote:
> That is perfect, thank you Philip and Erik. I forgot what a great
> resource
> DevShed is.
It's awesome. Not very in-depth, but then I'd buy a book on the subject
if I wanted in-depth. Just enough so
your style and use switch() statements or if statements to keep it all
in one page. (Right now I'm working on a 700-line monster that doesn't
even include any HTML!)
Erik
Erik Price
Web Developer Temp
Media Lab, H.H. Brown
[EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
e I am
developing. Unfortunately, my complete inexperience with this resulted
in frustration and I gave up, going back to functions. I'm also not
very intelligent, and working with classes and objects requires the
programmer to be able to abstract their data in a way that I haven't yet
lea
same function accessible from each page/script you are
writing, so that you don't have to waste your time. Later, when you
learn how to check for errors in your user's input (such as if the user
entered a bunch of numbers instead of a name), this will come in handy
so that you c
On Wednesday, March 6, 2002, at 01:10 AM, hugh danaher wrote:
> My wife knows I spend too much time in here.
What's a wife?
Erik
----
Erik Price
Web Developer Temp
Media Lab, H.H. Brown
[EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, vis
";
?>
But when you see this in a web page, it is nicely formatted. Don't
forget to customize the way the table looks by declaring borders and
cell spacing in a style sheet.
Also, as an exercise, come up with a clever way to put this code into a
function.
Erik
Erik Price
Web Developer Temp
Media Lab, H.H. Brown
[EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
aracters and unserialize() -ing the characters to get my array back.
Then I can loop through the array and create my SQL statement. Does it
make any sense?
2) is this a lot of extra work, and I'd be better served by just taking
each variable and putting it into its own hidden form fie
ariable name, and thus you can't use the curly
braces around the entire variable.
Erik
Erik Price
Web Developer Temp
Media Lab, H.H. Brown
[EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
ot; and "capitals" while others
don't.
If it's consistent, a Perl guru could probably help you with little
trouble -- check out www.perlmonks.org. (Sorry, but I am far from a
Perl guru.)
Erik
Erik Price
Web Developer Temp
Media Lab, H.H. Brown
[EMAIL PROTECT
It seems like in the first question you want to have
contents without a file, and in the second you want a file without
contents! :)
Unless someone else figures out what you want and helps you, ask again
but describe what you want a little bit more. PHP can do a lot of
things.
Erik
;Reilly
that there's a demand for more books on PHP. To date, their PHP
selection is pathetic.
David, did you hear anything more about this?
Erik
Erik Price
Web Developer Temp
Media Lab, H.H. Brown
[EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
I'm not sure I understand what this means. I'm guessing that you're
suggesting that an INT or a VARCHAR column can both have mathematical
operations performed on their values, but perhaps I'm completely
off-base. My SQL skills are miserable... I need to brush up. (Too much
time spen
ing the element,
> merging arrays, etc with no luck (it either increments the key or
> doesn't
> work at all).
Have you tried just directly setting this array element? You don't say
what your array is named, so I'll call it $array.
$array[8] = 6;
Is that what you are tal
tem to store the data and then
use the database to create a sort of "directory" for quickly locating
those files in the filesystem, remembering the path to the file or
something. I think this is how a lot of web sites incorporate graphic
content in with their database (text) content (in
uot; set up yet.
That's a feature I don't usually use (there's a Barnes and Noble and a
Borders near me if I want to read), but in this case would be nice.
Erik
Erik Price
Web Developer Temp
Media Lab, H.H. Brown
[EMAIL PROTECTED]
--
PHP General Mailing List (http:/
, I just googled that (but I think I will read it
later).
Erik
Erik Price
Web Developer Temp
Media Lab, H.H. Brown
[EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
is no variable called var";
} else {
echo "You cannot reach this part of the if statement.
Either var exists or it doesn't";
}
(!(Hope that doesn't help)),
Erik
Erik Price
Web Developer Temp
Media Lab, H.H. Brown
[EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
> Thawte or my ISP inadvertently used a 1028 bit key on the certificate
> rather than 1024.
IE5 has known problems with SSL. Some sites (sourceforge.net) use SSL
only to authenticate the user, letting them back out of secure-mode
after authentication succeeds, if the useragent is
On Friday, March 8, 2002, at 01:15 PM, Sven Jacobs wrote:
> Hey
>
> I have 2 values stored in my session, how do I pull them back out ?
>
$_SESSION['name_of_first_value']
$_SESSION['name_of_second_value']
in PHP 4.1 or greater.
And hay is for horses.
Is there
> any
> example of anyone using a mysql database to manage session_id's?
No.
http://google.com/search?hl=en&q=session+management+php+mysql
Erik
Erik Price
Web Developer Temp
Media Lab, H.H. Brown
[EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.n
On Friday, March 8, 2002, at 04:27 PM, George Whiffen wrote:
> Hope you are/are not trying to crack ciphers!
George, you know way more about math than I do, but I do know that
trying to crack them is a good way to make sure they work, or make them
stronger!
Erik
(who thinks his pay r
4.0.6. Was I
just mistaken in the first place by using this option?
Thanks,
Erik
(PS: talking about a source install on Linux)
Erik Price
Web Developer Temp
Media Lab, H.H. Brown
[EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
gratefully appreciated!
Erik
Erik Price
Web Developer Temp
Media Lab, H.H. Brown
[EMAIL PROTECTED]
[root@media /]# /usr/local/apache/bin/apachectl stop
[root@media /]# /usr/local/mysql/bin/mysqladmin -u root -p shutdown
[root@media /]# pushd /usr/local/src
/usr/local/src /usr/local/src
On Monday, March 11, 2002, at 05:21 PM, Erik Price wrote:
> I just finished doing my re-install of PHP, updated to 4.1.2. Or so I
> thought... everything went smoothly, I got all the right success
> messages during the ./configure and make processes, and thought I was
> ready
x27;s
> actually helped me out on 2-3 occasions...
Thank you, I didn't even know that virtual host existed. I'll
definitely check there too next time I'm having problems.
Erik
Erik Price
Web Developer Temp
Media Lab, H.H. Brown
[EMAIL PROTECTED]
--
PHP Gen
osted to the mysql-users mailing
list. Within a few hours, I got the solution from a couple of people,
including the author of this book himself.
Erik
----
Erik Price
Web Developer Temp
Media Lab, H.H. Brown
[EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscrib
oted strings there is no need to single-quote the
> array
> key (in fact it can't be done, gives syntax error). The section of the
> manual
> you quoted states this :)
I thought that it could be done like so:
$foo = "Entry for {$HTTP_POST_VARS['name']}";
Sorry
evaluates to will become the name within $_POST['
and']. Unless you have defined "$inp" somewhere, that's just a
mistake. Don't use the $ symbol within $_POST or $_GET variables until
you have a reason to do so.
So, in your script, you've called the
use
JavaScript for stuff like that, or you could use the frames properties
of HTML like this:
Click Here
Essentially, you're having the new file open up in a new frame, but
instead of the frame being defined in the current window, it's in a new
window. Not really JavaScript, bu
? It seems like it.
If anyone has a resource or somewhere I should be looking, please by all
means point me in the right direction.
Erik
----
Erik Price
Web Developer Temp
Media Lab, H.H. Brown
[EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit:
erence a new window or something like a target="_blank" and
THEN call the header() function from there... but that's more of a
workaround than a solution.
Good luck, sorry I don't have any other ideas.
Erik
Erik Price
Web Developer Temp
Media Lab, H.H. Brown
[EMAIL
le more than minimum wage and he gets no
benefits, but he's happy with the work." Plus, it'll look good in the
portfolio.
Thanks in advance,
Erik
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
I get the
> string with comma seperate values.
Did you try putting brackets at the end of the input names? This tells
PHP to put the values into an array, whose key is the name of the input.
A
B
C
This might work for you,
Erik
Erik Price
Web Developer Temp
Media Lab, H.H.
ays that I can see JS enhancing a web site, as long as
you don't require JS to do what you want... but in all honesty I haven't
learned much JS so even I don't really take this route. It's just a
theory.
Erik
Erik Price
Web Developer Temp
Media Lab, H.H. Brown
[EMAI
her define a default selection or
> check for 'none selected'
Such as
if ($_POST['multi']) {
// loop thru the array and extract the values
} else {
// there were none selected so don't loop thru
// the array (or you'll raise an error)
}
Erik
item, then only one item will be passed to
the receiving script.
Use the above techniques to make sure that you are actually passing more
than one value.
Erik
Erik Price
Web Developer Temp
Media Lab, H.H. Brown
[EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/
d do it:
http://www.php.net/manual/en/function.end.php
It sets the internal pointer to the very last element in the array.
Python, incidentally, has a neat way of doing this: array[-1] (of
course they're called lists, not arrays, in Python). Just a side note.
Erik
Erik Pric
ly a language.
It just refers to using scripting languages and plugins like JavaScript,
Flash, CSS tricks, and even server-side manipulation to achieve an
effect.
There's a lot of stuff on this topic at http://dhtmlcentral.com/ if
you're interested.
Erik
Erik Price
Web
anks,
>
> -Scott
Sure! First go get a cup of coffee! :)
Then change the first line to say this:
Let me know how that works for you.
Erik
Erik Price
Web Developer Temp
Media Lab, H.H. Brown
[EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
;I\\\'m Russian".
Does the stripslashes() function solve your problem? I'm interested in
hearing about it.
Erik
Erik Price
Web Developer Temp
Media Lab, H.H. Brown
[EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
1.0 or greater, then there is a much easier
way to write this script:
session_start();
$_SESSION['login'] = $_POST['user']; // use $_GET if that is the method
you're using
$_SESSION['pass'] = $_POST['pass']; // use $_GET if you are using that
me
to the function. It may be that
in your particular build you need to use workarounds.
Be sure to post the results of your experimentation for the benefit of
the rest of us.
Erik Price
Web Developer Temp
Media Lab, H.H. Brown
[EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
at
DevShed, SitePoint, and a dozen other excellent web support sites.
Either a database or XML can do what you want, it's really up to you. I
think the XML way will get you your results soonest, but learning MySQL
will have a long-term value if you ever intend to do any back-end work
or ju
ta to a text file or
multiple text files, though if you get a lot of feedback it -could- get
out of hand. And email is another option.
PHP lets you do all of this.
Erik
Erik Price
Web Developer Temp
Media Lab, H.H. Brown
[EMAIL PROTECTED]
--
PHP General Mailing List (http://www
t about a month ago, and someone said
that you can use variables or strings in many cases -- just remember
that the variable expands to the string BEFORE being processed by the
function.
Erik
Erik Price
Web Developer Temp
Media Lab, H.H. Brown
[EMAIL PROTECTED]
--
PHP General Maili
cho "\$ses_var1 is ".$ses_var1;
> echo "";
>
> echo "";
> echo "";
>
> echo "\$HTTP_SESSION_VARS['ses_var2'] is
> ".$HTTP_SESSION_VARS['ses_var2'];
> echo "";
>
> echo "\$_SESSION['ses var2'] is ".$_SESSION['ses_var2'];
> echo "";
>
> ?>
> Return to Page 1
>
>
>
> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
> - -
> - - - - - - - - - - - - - - - - - - - - - - - -
> Please Note: The information contained in this message may be privileged
> and
> confidential and protected from disclosure. If the reader of this
> message
> is not the intended recipient, you are hereby notified that any
> dissemination, distribution or copying of this message is strictly
> prohibited. If you have received this in error, please notify us
> immediately
> by replying to the message and deleting it from your computer.
>
> Thank you - Tobin & Associates, Inc.
> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
> - -
> - - - - - - - - - - - - - - - - - - - - - - - -
>
>
>
Erik Price
Web Developer Temp
Media Lab, H.H. Brown
[EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
that the receiving script can take some
action based on where the user was sent from.
Erik
Erik Price
Web Developer Temp
Media Lab, H.H. Brown
[EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Oh I see. Sorry, i was thinking apples and you guys were talking about
oranges. I just ran into this problem a little while ago, that's why I
felt the need to butt in.
Erik
On Thursday, March 14, 2002, at 05:08 PM, Edward van Bilderbeek - Bean
IT wrote:
> Jep, that was what
nly suppress possible
unexpected error messages from users; that using it to suppress known
errors is really not as good a solution as finding out what is causing
the error and fixing it... of course, sometimes in a pinch you have to
MacGuyver the thing I guess. Just some advice :)
Erik
the pages with the header() function do not
consider page "A" to be their _top ?
Good example.
Erik
Erik Price
Web Developer Temp
Media Lab, H.H. Brown
[EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
sing strip_tags() ? When I originally thought of
doing it, it seemed like a good way of getting around the fact that
user-specified JavaScript attributes are still allowed in
strip_tags()-parsed text. But now that I think about it, there's no
difference
Erik
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
erent
> perpective will help.
>
You're declaring your connection parameter as a string "db" and you
probably want it to be a variable $db. Make sure this variable contains
a database connection pointer.
Erik
Erik Price
Web Developer Temp
Media Lab, H.H. Brown
[EM
otron (both of which are required
for these XSLT functions).
Good luck, and btw by annotations I meant the user-input at the bottom
of every PHP man page.
Erik
Erik Price
Web Developer Temp
Media Lab, H.H. Brown
[EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
seem
like that's what you're using here. I didn't find any reference to a
function called "new_xmldoc()", though I did see a big disclaimer that
the DOM-using XML functions in PHP are subject to change and are
somewhat unstable.
Erik
Erik Price
Web Developer Temp
Media Lab, H.H. Brown
[EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
to the Mac IE 5.1 and have no experience with
IE on Windows.
Erik
Erik Price
Web Developer Temp
Media Lab, H.H. Brown
[EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
$this->field;
}
}
then in your code you would do something like:
return_field_name();
?>
This might not work, I don't know much about OO.
Erik
Erik Price
Web Developer Temp
Media Lab, H.H. Brown
[EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
d on other pages
>
> nor is there a file in the /tmp file
>
> nor does my URI change with a session id
Are you forgetting to put the buck ($) in front of
_SESSION['varname'] ? Looks like it from the example you give above,
unless that's a typo.
Erik
Eri
2
What embarrassing information to attach to an unsuccessful UNSUBSCRIBE
request! :)
If you still wish to unsubscribe, see the very last line of this email.
Erik
Erik Price
Web Developer Temp
Media Lab, H.H. Brown
[EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To uns
t;server-side
scripting language". It's easier to say "CGI", but you refer to
something very specific when you do.
Erik
Erik Price
Web Developer Temp
Media Lab, H.H. Brown
[EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
and Sablotron (I think they automatically
install into /usr/local/lib), PHP knows where to find them and will take
care of it.
Mike, if you want I have a log of the exact commands I used to do this,
and can send them to you if you want. Let me know how this works for
you -- it'll take
On Monday, March 18, 2002, at 02:57 PM, Daniel Ferreira Castro wrote:
> I would like to print the line bellow on my HTML generated by a PHP
> file.
> How can I do it?
>
> The line is:
>
";
?>
E
Erik Price
Web Developer Temp
Media Lab, H.H. Brown
[
aids, then you're not really meeting the requirements of
508. Unless there's a problem with the parser at www.cast.org/bobby,
the best (and most ethical, IMO) thing you can do is conform to 508 as
required and not subvert the parser.
Erik
Erik Price
Web Developer Temp
pear to
be normalized, which means that while it may be functional, you're not
making the most of what your RDBMS gives you to work with.
Strongly recommended book: "MySQL" by Paul DuBois (New Riders).
Erik
Erik Price
Web Developer Temp
Media Lab, H.H. Brown
[EMAIL PROTECT
On Monday, March 18, 2002, at 03:49 PM, Daniel Ferreira Castro wrote:
> I need to use it with fwrite not print :-)
>
> "Erik Price" <[EMAIL PROTECTED]> wrote in message
> [EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
>>
>> On Monday, March 18,
net numbers are the same
as the database domain + subnet numbers.
Erik
Erik Price
Web Developer Temp
Media Lab, H.H. Brown
[EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
gt; talking to the wall. Also I need to know where I can find free ODBC
> drivers
> that will let them contact to MYSQL or Filemaker pro.
Yeah, I need to run PHP from my Atari 800 too. Can someone send me a
binary? :)
Good luck, Chuck!
Erik
Erik Price
Web Developer Temp
Fleece, Jungle Hunt, Pitfall, Haunted
House, man... I wish I still had them. Then again, it might be like
those movies that you remember so fondly as a kid but then you see again
fifteen years later and you're like "what was I thinking?" The memory
ends up being better t
to a Land Rover Defender,
then the $150 offer you made them seems like the best thing they could
do.
Erik
Erik Price
Web Developer Temp
Media Lab, H.H. Brown
[EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
t;. As has been mentioned on this list five
times over the past 24 hours, JavaScript is code that is executed by the
user's browser (as opposed to PHP which is code executed by the server),
which provides the ability to manipulate browser objects like windows.
I don't know much J
it to appear (playing with the
menu settings and clicking the "Toolbar" button that appears in every
Aqua window). Also, the window is resizeable. So it looks like you can
"suggest" to Mozilla that it not display the nav bar, but you can't
"force" it like you
b); // $db is your database connection pointer
In the above examples, I've made the assumption that the form is being
sent via POST and that you are using PHP 4.1.x with register_globals
off, adjust accordingly if this is not the case. Also note that the
singlequotes used to surroun
On Tuesday, March 19, 2002, at 02:56 PM, karthikeyan wrote:
> What does this error means
>
> -
> Warning: Cannot send session cookie - headers already sent by (output
> started at /home/web/public_html/karthik1.php:7) in
> /home/web/public_html/karthik1.php on line 35
>
> Warnin
initial document has to be some kind of
XML, but XHTML should work in theory. What I just said came out
somewhat confusing --
If your initial document is in XHTML form, you should be able to use
XSLT, since XHTML is a form of XML.
HTH,
Erik
Erik Price
Web Developer Temp
Media Lab, H
On Tuesday, March 19, 2002, at 05:43 PM, Kevin Stone wrote:
> I simply need to return a list of column names of a MySQL table. What's
> the syntax to do that?
SHOW COLUMNS FROM tablename;
Erik Price
Web Developer Temp
Media Lab, H.H. Brown
[EMAIL PROTECTED]
--
is code works EVERYWHERE (in all browsers) but Netscape Navigator 4.xx
> versions.
You're fighting an unwinnable battle. Give up on Crapscape 4.x, it is
full of bugs.
Erik
Erik Price
Web Developer Temp
Media Lab, H.H. Brown
[EMAIL PROTECTED]
--
PHP General Mailing List (ht
ecting it to reset all of their work, then they won't be
surprised when they try to fill out the same form later and see all of
their old values from their session.
Good luck
Erik
Erik Price
Web Developer Temp
Media Lab, H.H. Brown
[EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
r the latest version of the
file, and reads its contents. (This is because I actually want the PHP
script to parse the XML and do later things with this info.)
Does anyone know how this is done? Rather, can anyone point me to a
tutorial or resource on this topic?
Thank you,
Erik
($_POST['display'] == 'true') {
$select_if_true = "selected=\"yes\"";
$select_if_false = "selected=\"no\"";
} elseif ($_POST['display'] == 'false') {
$select_if_true = "selected=\"no\"";
$select_if_f
Isn't it just a matter of setting the permissions? apache can't have
read access to this directory, that's all.
Erik
On Thursday, March 21, 2002, at 03:28 AM, jtjohnston wrote:
> I'm also looking at this in my .conf. I know putting something here is
&
Have you made sure that the correct values are even being loaded into
the session variable containers? IOW, try
echo $id;
echo $first_name;
to make sure that there is actually any value in those variables.
Erik
On Thursday, March 21, 2002, at 12:22 PM, Randy Phillips wrote:
>
On Thursday, March 21, 2002, at 12:22 PM, Jason Wong wrote:
> On Friday 22 March 2002 00:54, Erik Price wrote:
>> Isn't it just a matter of setting the permissions? apache can't have
>> read access to this directory, that's all.
>
>
> No, he does
d be a lot of
overhead for a multi-part form. I wonder how often this technique is
actually done?
Erik
Erik Price
Web Developer Temp
Media Lab, H.H. Brown
[EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
able in your associative index.
$_POST["filename{$i}"]
Again, not really an issue for numeric indices.
$input[$c]
Erik
Erik Price
Web Developer Temp
Media Lab, H.H. Brown
[EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
rging close to what I should be charging.
...
> Any feedback would be greatly appreciated.
40 hrs at $11/hr, no overtime, no benefits. But I get to learn PHP.
Erik
Erik Price
Web Developer Temp
Media Lab, H.H. Brown
[EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php
his value is not present, then the user has
not clicked the Submit button. I know that the "value" of a submit
input is usually just used to label the button in some way (such as
value="Click Here for Free Porn!"), but you can actually test for this
value if you have g
t unexpected results.
Right, but I was trying to come up with a way for the original poster to
test to see if the user had simply hit "enter" or if they had actually
hit the "submit" button (not as a test to see if the form was being
viewed for the first time). IIRC he was ha
or something? I don't believe it has to be admin-installed,
does it?
Erik
Erik Price
Web Developer Temp
Media Lab, H.H. Brown
[EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
I'm no expert on the XML functions, but post your code and maybe we can
figure out what's wrong.
Erik
On Thursday, March 21, 2002, at 09:24 PM, Scott Brown wrote:
> Ok - first off, I've found a few... phpbuilder has a nice number of
> references. But every one I
But the
lesson is the same -- variables can be passed in this fashion for any
purpose, not just database access. (It's called "passing a variable in
the querystring".)
HTH,
Erik
Erik Price
Web Developer Temp
Media Lab, H.H. Brown
[EMAIL PROTECTED]
--
PHP Genera
On Monday, March 25, 2002, at 09:49 AM, ...::: Rober2.com :::... wrote:
> Ok, I get it.
>
> Exepet passing information there isn't other meaning right?
>
Hm?
Erik
Erik Price
Web Developer Temp
Media Lab, H.H. Brown
[EMAIL PROTECTED]
--
PHP General M
HTTP just flexible like that?
Erik
----
Erik Price
Web Developer Temp
Media Lab, H.H. Brown
[EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
imulate the "page loading" effect) sits in
front. When the PHP page has finally loaded, a new JavaScript command
to close the "page loading" window executes, or you could have it close
automatically after a certain number of seconds.
Erik
Erik Price
Web Develope
at it
requires a ton of code to "wrap" your content in the 'protective'
index.html layer, and also you would have to use form buttons rather
than hyperlinks (unless you used post_to_host(), see archives if you're
not sure what I mean).
Erik
Erik Price
Web Developer
next higher
number. The following does not work:
foreach ($months) {
$i = 1;
// do some things
$i++;
}
because in each new iteration of the loop, $i is reset to 1. Is there a
way that I can achieve this effect? Thanks for any advice,
Erik
Erik Price
Web Developer Temp
What an embarrassing oversight. I'm sorry, I figured this one out. You
don't define the $i counter variable in the loop (DUH).
$i = 1;
foreach ($months) {
// do some things
$i++;
}
Thanks to all those who may respond before reading this....
Erik
On Tuesday, March 26, 2002
ome will get cut off. Does anyone know the actual
limit?
If not, is there a generally-accepted maximum that is used (to assure
compatibility with most user agents and servers)?
Erik
Erik Price
Web Developer Temp
Media Lab, H.H. Brown
[EMAIL PROTECTED]
--
PHP General Mailing List
've gotten around this in one of my scripts was to
set the cookie, and then use header(location: samepage.php) to refresh
the page -- worked fine, and if all you do is set the cookie before
calling header() it should be practically unnoticeable.
Erik
Erik Price
Web Developer Temp
n you will have no problem noticing the errors, and can use the book
as a guide to writing complex web applications. In my case, though, I
started learning PHP with this book, and the frustration with code
errors drove me to return it to the store.
Erik
Erik Price
Web Developer Temp
Me
501 - 600 of 847 matches
Mail list logo