$email) {
Any assistance is appreciated! Thanks,
Jamie
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
x27;email']) {
Maybe you could also point me to the lesson that needs to be learned
here. Is it that it is an array? or syntax?
Thanks for the assistance!
Jamie Sullivan
Philip Olson wrote:
First, read this:
http://www.php.net/variables.external
Second, assuming you have a PHP ve
I'm fairly new to SQL and PHP and I'm haveing trouble useing the Date
functions of Both Systems, so I'd be greatfull if someone can help.
What I'm trying to do is have an 'administrator' be able to enter info
through a form to a mySQL database. Then on a seperate page have the info
reread and disp
ntire site.
Any Ideas
Jamie
Slightly confused and possibly mislead
s to a new value. But weather or not this update
passes or fails the return value seems to be 1 as the page is rediredted to
the logged in page.
Also can I update the visits value in the SQL command I've tried
visits=visits+1 but that does not seem to work even though I have seen this
done with
27;s not it I can hit next and go onto the next matching string
that it finds... I guess what I'm thinking of would have to run in a framed
html [search at top and manual at bottom] but any other suggestions would be
welcomed.
Jamie
--
PHP General Mailing List (http://www.php.net/)
To unsubsc
Can anyone help me I'm trying to read two results from a function by passing
them out via an array but I'm not sure how to access them once I have done
that. In the PHP manual it shows a list call which I can't seem to even find
what the hell it does the code below runs without any errors but does
== $day) {
echo("$i\n");
} else {
echo("$i\n");
}
}
echo""
?>
Any help will be apreciated
Jamie
command line. And when i add a variable using set PHPRC=e:/php. it does not
seem to work.
Any help or idea's would be helpfull.
Thanks
Jamie
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
any sites that has a decent reference guide?
Thanks
Jamie
-==- Output from socket -==-
http://climateprediction.net/
climateprediction.net
Bob
gr432this444has333been888changed
FF035ggs5changedthisthis2sse25fb
9640.785061
28.001977
1093683684.00
132
Hi, i know its a little off topic, and its probably just me. But has
anyone else been having problems with the nntp ervers news.php,net?
more precisely connections being closed unespectedly? just checking to
see :)
Thanks
Jamie
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe
Is there a way to detect if a browser is using a HTTPS or HTTP. As i can get
the scripts self and the host its running off but i cannot seem to find a
way to grab if the connection is secure or not.
Thanks for any help in advance
Jamie
--
PHP General Mailing List (http://www.php.net/)
To
mpatitable.
Thanks
Jamie
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
tps://host.mydomain.com/phpinfo.php
>
>Michael.
According to my phpinfo there is not a SCRIPT_URI
This is weird and confusing... why does it only work on a few operating
systems :S
Jamie
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
my linux box it constantly
displays "We are using HTTPS" what means the statement is evaluating as
false. When it should be true (as im currently viewing the page off a HTTP
connection)
Any ideas?
Jamie
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
> Try $_ENV['HTTPS']
That prints nothing at all on windows and linux.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
> You want to specifically check for
>
> $_SERVER["HTTPS"] == "on"
>
> because if you're not using HTTPS then $_SERVER["HTTPS"] does not exist.
>
If this is the case why does it work ok on my windows box? Shouldnt it have
same output accross all platforms?
--
PHP General Mailing List (http://
o cares what happens on a Windows box?" I do.
This script needs to be cross platform usuable. Its no good using code that
defects on different operating system. Now someones explained i can work
arround it.
Jamie
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
need
to store the artists that i have already passed and havent been matched so i
can check the next artist.
I know it sounds confusing, but i hope you understand what i mean! Any help
would be appreciated.
Jamie
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http
there any better ways you suggest me to do this.
Im trying to this for two reasons first is to make the application usable by
anyone and the second reason is to try to push the boundarys of the langage.
I would like anyones comments and views on this please. Any views might help
me come to
Thanks Jed,
Im just trying your method.
If i have any problems ill reply to this post
Jamie
"Jed Smith" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> This is done in a few examples using base64_encode() and base64_decode().
> A particular OpenGL example
Can anyone tell me why this piece of code is not working - I'm finding that
if I pass values rather then the HTTP_COOKIE_VARS["cookiename"] to the
function it seems to work but I want to have this value a variable cookie
(for obvious reasons). I cannot seem to find any more information on this
fu
= $pref_settings["currency_pref"];
$notifyme_pref = $pref_settings["notifyme_pref"];
$page_pref = $pref_settings["page_pref"];
}
PrefResults($HTTP_COOKIE_VARS["cookie_user"],$HTTP_COOKIE_VARS["cookie_passw
ord"]);
Regards
Jamie
--
PHP General Mai
Can someone please help me with this code I'm having major problems with
arrays. This code is part of a function I'm writing to deal with an array
returned from a HTML form of check boxes so if anyone has an example of this
sort of thing I'd appreciate a look at it. Anyway Code follows :
//Readin
I'm trying to pass a multi dimensional array through a url link but I'm
having a hard time doing this. Is it actually possible? from what I can tell
the url just shows ...$form_options_array=Array
Is there a better way to do this?
thanks
jamie
--
PHP General Mailing
?
--
-
Jamie Ingram
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
didn't really see anything that I understood to be related to the
problem I'm experiencing.)
TIA,
Jamie
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On 07/06, Jason Wong rearranged the electrons to read:
> php.ini > register_globals
Well, that was simple and stupid. :/
Thank you for the prompt reply. Obviously, that did the trick.
- Jamie
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.p
I'm trying to track progress etc..say running and how each run gets'
progressivly longer etc...or the time decreases as the distance stays
the same etc..
Anyway, when doing the mysql_fetch_array, I need that data to somehow
not get lost once the while loop has completed, also, I need to stack
I'm trying to track progress etc..say running and how each run gets'
progressivly longer etc...or the time decreases as the distance stays
the same etc..
Anyway, when doing the mysql_fetch_array, I need that data to somehow
not get lost once the while loop has completed, also, I need to stack
Hello,
I am wondering if it is possible to create web services using php? If so,
where would I go to find some resources about it?
Thanks
Jamie
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
I have a COM server that exposes a read/write property with a parameter.
Here is the IDL:
[propget, id(5), helpstring("property Status")] HRESULT Status([in] BSTR
bstrPhase, [out, retval] long *pVal);
[propput, id(5), helpstring("property Status")] HRESULT Status([in] BSTR
bstrPhase, [in] long new
places) !
Is there a way to override this behaviour in the ini file, or even in the code?
One of my customers sites is down because of this, and i can find nothing through
searching 8(
Thanks guys,
Jamie Burns.
hey guys...
my dumb isp has turned on ' --enable-trans-sid ' for all of the users on their
webserver without telling them.
while i am sure this feature has some benefits, it is breaking my code, big time.
besides sticking the session value onto the end of every suspected server request, it
is
thanks!
what do i need to put in my apache config?
j
- Original Message -
From: "Cynic" <[EMAIL PROTECTED]>
To: "Jamie Burns" <[EMAIL PROTECTED]>;
<[EMAIL PROTECTED]>
Sent: Saturday, January 13, 2001 3:06 PM
Subject: Re: [PHP] Guru Needed - the p
Hi..
How can I send a browser a "404 not found" page?
I tried putting this in a script:
header("Status: 404 Not Found");
exit;
before any other output, but i keep getting the standard page:
from php. any ideas?
jamie burns.
ahhh, cracked it ;)
header("HTTP/1.1 404 Not Found");
echo('');
exit;
will produce the nice IE 404 error document... in fact, echoing anything
under a certain size, after the header, seems to get IE to do its thing.
Jamie Burns.
- Original Message -
From: &
will this not work...
if (($HTTP_COOKIE_VARS["foo"] != 'bar') && ($HTTP_GET_VARS["set"] !=
true)) {
SetCookie("foo", "bar");
header("Location: $PHP_SELF?set=true");
}
at the top of the page. or is this what is unr
oop, i missed an 'exit;' command off...
if (($HTTP_COOKIE_VARS["foo"] != 'bar') && ($HTTP_GET_VARS["set"] !=
true)) {
SetCookie("foo", "bar");
header("Location: $PHP_SELF?set=true");
exit;
}
--
hi..
can anyone tell me how i get apache to never send out the contents of my include files
(*.inc) to users?
i dont want my source sode to be visible to browsers.
thanks,
jamie.
implementation method - mysql as NT service, php as IIS module?
anyone have any real life experiences they could share?
thanks for your thoughts. i really dont want to have to dig my ASP book out.
jamie.
ps. i run FreeBSD 4 with PHP/MySQL myself and this is my preferred choice of server
setup ;)
:
ereg("element[ ]*[=][ ]*[\"]?([^\">]*)[ |\"|>].*" ...
thanks for your help - regular expressions are not my best area!
jamie.
7;s VERY tedious to
get a demo account, and see that their Web-based administrator is
junk. I'm used to the very slick administrator found on Cobalt
servers. I have given up after a half-dozen attempts at other servers.
I sincerely hope someone can help.
Thank you very much,
Jamie
--
PHP General Ma
file they
are looking for.
Anyone have suggestions on how to close this security hole?
Thanks,
Jamie
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]
up system. (RAQs let you download a compressed backup, which
can be easily uploaded, and reverted to).
Cobalt servers do these things.
Jamie
On 16 Mar 2001 08:10:24 -0800, [EMAIL PROTECTED] ("John Huggins")
wrote:
>You mention a large desire for a good web based administrator. I won
Hi,
How do you add text vars together e.g.
$varone = "hello";
$vartwo = "world";
$varthree = ($varone, $vartwo);
Obviously the above example doesn't work so can someone tell me how to do this?
Thanks
Jamie Saunders
Mail: [EMAIL PROTECTED]
Web: http://jamie-
ed in the PHP manual but can't find any
information relating to the query string.
Thanks.
Jamie Saunders
Mail: [EMAIL PROTECTED]
Web: http://jamie-s.co.uk
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [E
Hi,
I'm submitting a phone number from an HTML form to a PHP page that examines
it to see if it's an integer:
form.html:
validate.php:
However, for some reason the script doesn't recognize the number as an
Integer - why is this and how can I remedy it?
Jami
Hi,
Is it possible to add text onto the end of a variable name?
e.g. to add the word 'code' onto the variable $field so it would be $fieldcode
Thanks
Jamie Saunders
Mail: [EMAIL PROTECTED]
Web: http://jamie-s.co.uk
--
PHP General Mailing List (http://www.php.net/)
To unsubscri
Hi,
I've set up a MySQL database and an HTML search form. I'd like to know how
to search the database with whatever it entered into the form. It only
needs to be a simple search, returning anything that matches the word(s)
entered into the input box in the form. Thanks.
Jami
Hi,
I want to check whether a string contains a certain word e.g.
$varOne = "this is a string";
if ($varOne contains "is") {
return true;
} else {
return false;
}
Is there an operator for 'contains', if not how do you do t
Hi,
Is there a PHP function that will redirect the current page to another url?
e.g.
if ($varTwo == $varOne) {
URL redirection code
} else {
echo "You stay right where you are!";
}
Thanks.
Jamie Saunders
Ma
ay of resetting it?
Thanks.
Jamie Saunders
Mail: [EMAIL PROTECTED]
Web: http://jamie-s.co.uk
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]
Hi,
First of all, I've just joined this list, so here's a brief
introduction. My name's Jamie Saunders, I'm an 18 year old student from
the UK studying for my A-Levels. I'm currently working on a Computer
Studies project for a local business which involves setting
ok...sorry to ask a stupid question but
$result = mysql_query("SELECT jazz FROM funk WHERE foo='bar'")
but where do you go from there. How would you iterate through the array a
row at a time, doing your thing as you go along?
thanks,
jamie
--
PHP Genera
what is the best way of using html templates to display data from a database?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]
but I
can't find any documentation for this? is it possible?
Thanks,
Jamie :-)
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]
I have recently been requested to choose new technology to be used within my
organization. My options seem to include PHP and JSP, and I am leaning
toward PHP. The one thing I really need to know is how many concurrent
users PHP can handle at one time. This project is for an extremely large
cor
That's exactly what sessions are for, check out
http://www.php.net/manual/en/ref.session.php for more info about using
sesions.
> Hi,
> I have a menu, where I would like to be able to store which link the user
> last pressed. What is the best way of doing this? I thought about
sessions,
> but is
What you need to do is include the path to the file in relation to the file
that is including it, this can be an absolute path or a relative path.
Eg.
Assuming the file is located in /www/foo/htdocs/foo/index_test.php and the
include file is in /www/foo/htdocs/
Absolute path: require("/www/foo/h
"Mikhail Avrekh" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> You can say something like:
>
>
>
> window.open("=$csv_filename?>",
> "target",
> "resizable,status,width=500,height=200");
>
>
>
>
> On Wed, 3 Apr 2002, Joe Keilholz wrote:
>
> > H
You'de be better off using the built in nl2br() function
(http://www.php.net/manual/en/function.nl2br.php) it'll have the same effect
as a it'll insert a tag everwhere a newline character occurs. Where 2
newline characters occur it will produce which in your HTML will
break your text in the sam
Sounds like you'll have to use PHP to to first create the images. Then in
your output page just include some javascript to rotate the images. If you
have to you can use PHP to write the javascript.
"Jessica Lee Tishmack" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]...
> can you
Sounds like you might be trying to do things the hard way. Wouldn't it be
easier to simply set the table widths as a percentage rather than an exact
width in pixels?
Eg. width="50%"
The above example will set the table width to 50% of the browser window
width. Or maybe you could use a bit of D
Jamie
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]
What is this problem you speak of? I have never come across any problems
with mail().maybe i'm not trying hard enough ;)
-Original Message-
From: Chris Cocuzzo [mailto:[EMAIL PROTECTED]]
Sent: 19 June 2001 05:04
To: PHP General List (E-mail)
Subject: [PHP] [php]using sendmail with php
Just a quickieDoes anyone know of any cheap but reliable (i.e. they know
at least something about PHP) Hosting companies in the UK?
By cheap i mean about £10 a month. Speed isn't an issue as long as were not
talking a snails pace.
Cheers
Jamie "Funkdaddy" Thompson
i think you be sendering this to the wrongs peepel.
-Original Message-
From: Mihailescu Emil [mailto:[EMAIL PROTECTED]]
Sent: 21 June 2001 04:52
To: [EMAIL PROTECTED]
Subject: [PHP] informations
Sir/Madame
Please allow me to introduce myself. My name is Mihailescu Emi. I am sales
man
name
multiple times).
I was only able to unearth one thread on this list pertaining to this topic
and the question never seemed to get answered. If you're interested an
archive of that thread is located at:
http://marc.theaimsgroup.com/?l=php-general&m=98803976202673&w=2
Thanks.
ok so i got
mail("[EMAIL PROTECTED]", "$message", "sms alert", "Return-Path: $email
<$email>\nFrom: $email <$email>\nReply-To: $email <$email>\nX-Mailer: " .
phpversion());
the email appears as from [EMAIL PROTECTED] istead of [EMAIL PROTECTED] which it
should (and always has done previousy)
I
use the str_replace() function
http://www.php.net/manual/en/function.str-replace.php
-Original Message-
From: Marcus James Christian [mailto:[EMAIL PROTECTED]]
Sent: 27 June 2001 05:19
To: [EMAIL PROTECTED]
Subject: [PHP] Filtering out \ when a ' is user entered?
Hello,
I'm pretty n
ich field 'name' beings with A
} else if ($letter = B) {
...
I'm just starting out on this, so please excuse my ignorance :)
Jamie Saunders
[EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [E
t to be able to look for the
tags within the text files and parse them as PHP
include(""); tags. Is there any way of achieving this?
Thanks.
Jamie Saunders
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [E
ly by simply
changing each comma to a '' in the script?
Thanks.
Jamie Saunders
[EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]
Hi,
I've got a list of strings in the following format:
item one
item two
item three
What I'd like to do now is to capitalise the first letter of each word so
the list becomes:
Item One
Item Two
Item Three
Can anyone tell me how to do this?
Thanks.
Jamie Saunders
[EMAIL PROTECTED]
? I don't want to
list the last 5 records entered from each table but from the whole database.
Is there any easy way of doing this?
Thanks.
Jamie Saunders
[EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands,
Hi,
What I'd like to do is take a string (paragraph) of text consisting of say
500 words and display only the first 100 words. Is there a function able to
do this?
Thanks.
Jamie
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For addit
w to accomplish this?
regards,
jamie burns.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]
h cgi, and many of the
scripts you see on the web are written in perl (look at the first line of
the script).
i personally havent any such converter.
jamie burns.
"Steven Dowd" <[EMAIL PROTECTED]> wrote in message
036601c127e2$a78f67d0$0100a8c0@win2k">news:036601c127e2$a78f
ting is what I was expecting for the
code below)
Thanks again
Jamie Smith
CODE follows
init();
header("Location: $HTTP_REFERER");
break;
case "add" :
$MYSESSION["cart"]->add($item_code, $form_qty, $option);
default:
?>
CODE :
Option:
ugh to try and see what is going on. I used gdb to peer in to a
core file and saw that libthread_db.1.so or something like that was
the culprit. Does anyone know what would cause PHP to start
segfaulting after APC was installed?
Thanks,
Jamie
--
PHP General Mailing List (http://www.ph
Yes, I'm using Apache 2.2.11 and I do believe that threading could be
enabled. Apache was compiled through cPanel with Easy::Apache. I
didn't see any options to disable threading unless I missed it.
Jamie
On Tue, Feb 10, 2009 at 3:51 PM, Nathan Nobbe wrote:
> On Tue, Feb 10, 20
d for some time. They already exist and are not
using APC at all. As soon as APC is taken off they stop segfauting.
Jamie
On Tue, Feb 10, 2009 at 4:10 PM, Nathan Nobbe wrote:
> On Tue, Feb 10, 2009 at 5:03 PM, Jamie Krasnoo wrote:
>>
>> Yes, I'm using Apache 2.2.11 and I do bel
ion_ts=/usr/local/Zend/lib/ZendExtensionManager_TS.so
Does APC not play nice with any of these?
Jamie
On Tue, Feb 10, 2009 at 4:25 PM, Nathan Nobbe wrote:
> On Tue, Feb 10, 2009 at 5:19 PM, Jamie Krasnoo wrote:
>>
>> I did compile Apache with mpm_prefork though.
>
> hmm
Hmm, I'll try taking down the optimizer and seeing if it segfaults or
not. If that's what it is it's a crying shame that apc and
zend_optimizer can't get along.
On Tue, Feb 10, 2009 at 4:46 PM, Nathan Nobbe wrote:
> On Tue, Feb 10, 2009 at 5:34 PM, Jamie Krasnoo wrote:
&
files all over the place if it had been something
else.
Jamie
On Tue, Feb 10, 2009 at 4:53 PM, Jamie Krasnoo wrote:
> Hmm, I'll try taking down the optimizer and seeing if it segfaults or
> not. If that's what it is it's a crying shame that apc and
> zend_optimizer can
You should be using cURL for making requests.
No, you won't be able to install any pecl packages on your host. It's
a free account and I doubt they will be bending over backwards for you
anytime soon. If you want custom hosting, pay for a VPS account or a
dedicated server.
On Thu, Jul 21, 2011 at
Most hosting companies have cURL already installed and available
rather than pecl_http. I probably should have said "try using cURL"
instead of "you should be using cURL". However most FREE hosting
companies probably won't even have that installed due to security
concern
' => '...'
),
1 => array(
'id' => '2',
'address1' => '...',
'address2' => '...',
'city' => '...',
'state'=> '...',
'zip' => '...'
)
);
For some reason I can't seem to come up with the right naming schema in
forms in order to get this structure.
Jamie
n't have given the end result I sought, I don't think. Clear case
of not seeing the forest for the trees.
Jamie
On Thu, Aug 4, 2011 at 10:31 AM, Andrew Ballard wrote:
> On Thu, Aug 4, 2011 at 1:18 PM, Jamie Krasnoo wrote:
> >
> > Hey all,
> >
> > I get the
Whether to use one or not and if so
which one?
Jamie
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
rather on *what* and *when* it is appropriate to *use* or *substitute*
something like Doctrine instead of using straight pdo or mysqli or the
abstract that came with that particular framework. Substituting
Doctrine or some other abstract could complicate a project rather than
help.
Jamie
On Thu,
re options for doing things like parsing
email so that might get you up and running faster than with PHP. That
said, there are some things in the PEAR library that might help. Take a
look at the Mail_Mime class (http://pear.php.net/package/Mail_Mime).
- Jamie
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
the PEAR Auth class:
http://pear.php.net/package/Auth
http://pear.php.net/manual/en/package.authentication.auth.php
It allows you to use MySQL to store the user information and will
probably save you some time on the actual "login" part of your script.
- Jamie
--
PHP General Mailing
that helps - just wanted to throw out the more complex scenario as
you might not have initially thought of an approach like that.
- Jamie
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
27;d also like to hear if someone has written nice
crawling code in PHP.
- Jamie
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
#x27;t this work?
foreach($models as $car => $model_array) {
foreach($model_array as $key => $model) {
print "The car is a $car $model";
}
}
If you know what manufacturer you want ('ford' or 'chevy') then you can
just get the models for that by doing this:
hing like this:
You'll need error checking, etc. but that general idea should work. Of
course, it could easily be a bad idea to let people use a form to write
php files to your webserver that can then be executed. What would happen
on your server if I put this line in the textarea on the f
man pages for details on how to do this properly and check for
errors:
http://us4.php.net/manual/en/function.fopen.php
http://us4.php.net/manual/en/function.fwrite.php
http://us4.php.net/manual/en/wrappers.ftp.php
- Jamie
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
alculation from the loop and calculate it by doing this:
$total = array_sum($_POST['qty']);
Try using arrays in your forms instead of sticking numbers onto the end
of your variable names and I think you'll find things getting much
easier for you.
- Jamie
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
1 - 100 of 122 matches
Mail list logo