Hi, this is my first question to the list and ... Yes I'm a newbie,
verrry wet behind the ears.
I am trying to set up a secured site under IIS. I have done pretty well
by my standard to get to where I have. Authoursed users can access the
site, unauthorised ones get sent elsewhere. So, I am now
On Thursday 10 July 2003 09:41, Tim Grote wrote:
> I updated my linux apache server to php-4.3.2. It works fine but the
> promised 'embedded' gdlib 2 doesnt seem to work. gd_info always ends in
> 'call to undefined function'.
>
> Can anybody tell me what's wrong or how to get gdlib 2 working?
Was
Okay this is a tuffy! I am really just looking for someone to point me
in the right direction, or tutorials or something! maybe ideas
1st - I have created a Lat and Long distance calculator... it takes 2
user inputed zip codes... accesses the MySQL DB for the Lat and Longs...
then figures out the
I want to know what is the difference between {} and the one without {}.:)
I use {} to resolve many problems, but I do now know what is the
difference:).
thank you!
"Aaron Axelsen" <[EMAIL PROTECTED]>
??:[EMAIL PROTECTED]
>
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
>
> Try:
>
> $img_ke
On Thu, 10 Jul 2003, Joe Harman wrote:
> Yeah, me too... LOL... Although, I don't understand the curly
> brackets... I don't see any examples using them in the manual either...
Actually, the manual is pretty clear on this, and with tons
of examples:
http://www.php.net/types.string
http://www
LOL... I was running out of silly tricks to pull out of my hat
LOL... Hey no problem Micah... I do this about 3 or 4 times a day
Especially when my right brain takes over and the ADD sets in...
Have a great one!
Joe
-Original Message-
From: Micah Montoy [mailto:[EMAIL PROTECTED]
I found the error. Your all probably all going to kill me but on the form
itself, I didn't specify a method. Sometimes I think I've been looking at a
screen way to long.
thanks for all your help
"Joe Harman" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Hey... Just for Sh** and
Yeah, me too... LOL... Although, I don't understand the curly
brackets... I don't see any examples using them in the manual either...
http://us4.php.net/trim
Try this
$img_keywords = trim($_POST['keywords'])
or this
$PassItOn=$_POST['keywords'];
$img_keywords = trim($PassItOn);
-Original
On Thu, 10 Jul 2003, Brenton Dobell wrote:
> I know im probibly getting irritating to most of you :P but i thought i may
> ask another thing that is on my mind!
>
> I have a sql query bringing back 200 rows for arguments sake, From this i
> would like an answer to 2 issues i have.
>
> 1) I know
The only time you want to use {braces} like that is
when you are in a string. None of the suggestions
here are in strings, so the use of {braces} is bogus.
The following is good:
echo "Hello {$there['friend']} is good";
Note how we're in a string. This topic is very much
discussed (with load
If you will be processing credit cards you first need to sign up with a
credit card processor like Authorize.net, PSIGate.com, Netbilling.com.
Another alternative would be use PayPal which is a bit easier to
implement but at the cost of flexibility.
They will provide you with a gateway to which yo
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Whenever I call a vriable, I do something like $_POST['keyword']
Are you just getting a parse error?
- ---
Aaron Axelsen
AIM: AAAK2
Email: [EMAIL PROTECTED]
Want reliable web hosting at affordable prices?
www.modevia.com
Web Dev/Design Communit
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Sometimes in situatinos like that, it does the trick for me, im not
really sure why though .., I just now it works :)
- ---
Aaron Axelsen
AIM: AAAK2
Email: [EMAIL PROTECTED]
Want reliable web hosting at affordable prices?
www.modevia.com
Web Dev/
Didn't make a difference. Still getting the errors.
"Joe Harman" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Hey... Just for Sh** and giggles... Try removing the quotes from
> keywords
>
> Make it look like this...
>
> $img_keywords = trim({$_POST[keywords]})
>
> Hmmm. Some
Hey... Just for Sh** and giggles... Try removing the quotes from
keywords
Make it look like this...
$img_keywords = trim({$_POST[keywords]})
Hmmm. Something is up here... Never seen curly brackets used like
this... But that would probably be normal for me LOLjust thought
I point out
Nope. That didn't do it. The errors I'm receiving are:
Notice: Undefined index: keywords in
c:\inetpub\wwwroot\webpage10\example\v_images\dsp_update_image.php on line
22
and
Notice: Undefined variable: img_keywords in
c:\inetpub\wwwroot\webpage10\example\v_images\dsp_update_image.php on line
29
Yes, I know that, what I mean is how to make or which is the PHP code so I
get the report like a Crystal Report for example
"David Robley" <[EMAIL PROTECTED]> escribió en el mensaje
news:[EMAIL PROTECTED]
> In article <[EMAIL PROTECTED]>, [EMAIL PROTECTED]
> says...
> > I'm using MySQL and PHP for
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Try:
$img_keywords = trim({$_POST["keywords"]});
- ---
Aaron Axelsen
AIM: AAAK2
Email: [EMAIL PROTECTED]
Want reliable web hosting at affordable prices?
www.modevia.com
Web Dev/Design Community/Zine
www.developercube.com
- -Original Messa
Anyone see what when I submit this, I can't do a $_POST on it? I check with
the DB first to see if there is a value and if so, I fill it, otherwise, it
will return a blank for the user to fill if they want.
"
size="53" maxlength="500">
On the page that it goes to when it is submitted, the post l
dear all
hello im new user. i want create e-comerce site but i dont know how to
handle credit card paying, procedure, maintenence, etc. can anybody help me?
regard,
xmadda
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hi,
Thursday, July 10, 2003, 6:44:55 AM, you wrote:
MG> Tom:
MG> Thanks for the help. Using the array setup you described, I end up with the
MG> value of each "record" node being appended to a single instance of the
MG> parent node. And that single instance of the parent node is the final one
M
In article <[EMAIL PROTECTED]>,
[EMAIL PROTECTED] says...
> I know im probibly getting irritating to most of you :P but i thought i may
> ask another thing that is on my mind!
>
> I have a sql query bringing back 200 rows for arguments sake, From this i
> would like an answer to 2 issues i have.
On Wed, 9 Jul 2003 19:02:21 +0930, you wrote:
>can you use your windows logon as set it as a variable in php??
>
>eg I log onto a windows machine using brenton can i use a php script to set
>that as a variable, I have seen a similar type function before but i have no
>idea how it works, I know win
Brenton,
The short answer: loops, counters and test
Across - your content and so forth
When to stop - a cell counter tested with mod operator
Alternating colour - a row counter tested with mod operator
That should get you pointed in the right direction. (If this is for a
school project that
Hello people,
I updated my linux apache server to php-4.3.2. It works fine but the
promised 'embedded' gdlib 2 doesnt seem to work. gd_info always ends in
'call to undefined function'.
Can anybody tell me what's wrong or how to get gdlib 2 working?
Thanks.
--
PHP General Mailing List (http:/
Hi,
Thursday, July 10, 2003, 6:44:55 AM, you wrote:
MG> Tom:
MG> Thanks for the help. Using the array setup you described, I end up with the
MG> value of each "record" node being appended to a single instance of the
MG> parent node. And that single instance of the parent node is the final one
M
ok. now I get it. first set the session-variables like any other:
$foo = 'bar';
then register them in the sessionfile:
session_register('foo');
that makes sense. But it's not at all what the manual says. I guess my php
version has passed its expiration date.
thanks for the help, anyway. It seems
"Marek Kilimajer" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> The correct way is:
> In validate.php:
> if(error) {
> if(magic_quotes) stripslashes();
> urlencode();
> } else {
> INSERT INTO ...
> }
>
> In form.php:
> // urldecode() is not needed, GET variables are already decoded
I know im probibly getting irritating to most of you :P but i thought i may
ask another thing that is on my mind!
I have a sql query bringing back 200 rows for arguments sake, From this i
would like an answer to 2 issues i have.
1) I know how to display it row after row going down :P duh of cours
Hi Mike,
I realise that last night. I'm now using $GLOBALS['page_title']
In what situation would create_global() be useful then?
Thanks.
Cheers,
Mun Heng, Ow
H/M Engineering
Western Digital M'sia
DID : 03-7870 5168
-Original Message-
From: Ford, Mike [LSS] [mailto:[EMAIL PROT
This is Way Kewl... I'm a part of a team!
Long Live Open Source..
I believe that if it were closed sourced, I would need a least 2x the amount
of time to learn how to code for someone not from an IT/Programming
background.
Cheers,
Mun Heng, Ow
H/M Engineering
Western Digital M'sia
DID : 03-78
Hello,
This is a reply to an e-mail that you wrote on Thu, 10 Jul 2003 at 00:14,
lines prefixed by '>' were originally written by you.
Just a few things I picked up on while scanning your code...
> $alltext = ereg_replace(' $alltext = ereg_replace(' $alltext = ereg_replace(' $alltext =
i wrote this in couple of hours. i havent really begun to develope it yet.
it works, but i'm sure there's probably better/safer/faster ways to do
certain parts. would anyone like to point out a few?
http://www.domain.com/proxy.php?web=';
/\
* open
> function auth_user($logged_in) {
> if (isset($logged_in)) {
> list($s_username, $hash) = explode(',',$logged_in);
> global $secret_word;
> if (md5($s_username.$secret_word) == $hash) {
> $username = $s_username;
> return $username;
> } else {
> die ("You have t
Thanks. I'm new to PHP, but still I should have seen that. :-)
Jason
On Wed, 2003-07-09 at 18:44, David Nicholson wrote:
> Hello,
>
>
> This is a reply to an e-mail that you wrote on Wed, 9 Jul 2003 at 23:40,
> lines prefixed by '>' were originally written by you.
> > auth_user($_SESSION['logi
Hello,
This is a reply to an e-mail that you wrote on Wed, 9 Jul 2003 at 23:40,
lines prefixed by '>' were originally written by you.
> auth_user($_SESSION['login']);
> var_dump($username);
You are not collecting the value that your function returns. Try:
$username = auth_user($_SESSION['login']
I have a function that checks to see if a user has an active session and
if so I'd like it to return the value of a variable (the variable
$username). However, when I var_dump the variable it's value is NULL.
Anyone know why? Here's the function:
function auth_user($logged_in) {
if (isset($lo
Problem with Smarty. My application is giving me an error when i try to
use smarty on a new WAMP install. Smarty is in my include path. Getting
this error:
*Fatal error*: Call to undefined function: () in
*c:\htdocs\smarty\Smarty.class.php* on line *1658
*line 1658 is:
$_source_return = $reso
Hello,
I am currently streaming via shoutcast once a week,
what i would like to do is basically talk to my shoutcast
server via the ip address and get the amount of listners
etc.
i know its possible, i was just wondering if any of you
had done this and could point me in the right direction
as i
U need to quote it with double quotes and escape them with like so:
\"
that should work for you. If not then you will need to start separating
the string out and joining it with the "." .
--
BigDog
On Wed, 2003-07-09 at 15:51, Micah Montoy wrote:
> Anyone have an idea of how to get this to wo
Thank you for responding. I found just what the doctor ordered - ECHO php.
Sparky
- Original Message -
From: "Ralph Guzman" <[EMAIL PROTECTED]>
To: "'Sparky Kopetzky'" <[EMAIL PROTECTED]>; "'PHP General'"
<[EMAIL PROTECTED]>
Sent: Wednesday, July 09, 2003 16:02
Subject: RE: [PHP] Credit ca
Since you had problems with quotes yesterday too, I would suggest reading
the manual page on strings so you do not continue to have the same problems
day after day.
http://www.php.net/manual/en/language.types.string.php
> -Original Message-
> From: Micah Montoy [mailto:[EMAIL PROTECTED]
Go to http://www.phpclasses.org and look for CreditCard Class under
Validation, else look for one at http://www.hotscripts.com
-Original Message-
-Original Message-
From: Sparky Kopetzky [mailto:[EMAIL PROTECTED]
Sent: Wednesday, July 09, 2003 2:33 PM
To: PHP General
Subject: [PH
> "Sparky" == Sparky Kopetzky <[EMAIL PROTECTED]> writes:
Sparky> Does anyone know of a PHP routine to validate Credit/Debit
Sparky> cards? I've seen some convoluted Javascript scripts but
Sparky> want a PHP version so validation can be done done
Sparky> server-side. Robin E.
Anyone have an idea of how to get this to work? Its the onClick part that
wont work. I know if I pull it out of PHP it works just fine but I need it
part of the script as I have a loop that it runs under.
echo ("");
I considered and tried sending it to a js function but it doesn't like not
havi
http://catalog.worldpac.com/webparts-overview.html
Before I go figuring this out from scratch... Has anyone here worked
with their Java API and interfaced with it via PHP?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
I have a mod10 validation script written in another scripting language.
I could try to convert it if you would like but I am sure that someone
has already done it. Did you try google?
http://www.google.com/search?hl=en&lr=&ie=UTF-8&oe=utf-8&q=php+mod+10&spell=1
--
PHP General Mailing List (htt
lol why didnt i think of this , i have done this before for hidden form
fields when creating a preview page :\ , i guess i have to reconvert if it
reposts so it doesnt screw up the sql
-Original Message-
From: John W. Holmes [mailto:[EMAIL PROTECTED]
Sent: Wednesday, July 09, 2003 8:49 PM
Does anyone know of a PHP routine to validate Credit/Debit cards? I've seen some
convoluted Javascript scripts but want a PHP version so validation can be done done
server-side.
Robin E. Kopetzky
Black Mesa Computers/Internet Services
www.blackmesa-isp.net
php as a client ?
-Original Message-
From: Randy Johnson [mailto:[EMAIL PROTECTED]
Sent: Thursday, July 10, 2003 7:14 AM
Cc: [EMAIL PROTECTED]
Subject: Re: [PHP] client running
All is well. The site I was connecting to with the stream changed the
string format. Once I figured that out
All is well. The site I was connecting to with the stream changed the
string format. Once I figured that out it worked flawlessly :-)
Randy
- Original Message -
From: "Randy Johnson" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>; "Brenton Dobell" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]
Thank you - I did change the ownership and group to webserver owner
(apache)for both the key file and the directory it's in and the script
itself. But unfortunately still the same error. I moved the vertex
(key file) to key directory under my scripts directory and am pointing
to it from the scrip
Also note that the uploaded file will be in the $_FILES[] array.
http://us4.php.net/features.file-upload
--- Mark <[EMAIL PROTECTED]> wrote:
> From your question, it seems you're more concerned with how to get
> the file from the user to the server. To upload a file, you need
> the
> following fo
>From your question, it seems you're more concerned with how to get
the file from the user to the server. To upload a file, you need the
following format for your web form:
Upload file:
That will let you move the file to the server. How you email it from
their is a whole 'nuther matter.
--
On Jul 9, 2003, "Mignon Hunter" claimed that:
|Hello all,
|
|I am trying to execute a command on another server from my web
|application.
|
|I need to execute the command via ssh for security reasons. I have a
|private key/passphrase installed for ssh so that I can run ssh without a
|password.
|
|
Tom:
Thanks for the help. Using the array setup you described, I end up with the
value of each "record" node being appended to a single instance of the
parent node. And that single instance of the parent node is the final one
that was parsed (the attributes verify this). The example I used belo
I noticed that database are very quick with the SQL Query string such as
Insert, Delete and Update. But with Select, it become very slow. I noticed
that I can do the INT() or DOUBLE() for one of the field when using Select
and it become very quick. But I am unable to make it work for CHAR() or
v
Simon Fredriksson wrote:
I'm wondering if there's any easy way to convert special chars to the
numerical version of it. Like space converts to %20 and slash (/) to %2F.
rawurlencode is what you're looking for
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.p
ok.
i have those classes.
but if it is possible i would like to send message with file
attachment without using classes.
i know that it should look something like:
in form :
in script run be something like:
if (is_uploaded_file($attach))
{
$headers .= "MIME-Version: 1.0\r\n";
I'm wondering if there's any easy way to convert special chars to the
numerical version of it. Like space converts to %20 and slash (/) to %2F.
//Simon
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
- Original Message -
From: "ulf sundin" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, July 09, 2003 1:00 PM
Subject: Re: [PHP] session data missing
> ok, so now the variable names are registred and stored in the file. But
> without values.
> check this:
>
> --firstpage.php
Yes, and also the same Rasmus founder of PHP. From time to time he may
even respond to one of you questions. :-)
And you're right one of the best ways to learn is to look at other open
source code. I've learned how to write efficient code and also learned
programming tricks by studying other code.
$result = mssql_query("SELECT * FROM files WHERE file_id = '$cat_name'
ORDER
BY file_name ASC");
$i = $col_num;
$j = 0;
$filename= mssql_result($result,0,"file_name");
$fileID = mssql_result($result,0,"file_id");
for ($k = 0; $k < mssql_num_rows($result); $k++) {
//changes row color
if
You're getting the data from your query outside of your loop. That needs to
be part of your loop, otherwise, as you've seen, it just displays the first
record. You could try something like this:
$cnt = 0;
while ($row = mysql_fetch_object($result))
{
echo "$row->file_name$row->file_id";
$cnt+
The correct way is:
In validate.php:
if(error) {
if(magic_quotes) stripslashes();
urlencode();
} else {
INSERT INTO ...
}
In form.php:
// urldecode() is not needed, GET variables are already decoded
if(magic_quotes) stripslashes();
Arcadius A. wrote:
Hello!
I have a form w
- Original Message -
From: "Arcadius A." <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, July 09, 2003 12:50 PM
Subject: [PHP] TextArea vs. URLEncode/URLDecode/quotes
(snip)
> So, My question is: What's the best way to get the value of a textarea
back
> after validation witho
Hello all,
I am trying to execute a command on another server from my web
application.
I need to execute the command via ssh for security reasons. I have a
private key/passphrase installed for ssh so that I can run ssh without a
password.
The command:
ssh -i vertex [EMAIL PROTECTED] TX 77041
Well, the for loop is now working but its not displaying what I want. I am
pulling data from a DB and for every new I would like to get the next
result and if it reaches more then 2 columns, to start a new row. This I am
not initally having a problem with. That is the looping. The problem I am
ok, so now the variable names are registred and stored in the file. But
without values.
check this:
--firstpage.php
session_start()
session_register('foo');
$HTTP_SESSION_VARS['foo'] = 'bar';
echo $HTTP_SESSION_VARS['foo']; //outputs bar;
transport by a href to:
secondpage.php
session
First, you might want to use more descriptive subjects. That might
describe your urgency, but it doesn't tell us what you need.
As for the question, try this:
$sql = "SELECT *, count(products.mark_name) as count
FROM products, category
WHERE category.name_category=products.name_
Randy,
Flash is so damned graphically oriented, but the graphic bits aren't
necessarily connected to bits of data ...
I'm just talking off the top of my head here w/o knowing any specifics
of your requirements.
Assuming you have n cars, then two tracks would have to be created, each
with
Hello!
I have a form with a textarea...
When the user submits the form, I validate the form on another page.. and in
case the data are not valid,
I redirect the user back to the form, passing all the info filled in
previously in the URL, then I easily display the values in the form
again For
Might want to look at: http://polar-lights.com/en/
-Original Message-
From: Rankin, Randy [mailto:[EMAIL PROTECTED]
Sent: Wednesday, July 09, 2003 5:30 AM
To: '[EMAIL PROTECTED]'
Subject: [PHP] PHP, MySQL and Flash
Does anyone know of any articles on integrating PHP, MySQL and Flash to
p
On Wednesday, July 9, 2003, 8:56:17 PM, Micah wrote:
[ snip ]
MM> for ($j=0: $j < 5; $j++) {
that : needs to be a ;
[ snip ]
--
Regards,
Burhan Khalid
phplist[at]meidomus[dot]com
http://www.meidomus.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http
Installing PHP CLI binary:/usr/local/bin/
Installing PHP CLI man page: /usr/local/man/man1/
Installing PHP SAPI module
[activating module `php4' in /etc/httpd/conf/httpd.conf]
cp libs/libphp4.so /usr/lib/apache/libphp4.so
cp: cannot stat `libs/libphp4.so': No such file or directory
apx
Does anyone know how to call Apache modules from PHP? I want to call the
module mod_headers but don't know how to do it. Is it possible?
Thanks
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
10x a lot. it worked.
Now I have another problem. How to find the number of the records in the table.
this is the way i want (in this case}
Name: aaa 2 times
Name ddd 1 times
Please help with this one
- Original Message -
From: Haseeb
On Tuesday 08 July 2003 11:05, Miranda, Joel Louie M wrote:
> I just wonder, how do you make it fuzzy? I mean the image? On my book, its
> all plain but how about making it fuzzy?
Just put some pixels in random positions/colours all over your image.
--
Jason Wong -> Gremlins Associates -> www.gr
Does anyone know if there is a way to change the referer information
prior
to using php's header function? I've tried things like:
header("Referer: $referer");
where the $referer variable holds the original referer minus the search
term
without luck.
How is the search term passed? Is it passe
I did it similar but calling some variables and it would never work. I'll
give it a shot again and see what happens and if same thing, I'll post it.
thanks
"Matt Matijevich" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> your syntax is correct, just need to change for ($j=0: $j <
Also u can do nested foreach loops too...
Example:
while( $row = mysql_fetch_array( $result ) ) {
$rows[] = $row;
}
foreach( $rows as $row ) {
foreach( $row as $i => $value ) {
// do stuff here
echo "$i = $value\n";
}
}
I do this tons...
--
bigdog
On Wed, 2003-07
Hi all,
I'm thinking this can't be done but then again almost anything is possible
so I'm hoping some Guru can give me some direction.
The company I work with drives traffic to our clients' websites to increase
their sales. We do search term research and find terms that our clients
overlook.
Whe
On Wednesday 09 July 2003 19:29, Steve Jackson wrote:
> > Change the ownership on the directory to whichever user
> > apache is running as (this is the User directive in your
> > httpd.conf file). Then you can restrict the permissions on
> > that directory. You could probably make it 600 if you wa
Hi,
I did one once. It was similar to what you typed out here. Are you having
troubles with this?
-Dan Joseph
> -Original Message-
> From: Micah Montoy [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, July 09, 2003 1:56 PM
> To: [EMAIL PROTECTED]
> Subject: [PHP] nested for loops
>
On Wednesday 09 July 2003 21:12, Zac Hillier - Net Affectors wrote:
> The code below is suppose to replace some images and links but when I run
> it the page just seems to hang and eventually times out.
>
> Am I Looping somewhere and not realising it?
print $i to find out?
--
Jason Wong -> Greml
your syntax is correct, just need to change for ($j=0: $j < 5; $j++) to
for ($j=0; $j < 5; $j++)
>>> "Micah Montoy" <[EMAIL PROTECTED]> 07/09/03 12:56PM >>>
Anyone ever do a nested for loop?
$i =0;
$j =0;
for ($x=0; $x < 50; $x++){
echo ("1 to 50");
for ($j=0: $j < 5; $j++) {
Anyone ever do a nested for loop?
$i =0;
$j =0;
for ($x=0; $x < 50; $x++){
echo ("1 to 50");
for ($j=0: $j < 5; $j++) {
echo ("less than 5");
}
}
I haven't seen a nested loop in PHP, so I'm not sure of the exact syntax.
thanks
--
PHP General Mailing List (htt
There is the internals mailing list that is for the developers of php,
they can answer most questions about the internal workings of php.
I would suggest reviewing the code in cvs to see how they are doing the
c programming for modules. I figure that if you review those extensions
then u should ge
You may want to look into the fusebox methodology. It allows for single
referencing of a file and its valid on every file throughout the page
irregardless of what you add and or take away. More information can be
found at http://www.fusebox.org. It was orginially designed for ColdFusion
but they
try like this
$sql = "SELECT * FROM products, category WHERE category.name_category=products.name_category and category_id=".$_GET['category_id']." GROUP BY products.mark_name";
---Original Message---
From: phpu
Date: Wednesday, July 09, 2003 09:51:08 PM
To: [EMAIL P
Hi,
Is there a better list for posting question about creating loadable
extensions (.so) for PHP? Or is this [php-general] the best place to post?
Also, I saw a post on another PHP related site that said this was not C,
but some kind of C macro language? - - but you can use real C code?
Conf
Oh Ha ha... I see what you meant.. The $_SESSION['test'] had already been
changed from one to two, then three, then four, then back to one. I didn't
see that coming.. I thought it just start at one and haven't changed at
all.
Thanks!!!
"Scott Fletcher" <[EMAIL PROTECTED]> wrote in message
new
I'm kind of expecting them to change because using the hyperlink to go to
the next webpage should be treated as such for the same file (webpage file).
The reason I'm using the same file is because of the navigation menu with
all of the menu options that go to the include file...
"Mike Migurski" <
>If you go to the next webpage by using the same file (webpage) or a
>$_SERVER['PHP_SELF'], the data in the $_SESSION array remain the same, it
>does not change as it should.
> if ($_SESSION['test'] == "one") { $_SESSION['test'] = "two" };
> if ($_SESSION['test'] == "two") { $_SESSION['test'
Hi guys,
Thanks a mil - works great.
I'm trying to develop a shopping cart in PHP/MySQL so I'll no doubt be
back soon with more queries - thanks
Enda
--
-Original Message-
From: Matt Matijevich [mailto:[EMAIL PROTECTED]
Sent: Wednesday, July 09, 2003 5:17 PM
To:
Subject: Re: [PHP] S
It isn't work. it gives me an error at this line.
- Original Message -
From: "Nicolas Costes" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, July 09, 2003 4:49 PM
Subject: Re: [PHP] Big problemneed help
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Le Mercredi 9 Juill
I am not 100% sure but I think you could use the $_POST array or the
$_GET array (depending on the method of your form) with the print_r
function.
>>> "Enda Nagle" <[EMAIL PROTECTED]> 07/09/03 11:04AM >>>
I know this has prob been gone through hundreds of times...
I have a form, and I want to dis
[snip]
I have a form, and I want to display all the form variables on the
target page - without having to use separate print statements for each
variable.
[/snip]
print_r($_POST);
or
print_r($_GET);
hth
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/u
I know this has prob been gone through hundreds of times...
I have a form, and I want to display all the form variables on the
target page - without having to use separate print statements for each
variable.
tks
-
Enda Nagle +
Maybe you should try to reference it from
http://localhost/MyScript/default/style.css
?
-M
-Original Message-
From: Matt Palermo [mailto:[EMAIL PROTECTED]
Sent: Wednesday, July 09, 2003 12:02 PM
To: Matt Matijevich; php-general
Subject: RE: [PHP] linking with home directory
I am testi
1 - 100 of 188 matches
Mail list logo