Actually... That didn't work... The QuestionID and AnswerID are
different from poll to poll Can I do something like a loop and pass
the QuestionID and AnswerID into other variables...
Ex. Here is my HTML that is dynamically created
*
html
head
titleUntitled
SO COOL...
Thanks too all
-Original Message-
From: Binay Agarwal [mailto:[EMAIL PROTECTED]
Sent: Thursday, July 24, 2003 1:48 PM
To: Joe Harman
Cc: [EMAIL PROTECTED]
Subject: Re: [PHP] help with explode.
Okay... this probably isn't that hard to do... but I am just not sure
to
* Thus wrote Matt Palermo ([EMAIL PROTECTED]):
I am trying to create a submit button out of a hyperlink using the
following
code:
(this is in a file called index.html)
A href=javascript:go_where_my_variable_says('this.php');this
page/a
SCRIPT LANGUAGE=JavaScript
!--
function
* Thus wrote Shaunak Kashyap ([EMAIL PROTECTED]):
Does anyone know what sorting algorithm(s) -- quicksort, mergesort,
radix sort, etc. -- does PHP use internally in its sort function?
Zend actually does the sorting, and its quicksort.
Curt
--
I used to think I was indecisive, but now I'm not
my phpinfo output does not have that particular init
value disable-url-fopen-wrapper. allow_url_fopen
is enabled, safemode is off, and include_path is set
to .:/usr/local/lib/php. further ideas?
--- Curt Zirzow [EMAIL PROTECTED] wrote:
* Thus wrote Police Trainee
([EMAIL PROTECTED]):
When the
I thing, you must use
$s = getenv('SCRIPT_URL'); and not $s = getenv('SCRIPT_NAME'); in php ver 4.3.2
Shaun wrote:
Hi,
The following code snippet is supposed to return the current page i am on
and append some variables.
$s = getenv('SCRIPT_NAME');
$link =
First of all, security.. Windows is full of security holes
Did anyone mention the weak password encryption that cnet.com talked
about recently? If you get a copy of the password file, you can break
any MSW password in a few seconds. Macintosh passwords takes 4000 times
as long (or 4000 times as
Finally,
Thanks to all that tried to help, but I found part of the problem - sort
of. In the file that I am trying to redirect to I have a form with the
line:
FORM onSubmit=return checkrequired(this) ACTION=season-write.php
action=post name=testing
It appears this line was corrupt
* Thus wrote Joel Rees ([EMAIL PROTECTED]):
First of all, security.. Windows is full of security holes
Did anyone mention the weak password encryption that cnet.com talked
about recently? If you get a copy of the password file, you can break
any MSW password in a few seconds. Macintosh
Hi there.
Is there any php book that discusses general design issues for cms's and
webservices in php?
Also, what is your take on xml? Is it worthwhile waiting for v5 to be
released before buying a xml-php book?
thanks
Thomas
--
+++ GMX - Mail, Messaging more http://www.gmx.net +++
Jetzt
Thank you everyone for making my programming get easier, I have been
programming for now 9 mnths and the whole time i have been coding the LONG
and HARD way, just looking at your problems and resolutions to problems has
highly advanced my programming techniques.
I made a very long script which
My uneducated guess is you are running cgi version of php binary, which
is different from cli version.
ermelir wrote:
Hi list,
I search to detect if a script is call from command line or if the call from
a client http browser.
for doing that, I test if:
php_sapi_name()=='cli'
which returns
Don't you need to use $HTTP_POST_FILES array because you have
register_globals off?
Amanda McComb wrote:
I am having a problem with uploading a file from a form. I changed the
permission on the directory, but I am still getting an error. Here is my
error:
Copy
You guys should not forget htmlspecialchars() :)
input name=firstname value=?= htmlspecialchars($array['firstname'])
?
Jay Blanchard wrote:
input type=text value=?php print($db_table_stuff); ?
Adam Voigt wrote:
input name=firstname value=?php echo $array['firstname']; ?
input name=lastname
Hi,
You might want to look at phpFriendlyAdmin at sourceforge
http://sourceforge.net/projects/phpfriendly/
quote
the web developer's answer to simplify content management for the
masses! This package is a remote database management tool made
specifically for web developers who want to ease an
Matt Hedges wrote:
html
headtitleUpdate Sister Info./title/head
body
?php
$host=host;
$user=user;
$password=pw;
$database=db;
$id=1;
Why $id=1, you want to edit any sister info
$connection = mysql_connect($host,$user,$password)
or die (couldn't connect to server);
$db =
hi eric,
as far as i can see, there is no definition for your '$subnav' in your
'incHeader.php'.
if you call your main script like this:
'http://example.com/index.php?subnav=home;', this should work with your
inclusion.
ciao SVEN
Eric Fleming wrote:
Here is a snippet from the header file.
-Original Message-
From: Joe Harman [mailto:[EMAIL PROTECTED]
Sent: 25 July 2003 06:12
The name of the set of radio buttons is the QuestionID (so it's a
number)... And the options are the AnswerID (they are also
numbers)...
This is technically invalid for PHP -- all your form
by the way, it's to complicated. the brackets [ and ] are used for
cha-groups. you can leave them for only one char. so this would be the same:
\\n (you have to escape the backslash with a backslash)
Curt Zirzow wrote:
* Thus wrote John W. Holmes ([EMAIL PROTECTED]):
[EMAIL PROTECTED] wrote:
I need to create a class that looks like this:
class Artikel {
var $id[];
var $rubrik[];
var $ingress[];
var $kategori[];
var $frontbildtyp[];
var $frontbild[];
var $kategoribild[];
var $aktuell;
function SetId($id) {
$this-id[$this-aktuell] = $id;
}
function SetRubrik($id) {
-Original Message-
From: sven [mailto:[EMAIL PROTECTED]
Sent: 25 July 2003 10:35
by the way, it's to complicated. the brackets [ and ] are used for
cha-groups. you can leave them for only one char. so this
would be the same:
\\n (you have to escape the backslash with a backslash)
do you get an error-message? which?
maybe you use
var $id = array();
instead of
var $id[];
ciao SVEN
Patrik Fomin wrote:
I need to create a class that looks like this:
class Artikel {
var $id[];
var $rubrik[];
var $ingress[];
var $kategori[];
var $frontbildtyp[];
var $frontbild[];
Hi to all, i have a big problem, i use a phpBB forum in my page, here in
Spain the ISP's use a cache proxie system.
And when change anything in my forum such as image or new functionality, my
users can not view the forum.
Yesterday i include a visual system confirmation to register, and today my
WebDevMagazine will start in September an international edition of
magazine.If you want to be an author of this magazine please email to :
[EMAIL PROTECTED] the folowing things:
1. Your details - name , age ,...etc
2. Your expirience
3. In what topic from Web Development you want to write
Hi,
I was just thinking about functions, and I believe there were more than two
keywords like global and static, which could be used in functions...
does anybody know them and their functions?
thx for help
Michi
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit:
The threading is messed up on this message, so sorry for the top post.
Actually, the method that Shaunak gave is the best method to use. If you
took your questions and had them formatted from this:
pWhat color are you eyes?br
blockquote
input type=radio name=9 value=5Bluebr
input
I want to upload some file to my web site.
I'm using this script:
html
head
titleUpload Form/title
/head
body
form action=upload_single.php method=post
enctype=multipart/form-data
INPUT TYPE=hidden name=MAX_FILE_SIZE value=102400
Upload a file: input type=file name=thefilebrbr
input
Peda wrote:
I want to upload some file to my web site.
[snip]
But It doesn't work.
Do you have file uploads enabled in php.ini? Take a look at a phpinfo()
page for details.
--
---John Holmes...
Amazon Wishlist: www.amazon.com/o/registry/3BEXC84AB3A5E/
PHP|Architect: A magazine for PHP
The upload_single.php script is just this:
?php
$ime = $_FILES[thefile][name];
print ($ime);
?
I just want for begining to print the name of file.
But It doesn't work.
Do you get anything if you change name to
tmp_name to beging with? If I'm not mistaken
,name isn't filled in with
I have tried this method as well, but I still seem to get the same error. I
have the form tag put in there and everything, with this bit of script inside
the tags, but still no luck. Is there an easier way to accomplish what I want
to do? Please let me know if there is. Thanks.
Matt
=
Do you have file uploads enabled in php.ini? Take a look at a phpinfo()
page for details.
Yes I have.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
i think ['name'] isn't empty, it contains the real name whereas tmp_name
contains the full path to the temp_file on the server
maybe you should try $HTTP_POST_FILES?
Jonas Thorell [EMAIL PROTECTED] schrieb im Newsbeitrag
news:[EMAIL PROTECTED]
The upload_single.php script is just this:
?php
I just remembered (I'm not sure if it makes a difference) that I am using
frames on this page. Does this matter at all? Thanks.
Matt
= Original Message From Matt Palermo [EMAIL PROTECTED] =
Fixing the javascript that you specified still gave me the same
errors... Got any more
[EMAIL PROTECTED]
Police Trainee:
my phpinfo output does not have that particular init
value disable-url-fopen-wrapper. allow_url_fopen
is enabled, safemode is off, and include_path is set
to .:/usr/local/lib/php. further ideas?
What happens when you try to include it? Is there an error?
[EMAIL PROTECTED]
Matt Palermo:
I just remembered (I'm not sure if it makes a difference) that I am
using frames on this page. Does this matter at all? Thanks.
Matt
No, it doesn't... well it shouldn't anyway. Check the source code of the
outputted page. Is it exactly what you want it to
maybe you should try $HTTP_POST_FILES?
I have tryed that too, but nothing happened.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
a litle example of my upload file
form enctype=multipart/form-data method=post action=doupload.php
p align=center
input name=userfile type=file size=30 style=font-family: v;
font-size: 10pt; color: #5E6A7B; border: 1px solid #5E6A7B; padding-left:
4; padding-right: 4; padding-top: 1;
maybe you should try $HTTP_POST_FILES?
I have tryed that too, but nothing happened.
Hm, can't think of whatever else is wrong right
Now but I just tried out your script on my
Server just to see, and it outputs the
Filename alright. So it's nothing wrong
With your script. Granted, my server is
Actually, I found out what the problem is. I have a normal submit button in
the same page, however when I take out the submit button, the javascript code
works fine. When I put the submit button back in, I get the error again. Is
there a fix for this, or do I need to make the submit button
[EMAIL PROTECTED]
Matt Palermo:
Actually, I found out what the problem is. I have a normal submit
button in the same page, however when I take out the submit button,
the javascript code works fine. When I put the submit button back
in, I get the error again. Is there a fix for this, or do I
I read in the site www.php.net that XML support has been completely redone in PHP 5. I
would like to know if the old commands (like xml_parser_create, xml_parse,
xml_set_element_handler...) will be removed or not. Where can I find more information
about it?
Thanks
could be a problem with the post settings in apache? i know apache sets some
restrictions on the size and what's allowed. can't see how it'd be a linux
problem...
does the file appear in your tmp directory at all?
- Original Message -
From: Jonas Thorell [EMAIL PROTECTED]
To: 'Peda'
what is the javascript on it? sorry, missed the start of the thread...
- Original Message -
From: Matt Palermo [EMAIL PROTECTED]
To: Comex [EMAIL PROTECTED]; php-general [EMAIL PROTECTED]
Sent: Friday, July 25, 2003 1:05 PM
Subject: RE: [PHP] Link acting as a submit button
Actually, I
[snip]
Unfortunately I don't think some people got the joke. Next thing
you
know their going to complain that PHP should have told them the
punchline ;)
[/snip]
RTFM at http://www.php.net/itsajoke or STFW at
http://www.google.com/search?hl=enie=UTF-8oe=UTF-8q=PHP+jokes (which,
BTW has a link
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Hi.
I've just found weird thing about in_array() function.
Platform: FreeBSD 5.1/PHP 4.3.3-RC1
Consider this code:
$this-_array_a and $this-_array_b ARE IDENTICAL
$data = array();
foreach ($this-_array_a as $key =
[EMAIL PROTECTED]
skate:
what is the javascript on it? sorry, missed the start of the thread...
http://tinyurl.com/i0un
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
in_array searches for a value, you suply key. This will work as you expect:
$data = array();
foreach ($this-_array_a as $key = $value) {
if (! in_array($value, $this-_array_b)
$data['added'][$key] = $this-_array_a[$key];
}
Branko F. Grac(nar wrote:
-BEGIN PGP SIGNED
I am contemplating the structure for a new site. I would like to
organize the site with sub domains as in
domain.com
subdomain1.domain.com
subdomain2.domain.com
subdomain3.domain.com
I understand that sessions are not passed from domain to domain or
domain to subdomain. I did some searching and
[EMAIL PROTECTED]
Marek Kilimajer:
in_array searches for a value, you suply key. This will work as you
expect:
array_key_exists searches for a key.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
I'm trying to open a pop-up window with PHP but I keep getting an error.
HELP! Does anyone know if they plan to fix this bug in PHP5?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
[EMAIL PROTECTED]
Step Schwarz:
I'm trying to open a pop-up window with PHP but I keep getting an
error. HELP! Does anyone know if they plan to fix this
bug in PHP5?
LOL!
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
This is an attempt to create an backup script for my online databases. There
are few things to sort out and the coding is not the most effiecient out
there yet!!!
I just wanted to check on what you guys think, am I going the right way, is
there anything I should keep in mind?
Mario
Code below
Hi,
due to a current PHP upgrade i am unable to use the following code to get
the filename of the page:
$s = getenv('SCRIPT_NAME');
I need to get the filename without any avariables attached. For example if
the URL is
www.mydomain.com/test.php?test=yes
using $s = getenv('PHP_SELF');
returns
$tmp=split(\\|/,__FILE__);
$s=$tmp[count($tmp)-1];
or something..
--
// DvDmanDT
MSN: [EMAIL PROTECTED]
Mail: [EMAIL PROTECTED]
Shaun [EMAIL PROTECTED] skrev i meddelandet
news:[EMAIL PROTECTED]
Hi,
due to a current PHP upgrade i am unable to use the following code to get
the filename of the
u can try
$filename=$_SERVER[SCRIPT_NAME];
Manoj
Shaun wrote:
Hi,
due to a current PHP upgrade i am unable to use the following code to get
the filename of the page:
$s = getenv('SCRIPT_NAME');
I need to get the filename without any avariables attached. For example if
the URL is
thanks for your reply,
but that doesn't seem to work either, how about removing everything after
and including the ?, how would i do that?
Manoj Nahar [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
u can try
$filename=$_SERVER[SCRIPT_NAME];
Manoj
Shaun wrote:
Hi,
due to a
Quit horsing around fellas, what if the developers take interest in this
thread and decide it's a good idea to release PHP6 with cranial
electrodes that will detect what I want to do, and instead of me
having to code the application, PHP will just spit out the
application... That way our bosses
Peda wrote:
I want to upload some file to my web site.
The upload_single.php script is just this: ?php
$ime = $_FILES[thefile][name];
print ($ime);
I just want for begining to print the name of file.
But It doesn't work.
did you look what comes from your form? try:
[snip]
Quit horsing around fellas, what if the developers take interest in this
thread and decide it's a good idea to release PHP6 with cranial
electrodes that will detect what I want to do, and instead of me
having to code the application, PHP will just spit out the
application... That way our
I'm making a search-engine script for my site that redirects users to
other search engines. Point is that on the website, there's a drop-down
box with some engines and one textfield.
1. User enter the search query.
2. User selects which engine to use.
3. User submits.
4. PHP scripts checks
* Thus wrote Amanda McComb ([EMAIL PROTECTED]):
mysql_query($add_image_query) or die(Update Failed!);
Print out the $add_image_query to see whats wrong with it.
Curt
--
I used to think I was indecisive, but now I'm not so sure.
--
PHP General Mailing List (http://www.php.net/)
and much needed function
debug_and_test_all_my_code();
Jay Blanchard wrote:
[snip]
Quit horsing around fellas, what if the developers take interest in this
thread and decide it's a good idea to release PHP6 with cranial
electrodes that will detect what I want to do, and instead of me
having to
(this is in a file called index.html)
A href=javascript:go_where_my_variable_says('this.php');this
page/a
try this
a href=javascript: go_where_my_variable_says('?php echo
$PHP_SELF;?');this page/a
--
BigDog
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit:
--- Simon Fredriksson [EMAIL PROTECTED] wrote:
Now the thing is that some of these engines use POST method,
which makes it a bit harder to redirect the query. For those
who use GET I just have to use something like
header(Location: http://somewnine.com/query=$query;);
So, does anyone have
Is there any php book that discusses general design issues for cms's and
webservices in php?
I have not seen one dedicated to general design issues for cms' as web
services in php. However, there are many great books on general design
issues. Relating to various languages that can be done
how about this:
$_SERVER[PHP_SELF];
ciao SVEN
Shaun wrote:
thanks for your reply,
but that doesn't seem to work either, how about removing everything
after and including the ?, how would i do that?
Manoj Nahar [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
u can try
Dont tell you boss about those new intelligent features of PHP ;-) LOL.
Petre Agenbag wrote:
Quit horsing around fellas, what if the developers take interest in this
thread and decide it's a good idea to release PHP6 with cranial
electrodes that will detect what I want to do, and instead of me
[snip]
Is there any php book that discusses general design issues for cms's
and
webservices in php?
[/snip]
http://www.glasshaus.com has a book on CMS, but it is fairly general.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On Fri, 2003-07-25 at 05:30, Matt Palermo wrote:
I just remembered (I'm not sure if it makes a difference) that I am using
frames on this page. Does this matter at all? Thanks.
Yes it matters tons with the javascript call.
Here is some info on it...however, these questions are now
Output the required form with hidden fields from your script and use
onload=document.forms[0].submit();
Simon Fredriksson wrote:
I'm making a search-engine script for my site that redirects users to
other search engines. Point is that on the website, there's a drop-down
box with some engines
Warning: main(http://143.43.222.103/sga)
[function.main]: failed to create stream: Invalid
argument in
/hsphere/local/home/domain/mydomain.com/includesite.php
on line 2
Warning: main() [function.main]: Failed opening
'http://143.43.222.103/sga' for inclusion
(include_path='.:/usr/local/lib/php')
* Thus wrote Peda ([EMAIL PROTECTED]):
I want to upload some file to my web site.
I'm using this script:
Please Read:
http://us3.php.net/manual/en/features.file-upload.php
Curt
--
I used to think I was indecisive, but now I'm not so sure.
--
PHP General Mailing List
did you look what comes from your form? try:
var_export($_FILES);
It comes the empty array:
array( )
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
* Thus wrote Michael Müller ([EMAIL PROTECTED]):
Hi,
I was just thinking about functions, and I believe there were more than two
keywords like global and static, which could be used in functions...
does anybody know them and their functions?
hm. I dont even know where global and static are
I found out that it works fine without the submit button that I had in there.
When I take the submit button out, it works, if I put it back in there I get
the error message again.
Any ideas?
Matt
= Original Message From [EMAIL PROTECTED] =
On Fri, 2003-07-25 at 05:30, Matt Palermo
This is probably under the category of javascript, however I would like ot know if it
is possible to be done with php.
Let's say I have a table that is 30 columns wide and so the entire table doesn't fit
on the screen. Is it possible (with php) to freeze columns while scrolling across so
you
My site got it's Sybase 'auto_commit' disabled, I mean, if I type a (INSERT,
UPDATE, DELETE) query on ISQL's console I got the correct result, but the
same doesn't happen when I run the query via PHP. Check the code below:
?
//includes with database connection and stuff
$xSql= INSERT INTO
My site got it's Sybase 'auto_commit' disabled, I mean, if I type a (INSERT,
UPDATE, DELETE) query on ISQL's console I got the correct result, but the
same doesn't happen when I run the query via PHP. Check the code below:
?
//includes with database connection and stuff
$xSql= INSERT INTO
[snip]
I found out that it works fine without the submit button that I had in
there.
When I take the submit button out, it works, if I put it back in there I
get
the error message again.
Any ideas?
[/snip]
Are you naming the submit buttons? Not just value, but id or name? You
must keep them
You could use frames for it and then set the scrolling on specific
frames.
--
BigDog
On Fri, 2003-07-25 at 09:49, Jason Martyn wrote:
This is probably under the category of javascript, however I would like ot know if
it is possible to be done with php.
Let's say I have a table that is 30
[snip]
And since it probably isn't, can someone suggest a language that would
cover this subject?
[/snip]
JavaScript or any other client-side magic.
HTH!
Jay
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
I don't know a lot about sybase, but if it's anything like oracle it works
like this:
A query from the console will be commited when the console is exited (plus
of course any select queries performing checks at the console will reveal
the result as it will be after the commit has occurred). With
Curt Zirzow wrote:
* Thus wrote Michael Müller ([EMAIL PROTECTED]):
Hi,
I was just thinking about functions, and I believe there were more
than two keywords like global and static, which could be used in
functions... does anybody know them and their functions?
hm. I dont even know where
Why do you have a submit button and a link to submit the form. Dont u
want them to use the submit button for the form?
--
BigDog
On Fri, 2003-07-25 at 09:02, Jay Blanchard wrote:
[snip]
I found out that it works fine without the submit button that I had in
there.
When I take the submit
I forgot to tell that the column 'PKintIDLog' (identity column) is
incremented as if the insert was done correctly. For example: I select the
max PKintIDLog column value and I got '20', then I try to insert some data
on the table via PHP, I select the max PKintIDLog (I should get '21', right
?),
* Thus wrote Blaine ([EMAIL PROTECTED]):
I also read that ini_set() can be used in an .htaccess in the root
directory of each domain, subdomain and directory where pages may use
sessions. It would look something like:
php_value session.cookie_domain .domain.com
Setting the value in an
Police Trainee [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Warning: main(http://143.43.222.103/sga)
[function.main]: failed to create stream: Invalid
argument in
/hsphere/local/home/domain/mydomain.com/includesite.php
on line 2
Warning: main() [function.main]: Failed opening
* Thus wrote Marios Adamantopoulos ([EMAIL PROTECTED]):
This is an attempt to create an backup script for my online databases. There
are few things to sort out and the coding is not the most effiecient out
there yet!!!
I just wanted to check on what you guys think, am I going the right way,
I recently had to do something similar, except with the first row, instead
of the the first columns. The way I did it was by creating two different
tables, and putting the second table inside a div tag something like
follows:
div style={width:xxx; height:xxx; overflow:scroll;}
Here is an
Inline frames http://www.cs.tut.fi/~jkorpela/html/iframe.html
Jason Martyn wrote:
This is probably under the category of javascript, however I would like ot know if it is possible to be done with php.
Let's say I have a table that is 30 columns wide and so the entire table doesn't fit on the
John and Curt;
Thank you both very much for your help (and persistence) in this matter.
Ultimately, I used John's suggestion: creating $_SESSION['userArray'][vars].
It works. I get to keep my vars named what I want. In some ways, it's more
elegant than what I was doing in that it
I agree with Curt, why reinvent the wheel. I mean even if you are like me
and cannot access the command-line on your web server (which really really
sucks) then there are still other tools that can do this very same thing. If
you just want to click on a link and backup the db why not use the load
Okay, I got it to work. I just put the id parameter in the submit button
tag and it works fine now. Thanks for all your help guys...
= Original Message From [EMAIL PROTECTED] =
Why do you have a submit button and a link to submit the form. Dont u
want them to use the submit button for
Hi all...
On Wednesday 23 July 2003 22:16, CPT John W. Holmes wrote:
From: Curt Zirzow [EMAIL PROTECTED]
preg_match('#\title\(.*)\/title\#im', $text, $matches):
Also, if there's ever a case where could have
title
My Title
/title
i.e. things spread over multiple lines, then you'll
Robert Cummings [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Unfortunately I don't think some people got the joke. Next thing you
know their going to complain that PHP should have told them the
punchline ;)
I guess I got burned on that. I honselty though I could save one soul
All,
I'm having trouble creating an pop account usaign fsockopen(), here is whaty
I have... is connects ok but does not seem to execite the GET.
$fp = fsockopen ($host, 2082,$errno,$errstr);
if (!$fp) {
echo $errstr ($errno)br\n;
} else {
$authstr =
writing some client side javascript with some dynamic php, and I need to be
able to print a dynamic number of variables to the javascript.
I need to print:
var a=;
var b=;
...etc.
Is there a way to increment a php $var much like $var++ would work?
Jeremy
--
PHP General Mailing List
* Thus wrote Brian McGarvie ([EMAIL PROTECTED]):
All,
I'm having trouble creating an pop account usaign fsockopen(), here is whaty
I have... is connects ok but does not seem to execite the GET.
$fp = fsockopen ($host, 2082,$errno,$errstr);
is this the right port?
if (!$fp) {
Yep that should work as does $var--
-Original Message-
From: Jeremy [mailto:[EMAIL PROTECTED]
Sent: Friday, July 25, 2003 12:28 PM
To: [EMAIL PROTECTED]
Subject: [PHP] incrementing string value
writing some client side javascript with some dynamic php, and I need to be
able to print a
Simon--
Why not follow the KISS approach? Generate the GET or POST
directly from the client. No PHP or server-side processing
needed.
--John
On Friday 25 July 2003 10:09 am, Simon Fredriksson wrote:
I'm making a search-engine script for my site that
redirects users to other search engines.
1 - 100 of 186 matches
Mail list logo