Thanks guys.
It worked.
Regards,
Faisal
-Original Message-
From: 1LT John W. Holmes [mailto:holmes072000;charter.net]
Sent: Monday, October 28, 2002 10:17 PM
To: Faisal Abdullah; [EMAIL PROTECTED]
Subject: Re: [PHP] Group by YEAR in date
I have a table (postgres), with a date
Hi,
All the (php) files that I create under public_html directory
are visible to all users...is there anything like private_html
where I could test my code and it will not be visible to all except me?!
I am using php in solaris...
mukta
--
PHP General Mailing List
Mukta Telang wrote:
I tried using echo($_GET['$textbox']) instead of printf statement in
As the name of your textbox is textbox not $textbox, use
$_GET['textbox'] instead.
HTH
Chris
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Leif K-Brooks wrote:
I need a way to make a string be replaced with its uppercase version
using ereg_replace. Any ideas?
Chris Shiflett wrote:
Why must you use ereg_replace?
Does your question mean that you, for whatever reason, cannot use
strtoupper() instead?
Leif K-Brooks wrote:
Hi ,
I`m making a website where users login. After the login is successfull, the
session starts,
and keeps the username and password in a PHPSESSID cookie.
Question:
When the user leaves the sercure.php(page after login) page (to go to
another page like another
website or to a home page link) ,
Hi,
I'm doing HTTP file upload but I'm having a problem where $_FILES
['userfile']['error'] is always 0. Even if I press the stop button or
close the broser window where the upload is occuring it's always 0. This
results in truncated files.
Why ? What could be happening ?
Is there any other way
Hi All,
I have just been trying to add some more extensions to my site, I have
copied the dll's for the extensions I wish to add to my extensions dir and
uncommented them in my php.ini.
This worked fine for all of them which include ctype, gd etc. , except for
the xslt extension which will just
Would not be closing the conection in the perl script enough?
Martin Adler wrote:
Hi,
this php-script should read from a server (that i've written in perl) until
it receives the EOF signal.
My server sends the EOF-signal by
print $client \n\004; # \004 = EOF
to my script but fread
Try print_r($_FILES) and see if you really get what you should. And also
check if you have your
form set as
form enctype=multipart/form-data action= url method=POST
David Russell wrote:
Hi all,
I have a form with a file upload section. The target script contains the
following:
if
You can use .htaccess file to restrict access to a directory (if you are
allowed to do it).
And about as much safe and much simpler is to make a secret directory
that noone knows about.
Mukta Telang wrote:
Hi,
All the (php) files that I create under public_html directory
are visible to all
don't know much about windows, but isn't the problem in the ./ part?
Can you remove it?
Simon Taylor wrote:
Hi All,
I have just been trying to add some more extensions to my site, I have
copied the dll's for the extensions I wish to add to my extensions dir and
uncommented them in my php.ini.
hi,
i asked this before , but how do i end a session when a person changes from
my secure site to another site.
eg.MY page is secure.php(you have to login to get here)
what is the user types in www.php.net at url, then the session will still go
on , by i want it to end !
Thanx ,shaun
--
PHP
Hi... I'm looking for a preg_match regular expression to find all href tags
into a text field...
can someone help me??
I've tried a lot of regexp but... nothing work correctly...
I can't get all matching href ( such as a href='xxx'/a or a
href=xx/a , ... )
any idea?
cheers..
P.E
--
PHP
If I have a page with frames, how can I get the title of the frameset to be
the title of the main frame? I want this title to change every time the
visitor change the page.
Any help?
--
Trasca Ion-Catalin
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit:
On Tue, 29 Oct 2002 00:14:06 -0500
taylor [EMAIL PROTECTED] wrote:
i might be crazy, but why don't the many CMS, forum, link directory,
etc packages integrate with a unified user manager?
is this possible? is there perhaps an xml standard for contact
datatypes that could be used?
There is
Trasca Ion-Catalin wrote:
If I have a page with frames, how can I get the title of the frameset
to be the title of the main frame? I want this title to change every
time the visitor change the page.
Any help?
That doesn't have anything to do with PHP, but...
you can use JavaScript, something
-Original Message-
From: PHP List [mailto:php_list;ibcnetwork.net]
Sent: 28 October 2002 22:48
To: php
Subject: [PHP] Array Question
Hi,
Lets say I have a simple array like this:
$myarray = array(a=b,d=c);
echo $myarray[0] will return 'b';
How can I get the name of the
Hi
I need to do the following, and have a slight idea of how to do it, but
I'm not sure...
I want to do a select id from table where something = whatever ,
then I will display all the hits from that query as links to a
display page, sending along the id's of the row.
On that next page, I will
PS, also, I would need to know and handle the beginning and end of that
array, ie, if there isn't a next or previous, I wouldn't want to display
a next or forward button, or maybe disable it...
Thanks
On Tue, 2002-10-29 at 14:06, Petre Agenbag wrote:
Hi
I need to do the following, and have a
Hi,
Could anyone tell why my background colors with
ImageCreateTrueColor() are becoming black ?
I use the following script:
?php
Header(Content-type: image/png);
$im = @ImageCreateTrueColor(120, 50)
or die (Cannot Initialize new GD image stream!);
$background_color =
From the gd manual at boutell.com:
Truecolor images are always filled with black at creation time. There is
no concept of a background color index.
I suppose you'll have to use a function like imagefill to get your yellow
background.
-Josh
On Tue, 29 Oct 2002, Wouter de Jong wrote:
Hi,
there should be something like:
extension_dir = C:\PHP\extensions
in your php.ini
Simon Taylor wrote:
Hi All,
I have just been trying to add some more extensions to my site, I have
copied the dll's for the extensions I wish to add to my extensions
dir and
uncommented them in my php.ini.
On Tue, Oct 29, 2002 at 07:51:21AM -0500, [EMAIL PROTECTED] wrote:
From the gd manual at boutell.com:
Hmm, that was one place I didn't look at :( *stupid*
Truecolor images are always filled with black at creation time. There is
no concept of a background color index.
I suppose you'll have
When i enter
1%2B1%3D2
to the input form and submit, the result is
1+1=2
It looks like the http request received by php is not
application/x-www-form-urlencoded but php thinks that it is.
I dont know what to think about that.
Chris Shiflett [EMAIL PROTECTED] wrote in message
Perhaps you want to look at array_keys().
On Monday, October 28, 2002, at 05:48 PM, PHP List wrote:
How can I get the name of the index?
--
Brent Baisley
Systems Architect
Landover Associates, Inc.
Search Advisory Services for Advanced Technology Environments
p: 212.759.6400/800.759.0577
--
I'm resending this because I don't see the message in the archive. Sorry
if you're getting the message for the second time.
Jorge.
- Forwarded by Jorge Manuel Silva/doi/ep/bportugal on 29-10-2002 13:23
-
It's posible to call a variable from another file?
--
Trasca Ion-Catalin
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Does anyone use this?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On Tuesday 29 Oct 2002 2:06 pm, Neil wrote:
Does anyone use this?
Yes
next question..
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hi all!
in the current site that im building there are flash banners for advertisment.
now the owner of the site want to know how many times a banner got clicked and viewed.
here i got a problem... the flash banners direct to another sites (changing all the
time) and i cant figure out a way to
What do you mean framed redirect? If you mean make frame
go to a different url, just use javascript. If you mean
make a link target a frame, just use target= in the a href.
On Tue, 2002-10-29 at 09:11, Martin Wright wrote:
I'm new to PHP :(
Can someone either give me a hint on how to achieve
.htaccess
http://httpd.apache.org
Mukta Telang wrote:
Hi,
All the (php) files that I create under public_html directory
are visible to all users...is there anything like private_html
where I could test my code and it will not be visible to all except me?!
I am using php in solaris...
mukta
Greetings,
Forgive my newbism here, but I am having a hard time recieving check(box)ed
items from a form sent to e-mail using PHP.
The code is as follows:
//Routine for checkboxes
$MailBody .=Type medlemskap : ;
$items = 2; //initiate possible # of items
for ($i = 1; $i = $items; $i++)
What is $medlemskap[]???
You MUST refer to item_1[].
Also, I believe you REALLY meant that all values be accessed through an array;
therefore
the name= parameter in your HTML must all be the SAME name:
input type=checkbox name=items[] value=hovedmedlemskap
hovedmedlemskap [200 kr.]
input
I recently upgraded my system, and all of a sudden strtotime won't handle a
date/time prior to the unix start microtime..
For example echo strtotime(1965-01-01); returns a -1 (e.i. invalid
date/time format). According to the PHP4 docs:
Note: The valid range of a timestamp is typically from Fri,
Rick Emery [EMAIL PROTECTED] wrote in message
news:03f901c27f5a$2bab0e50$0500a8c0;honeybee...
What is $medlemskap[]???
? I just modified it from the default code:
//Routine for checkboxes
$MailBody .=Question 8 : ;
$items = 3; //initiate possible # of items
for ($i = 1; $i =
password-protect it :)
it is not PHP question
--
Maxim Maletsky
[EMAIL PROTECTED]
www.PHPBeginner.com // PHP for Beginners
www.maxim.cx // my Home
// my Wish List: ( Get me something! )
http://www.amazon.com/exec/obidos/registry/2IXE7SMI5EDI3
Mukta Telang [EMAIL PROTECTED]
You have to fill in the background yourself with an ImageRectangle call.
For truecolor images the first colour allocated is no longer the default
background colour.
-Rasmus
On Tue, 29 Oct 2002, Wouter de Jong wrote:
Hi,
Could anyone tell why my background colors with
ImageCreateTrueColor()
Ever since PHP 4.2.0 (in PHP v4.1.0 it was not default yet) you need to
access the value in variable $textbox via $_POST variable:
printf(BRhello %s!,$_POST['textbox']);
--
Maxim Maletsky
[EMAIL PROTECTED]
www.PHPBeginner.com // PHP for Beginners
www.maxim.cx // my Home
// my Wish
http://www.macromedia.com/desdev/mx/flash/articles/flashmx_php.html
http://www.phpbuilder.com/columns/hill20011214.php3
Neil [EMAIL PROTECTED] wrote in message
news:20021029140955.29707.qmail;pb1.pair.com...
Does anyone use this?
--
PHP General Mailing List (http://www.php.net/)
To
In thousands.
--
Maxim Maletsky
[EMAIL PROTECTED]
www.PHPBeginner.com // PHP for Beginners
www.maxim.cx // my Home
// my Wish List: ( Get me something! )
http://www.amazon.com/exec/obidos/registry/2IXE7SMI5EDI3
Neil [EMAIL PROTECTED] wrote... :
Does anyone use this?
I am trying to pass the values of a select box which can have more than one
value to a page.
In the address bar of the page i have sent to, I have
select=item1select=item2select=item3select=item4select=item5select=item6
on the page i have
echo $select
but only the last item (item6) is being
Please don't answer with Tried that without showing us your new HTML and code
Show us the new code.
- Original Message -
From: Tine [EMAIL PROTECTED]
To:
Sent: Tuesday, October 29, 2002 9:12 AM
Subject: Re: [PHP] php form mail - checkbox problem
Rick Emery [EMAIL PROTECTED] wrote in
Change the name of your select field to select[]
select name=whatever[] multiple
Craig wrote:
I am trying to pass the values of a select box which can have more than one
value to a page.
In the address bar of the page i have sent to, I have
Where are the selected values coming from?
Please provide more details and code...we cannot read your mind...
- Original Message -
From: Craig [EMAIL PROTECTED]
To:
Sent: Tuesday, October 29, 2002 9:19 AM
Subject: [PHP] Select values in an array???
I am trying to pass the values of a
You don't even need the word multiple
- Original Message -
From: John Nichel [EMAIL PROTECTED]
To: Craig [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Tuesday, October 29, 2002 9:27 AM
Subject: Re: [PHP] Select values in an array???
Change the name of your select field to select[]
You do if you want to select multiple values from a select element.
Otherwise, you can only select one.
Rick Emery wrote:
You don't even need the word multiple
- Original Message -
From: John Nichel [EMAIL PROTECTED]
To: Craig [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Tuesday,
I've used it without multiple many times
- Original Message -
From: John Nichel [EMAIL PROTECTED]
To: Rick Emery [EMAIL PROTECTED]
Cc: Craig [EMAIL PROTECTED]; [EMAIL PROTECTED]
Sent: Tuesday, October 29, 2002 9:33 AM
Subject: Re: [PHP] Select values in an array???
You do if you want to
I have changed the select to slect[] but the next page displays array
how do i display each individual select item in a list
ie
you have selected
item2
item4
item5
.
.
.
.
Rick Emery [EMAIL PROTECTED] wrote in message
news:05e401c27f60$52399a90$0500a8c0;honeybee...
I've used it without
http://www.php.net/manual/en/ref.array.php
Craig wrote:
I have changed the select to slect[] but the next page displays array
how do i display each individual select item in a list
ie
you have selected
item2
item4
item5
.
.
.
.
Rick Emery [EMAIL PROTECTED] wrote in message
Hello,
Rick Emery [EMAIL PROTECTED] wrote:
[snip]
I've used it without multiple many times
[/snip]
Of course. But, John was correct--you can only choose one.
UNLESS you use multiple, you won't be able to select multiple
values ;)
What seems to be the problem here... html? :)
- E
--
PHP
Thanks for the links, what I'm looking for is a simple form that
communicates with a .php file on IIS 5 and then emails back to a e-mail
address. Any help? (I have created the form with variables just need help
with the .php)
Thanks again
Joseph Szobody [EMAIL PROTECTED] wrote in message
Then you were not able to select multiple values. If you don't include
the multiple, it will only allow you to select one value.
Rick Emery wrote:
I've used it without multiple many times
- Original Message -
From: John Nichel [EMAIL PROTECTED]
To: Rick Emery [EMAIL PROTECTED]
Cc:
[snip]
Thanks for the links, what I'm looking for is a simple form that
communicates with a .php file on IIS 5 and then emails back to a e-mail
address. Any help? (I have created the form with variables just need help
with the .php)
[/snip]
Let me understand, you want a Flash form that submits
Thanks, but I'm trying to replace ALL non alpha-numeric characters,
which I'm doing with the preg_replace, however it leaves the _. Seems
silly to use preg_replace and then use str_replace.
Thanks!
Shawn
John Meyer [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]...
i've just used
The entire site is flash.
Jay Blanchard [EMAIL PROTECTED] wrote in message
news:001801c27f63$3a40a480$8102a8c0;000347D72515...
[snip]
Thanks for the links, what I'm looking for is a simple form that
communicates with a .php file on IIS 5 and then emails back to a e-mail
address. Any help? (I
[snip]
The entire site is flash.
[/snip]
So, are you asking for someone here to write the PHP for you? Or are you
asking for the list to find you a set of pre-made scripts that work in every
situation? I see that you have been pointed to multiple tutorials for
working with Flash and PHP. I also
I HAVE selected multiple items without including MULTIPLE.
- Original Message -
From: John Nichel [EMAIL PROTECTED]
To: Rick Emery [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Tuesday, October 29, 2002 9:54 AM
Subject: Re: [PHP] Select values in an array???
Then you were not able to
I HAVE selected multiple items without including MULTIPLE.
The following link displays a form in which there are multiple SELECTS with the same
name.
Upon processing the form on submit, I do retrieve all selected values, not just the
last.
To check for yourself, open the link and view source.
-Original Message-
From: Rick Emery [mailto:remery;emeryloftus.com]
Sent: 29 October 2002 16:15
To: [EMAIL PROTECTED]
Subject: Re: [PHP] Select values in an array???
I HAVE selected multiple items without including MULTIPLE.
The following link displays a form in which there
Hello,
Rick Emery [EMAIL PROTECTED] wrote:
I HAVE selected multiple items without including MULTIPLE.
The following link displays a form in which there are multiple SELECTS
with the same name.
Upon processing the form on submit, I do retrieve all selected values, not
just the last.
To check
Thanks a lot man !! It worked perfecly !!
Im using smarty template engine .. Id like to know if theres a way to
place php functions, specifically nl2br(), into smarty templates ..
Not in php script that calls smarty class.
Take a look at the modules/ folder in Smarty. You can create
Found a perfect solution to this problem. Check it out at this website,
http://bsdvault.net/sections.php?op=viewarticleartid=85.
Enjoy!!
Scott Fletcher [EMAIL PROTECTED] wrote in message
news:20021023135230.58238.qmail;pb1.pair.com...
I know the topic is off the point but at least, I use PHP
Edwin, you are CORRECT. I had a brain-fart.
I stand before you all, humbled
Round of beer for everyone in the house
cheers
rick- Original Message -
From: @ Edwin [EMAIL PROTECTED]
To: Rick Emery [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Tuesday, October 29, 2002 10:25 AM
Subject:
Look, I'm not trying to start a flame war or anything, but you CANNOT
select MULTIPLE items from a select element without using multiple in
the tag. I looked at your link, and it doesn't have any select
elements, much less multiple select elements. Prehaps you're confusing
checkbox elements
*raises glass*
Happens to the best of us. You should have seen my confusion on a linux
mailing list last night when I was trying to figure out bind9. :)
Rick Emery wrote:
Edwin, you are CORRECT. I had a brain-fart.
I stand before you all, humbled
Round of beer for everyone in the house
Hey Fellas
From the previous posting in the past when I posted a comment about ways
to make Apache start up automatically without manually typing in the
passphrase for SSL. Something that is a must have for the server reboot.
Be of good cheers! I found the reference on the
I have a array called $arr[], it holds integer values, I dont know how
many indexes it holds and I need to be able to find out what the hash
($arr[index])
holds the largest value, is this possable, and if so how?
Regards, David
fish 'n chips on me :)
Good job there--volunteers are great!
- E
Rick Emery [EMAIL PROTECTED] wrote:
Edwin, you are CORRECT. I had a brain-fart.
I stand before you all, humbled
Round of beer for everyone in the house
cheers
rick- Original Message -
From: @ Edwin [EMAIL
You could sort the values (ascending or descending), and select the
first or last value (depending on how you sorted it).
Davíð Örn Jóhannsson wrote:
I have a array called $arr[], it holds integer values, I dont know how
many indexes it holds and I need to be able to find out what the hash
Hello,
Looking for this?
http://www.php.net/manual/en/function.max.php
- E
Davíð Örn Jóhannsson [EMAIL PROTECTED] wrote:
I have a array called $arr[], it holds integer values, I don't know how
many indexes it holds and I need to be able to find out what the hash
($arr[index])
holds the
How do I generate a uniqueid in php?
Thanks,
Eddie
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Sorry, do not want to intrude. I am a developer like the rest of you. I
underestimated and underbid a project and need some serious help.
I am a hardcore java developer (5+ years),and tried to get some java help
but not finding success. While the core of my application is java, I am
in need of
Are any of you subscribed to the above list? If so, do
you ever see any traffic on it?
Chris
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Im trying to explode a string into an array of words using -
$title = preg_split('/[^\w\']/', $title, -1, PREG_SPLIT_NO_EMPTY );
It seems to work well with words like this and don't but it doens't
work with words with accents to it like
Guantánamo
Could my regex be expanded to handle
Please don't answer with Tried that without showing us your new HTML and
code
Show us the new code.
Sorry - found my mistake. I had forgotten to include a hidden input field
:oO
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
No, array_keys does not do what I want, in order to user array_keys, it
assumes I know the value of the key, but I don't, I want to get the value of
the key but all I know is the index.
Perhaps you want to look at array_keys().
On Monday, October 28, 2002, at 05:48 PM, PHP List wrote:
How
This is really my first major PHP encounter, and I have attempted to modify
a php form mail script to include a foot.inc and head.inc file, which works
fine if all required fields in the form is filled out. But if there are more
than 2 required fields missing I end up with what you see here:
Tine [EMAIL PROTECTED] wrote in message
news:20021029171957.30722.qmail;pb1.pair.com...
This is really my first major PHP encounter, and I have attempted to
modify
a php form mail script to include a foot.inc and head.inc file, which
works
fine if all required fields in the form is filled out.
How do I generate a uniqueid in php?
www.php.net/uniqid
---John Holmes...
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hello Tine,
it looks okay to me butlooks like you have met two conditions at
time ($sted == ) and ($telefon == 0)why dont u make something
like this?
if (empty($sted) || empty($telefon)) {
include header
if (empty($sted)){
echo STED NOT FILLED...
}
if (empty($telefon)){
Hi
I KNOW I'm gonna get flamed, but I can't find this anywhere in my books
or in the manual, yet I know I've read it somewhere.
I created an array in a loop as such:
$sql = select stuff from my_table;
$result = mysql_query($sql);
$count = 0;
while ($myrow = mysql_fetch_assoc($result)) {
Martin Hudec [EMAIL PROTECTED] wrote in message
news:18910327021.20021029184135;corwin.sk...
Hello Tine,
it looks okay to me butlooks like you have met two conditions at
time ($sted == ) and ($telefon == 0)why dont u make something
like this?
if (empty($sted) || empty($telefon)) {
Hi,
first of all, i would prefer to do this task in a session-variable (less
traffic, less security holes).
But, if you're sure you need to pass the array via an URL, try:
A HREF=test.php?ary[]=1ary[]=2
which will result in test.php called with $_GET['ary'] containing:
[0] = '1'
[1] = '2'
Oops, I forgot to add the $count++ at the end of the while loop, but
that was just an ommission of this post, in my real code, the array is
created fine ( tested it with a print_r($my_array) ).
On Tue, 2002-10-29 at 19:40, Petre Agenbag wrote:
Hi
I KNOW I'm gonna get flamed, but I can't find
I'm currently writting a redirect script for my site which will transfer
someone to either a external link or a directory on my server. In order to
do this I need to use a directive that either contains the directory path
or a URL. How do I check the contents of a string to see if it contains
I think I found a way of solving the problem.
When the transfer is interrupted $_FILES is filled and no error is
reported. However $_POST will be empty. So, if $_FILES['userfile']['error']
is set to 0 (meaning no error) but $_POST is empty, it means that the file
upload was interrupted.
Jorge.
preg_match()
[EMAIL PROTECTED] wrote:
I'm currently writting a redirect script for my site which will transfer
someone to either a external link or a directory on my server. In order to
do this I need to use a directive that either contains the directory path
or a URL. How do I check the
Hi Guys,
Do you have any ideas how could I remove/uninstall an old php3 version on linux?
Should I delete the files manually?
Many Thanks,
Mike
Martin Hudec [EMAIL PROTECTED] wrote in message
news:18910327021.20021029184135;corwin.sk...
Hello Tine,
it looks okay to me butlooks like you have met two conditions at
time ($sted == ) and ($telefon == 0)why dont u make something
like this?
if (empty($sted) || empty($telefon)) {
Hello,
I'm running php on a Win2000 server.
I also have an MS Access 97 database on the server.
I want to tell the database to execute a macro on an as needed basis by
running a php system() function, but I'm having difficulty making the action
happen.
I suspect it's my coding.
I'm currently
Checkout serialize(); and unserialize();
http://www.php.net/manual/en/function.serialize.php
http://www.php.net/manual/en/function.unserialize.php
//On your first page..
$myarray = serialize($myarray);
echo a href=\myarray=$myarray\Link/a;
//Then on your other page..
$myarray =
Seems to work but I'm getting a Warning Message:
Delimiter must not be alphanumeric or backslash
Here's the code:
$path = http://somehost.somedomain.com;;
preg_match (http, $path, $matches);
if ($matches[0] = http) {
$action = this action;
}
else {
$action = that action;
}
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Hey,
I think you should be able to serialize and urlencode the array and then
pass that via get/post.post would be a lot better as get is limited to so many
chars.
Something like:
$sql = select stuff from my_table;
$result = mysql_query($sql);
Do a little debugging. The error is easy to spot..
Ok, wrote the following code, but get a parse error line 74 (last part of
the code):
if (empty($navn) || empty($addresse) || empty($postnummer) || empty($sted)
|| empty($epost))
{
include(head.inc);
} --- GET RID OF THIS!
if
I'm working on a PHP-based CMS that allows users to post lengthy
article texts by submitting through a form. The short version of my
quandary is this: How can I create a conversion routine that reliably
substitutes HTML-acceptable output for high-ASCII characters pasted
into the form (from
Hello everybody,
I created a form allowing user to upload some files on my server. It works
very fine.
But now I would like him -the user- to be able to choose several files and
upload them at the same time by submitting the form.
Actually I don't really know how to do that, if somebody would
http://www.php.net/manual/en/function.preg-match.php
Wrong syntax, and more code than needed. Your code would always resolve
true (if ($matches[0] = http)). Doing that sets the value of
$matches[0] to http. Equality is ==. RTFM.
If all you want to know is if the URL contains a http,
Hey,
I think you should be able to serialize and urlencode the array and then
pass that via get/post.post would be a lot better as get is limited to
so many chars. Something like:
$sql = select stuff from my_table;
$result = mysql_query($sql);
while ($myrow = mysql_fetch_assoc($result))
Hi,
I am making a secure page where users will be able to send credit card
information.
What kind of support does php offer?
Thanks
Pushpinder Singh Garcha
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
1 - 100 of 166 matches
Mail list logo