Has any one ever considered creating browser / client-side php to
replace Javascript and vb??
One language across the whole web ;-)
Posted this question in the evangelism so I'd be interested in more
reaction:
Pete
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe,
Pag wrote:
Hi, I am having a serious problem on my site. It was working fine
until a day ago, when it simply freezes. After i made a few checks i
realized it loops on this code. I tried everything but i cant understand
why and i am going crazy trying to figure it out!
This code is supp
Think thje user base will be quite big if we got it together.
How many oho programmers are there who struggle with Javascript - me
included ;-)
Anyway the opensourcness of php would make the plugins more efficient
for each browser.
pete
Maxim Maletsky wrote:
Goetz Lohmann <[EMAIL PROTEC
G wrote:
I have a script which adds header information to a different page, on my
server I get a Cannot add header information - headers already sent by.
But on other servers it works fine, does any1 know why??
below - yes its a space
?>
--
PHP General Mailing List (http://www.php.net/)
To
AYS(date_col) <= 30;
Pete
Jason wrote:
My logging application is feeding a MySQL database with data records
that are time stamped with GMT time. I would like to query the database
for records matching local time(eg. all records created on oct
17,2002 local time). I would prefer if the records co
Hi,
i try to install PHP4 under Suse Linux 7.1
When i use the "configure" command i get the following error message:
"checking lex output file root... ./configure: lex: command not found"
"configure: error: cannot find output from lex; giving up"
this is the command i used:
./configure --enabl
Guten Morgen
habe gerade im Apache den Default Zeichensatz auf UTF-8 gesetzt und in der phpmyadmin
ebenfalls.
In der phpadmin GUI habe ich de-utf-8 ausgewählt.
Nun kommt folgende Fehlermeldung von phpmyadmin:
"Die PHP-Erweiterungen iconv und recode, welche für die Zeichensatzkonvertierung
be
Sorry, here is the English version:
I have just set the Apache Default Char Set to UTF-8. Same thing in the
phpmyadmin config file.
I chose de-utf-8 in the phpmyadmin GUI.
When I try to look at a particular database the following error comes up.
"Can not load iconv or recode extension needed f
Hi List,
I am getting a strange error notice for the following config file:
'mysql',
'username' => 'root',
'password' => 'secretpass',
'hostspec' => 'localhost',
'database' => 'mydb',
);
$options =
array(
'debug' => 2,
'portability' => DB_PORTABILITY_ALL,
);
/**
URLS? And if absolute
is absolutely necessary, should I include the domain name?
--
Pete Clark
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Wow - this is *really* spooky!
When I wrote that, with RewriteRule "relative URLS within that page no
longer work correctly", I had not realised that those within PHP worked
ok, whereas those in raw HTML didn't...
--
Pete Clark
--
PHP General Mailing List (http://w
ields are 'a paragraph full'), and work from
there.
Of course, it doesn't need to be fast to run.
--
Pete Clark
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
clude 'http://www.example.com/guestbook.php?option=view&offset=$offset';
- guestbook.php -
$offset gets value "$offset" instead of "0"
$option has correct value, "view"
How do I write my include so it works?
Would appriciate som help.
Regards
N['user_level'] = $user_level;
>>
>>
>You should only save the userId in the session, everything else should
>be retrieved from your database using that id.
I normally do as you have suggested here - but why do you suggest that
this method is better?
--
Pete Clark
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hello Rob,
> What is your local environment? (OS, PHP version, etc.)
> If you're running windows, most likely all you will have to do is change
> your php.ini.
The OS used is Windows XP.
Thank you very much.
Webmaster
For all usenet/forum/mailinglist users:
http://www.netmeister.org/news/lear
Hi,
What is the GD library ?
How can I install it. I have PHP integrated as a module. Judging by the
discussion that people have here the GD library sounds interesting. How do I
know if my shared host has it ?
Thank you.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit:
Thank you Tom for the info.
I just checked.
GD Supportenabled
GD Version1.6.2 or higher
FreeType Supportenabled
FreeType Linkagewith freetype
GIF read Support enabled
GIF Create Support enabled
JPG Support enabled
PNG Support enabled
WBMP Support enabled
Unfortunately I don't have it on my local
Hi,
I have been trying all sorts of techniques on our multilingual website.
First I had include files german.inc.php with was just a huge list of
varibales:
$trans['thankyou']="Danke";
//etc
After that I put all into a database.
Now someone told be about gettxt in some forum. He said that this
Hi there,
I have serious probems resolving regular expressions. I wish to
replace a substring with a given pattern with results of a function
with a backreference used as argument.
SAMPLE:
function check_this_out($somevalue)
{
$url_array = '';
$i=0;
$query = "SELECT SomeRow FROM SomeTable W
Thank you very much Jochem and John. It works like a charm now, and I
was beginning to grow weary after experimenting with result sets for
almost 10 hours now.
How would you - by the way - concatenate text to the replacement
string?
;-Pete
On Tue, 3 Feb 2004 14:15:00 -0500, [EMAIL PROTECTED
n't arrive.
The client has PHP Version 4.3.1 on Windows NT localhost 5.2 build 3790
--
Pete Clark
http://www.hotcosta.com
http://www.spanishholidaybookings.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
as 123.php or
>123.phtml abc.html can continue to be abc.html
>
>>
>>Again I realize this is a complete newbie question but I appreciate any
>>help you have.
>>
>>Todd
A further point (since you are newbie ) is to remember that abc.html
will not normally be a co
ello all, Im a beginner at php. but I was able to get this script to work.
Now I am looking to have it automatically refresh itself using ajax
every 10 seconds.
Can somebody explain or show me how to do this.
Thank you.
PHP Code:
| | |$httpfile =
file_get_contents('http://www.game-monitor.c
Good news for the PHP developer community-
http://www.expertrating.com";>ExpertRating, the global
skills assessment provider has launched an online PHP Certification
exam. Candidates who pass the exam will be mailed a hardcopy certificate
of
accomplishment. The launch of this exam has generat
tion script takes the user_id they passed in and hashes it
with the secret key again. The result should match the ID they passed.
Easy and pretty secure.
HTH.
Pete.
Mike Walth wrote:
>
> Hello:
>
> What I am trying to do is to create a email verification routine with PHP.
> When peo
Try is_numeric()?
Boaz Yahav wrote:
>
> Maybe this can help
>
> Check int / integer - checking if a variable is an integer or not. The
> php is_int() function does not check if the string value is integer or
> not.
> http://www.weberdev.com/index.php3?GoTo=get_example.php3?count=1705
>
> How to
Although I don't know how to do this myself, one of the places I've seen
it done is in JpGraph (www.aditus.nu).
The function that does it is AdjBackgroundImage($bright, $contrast,
$saturation) in jpgraph.php. You could try taking a look at the source?
Pete.
Dimitar Haral
You could use output buffering to do the rewriting for you.
IF you use ob_start('my_function'); at the top of your page, where
my_function is the name of a callback function
This function might look like this:
function my_function($buffer)
{
return $buffer . '?x=foo&y=bar';
}
That's it.
off tangent slightly -
Have u looked at smarty templates
smarty.php.net
Must admit I played with ITX and a few others but smarty wins for me
pete
Torsten Rosenberger wrote:
Hello
i plan to reorganize my CMS code.
The idee is to only use classes for the hole system.
There should be a Core class
th
character from the end of string.
Example 2. Using a negative start
have fun
Pete
Matt Macleod wrote:
Hi,
I need to manipulate a string to insert a space 3 characters from the
right end.
eg: turn 'ng23fgh' into 'ng23 fgh', or 'hfdgskfjgh23kj' into
'h
print '';
Steven Apostolou wrote:
Hello,
The folowing code gives an error:
print "";
This is probably because I print a questionmark? How can I avoid that an
error is generated?
Besides it's not an error in the way that it gives an errorstring but it
writes the output in the error_log of apach
There's loads of email clients here
http://www.hotscripts.com/PHP/Scripts_and_Programs/Email_Systems/Web-based_Email/index.html
Greg Brant wrote:
hi, im the lead developer for a small online magazine / community
we want to set up an e-mail service where our users can create their own
mail accoun
definately do NOT recommend this path-
Just make an include file at the top of each page
pete
Hardik Doshi wrote:
Hi Group,
Currently i am connecting the underlying database
server from every php page. To reduce the connection
overhead i am thinking to store the PEAR DB object
into the registry
what is the cgi error message ?
Scott Fletcher wrote:
Hi!
To make the long story short, we use IIS 5.0 with PHP 4.0.6 for a while.
Then we builted a new database server, SQL-2000 and point the website to the
new server. Then we notice the problem with the CGI error. So, we last
week downloa
see the set_time_limit(); function
http://uk2.php.net/manual/en/function.set-time-limit.php
increase to around a minute or make the mailbox read them back in pages
with 10 at a time for example
Pete
Amer Neely wrote:
I've a script reading a mailbox using
$InBox = imap_open($Host,$User,
Anyone know of a class or function that converts numbers to readable text
eg inputing the number would output text as in
120 = one hundred and twenty
3600 = three thousand six hundred
tia
pete
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
>?> just not even be bothered with Google
I did but didnt find any
Thanks ;-)
pete
Brian McGarvie wrote:
Anyone know of a class or function that converts numbers to readable text
Oh how old... coud you just not even be bothered with Google or any other
search engine?
To save you the t
I use the PEAR db http://pear.php.net/manual/en/package.database.php
This returns arrays - examples here
http://pear.php.net/manual/en/package.database.db.intro-fetch.php
look at the Quick data retreaval down the page
pete
Larry Brown wrote:
Is there any php function to pull a query into an
http://phpmailer.sourceforge.net/
This is what I use and makes life much much easier
Pete
Maria Garcia Suarez wrote:
Hi there!
I'm developing a program that has a kind of mail
client from where users can send mails and get a blind
copy in their e-mail boxes. The program uses mail() in
You can use the $_POST variavle in the text area
eg
Artoo wrote:
How do you repost data in a textarea field of a form? I've set up a session
variable named old_data and want to repost the data into the textarea of a
form so it can be re-editied.
Thanks
--
PHP General Mailing List (http://w
Have u looked at smarty.php.net ??
It sounds like your reinventing the wheel
Pete
Donatas wrote:
Does anyone know any other way used in template engines for loops but
creating array first and passing it to template class?
This is rather annoying and it makes work slower and code harder to read
Sorry not to answer your question below however I am intrested in Netware..
Just to satisfisy mu curiosity. What version are u running ? what Web
server and what database ??
I love netware, however most customers dont !!
pete
Ananth Kesari wrote:
Hi,
For some reason, getallheaders() is not
check out the linux "sudo" command
pete
R evėŹĘår{óv ņń wrote:
Hello.
I am trying to restart my FTP daemon by killing it and then starting it using
the shell_exec() function:
shell_exec('kill '.$pid );
Shell_exec does nothing by this - when i do ps -ef later, i see the d
Why is the font tag evil and depreciated ???
confused pete
Steve Magruder wrote:
Curt Zirzow wrote:
Dont use the font tag.. they are evil... and besides depricated.
And they're deprecated too. :)
Steve
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit:
so which tag should i use .. ???
tia
pete
Nelson rodriguez-Pena wrote:
Hi Pete,
Why is the font tag evil and depreciated ???
confused pete
Because it is a presentational element and HTML is headed to structural
content instead of visual formating. Structure is for HTML, presentation is
for
.id=table2.id;
then that is dependent on your database. I can't comment on MySQL, but
PostgreSQL, for instance, will usually optimize the second query better.
But it is highly dependent on what you're doing and where you're doing it.
HTH.
Pete.
[EMAIL PROTECTED] wrote, On 2003/
Sorry to be a stickler... but _technically_ the backtick is shorthand
for shell_exec(). exec and passthru are a little different.
Mike Migurski wrote, On 2003/Jul/25 11:12 AM:
Thanks for the replies guys but the main reason I'm doing this is
because most times I don't have access to the servers,
I used to have similar problem and that was when I was using the php
mail() command..
Have a look at phpmailer
http://phpmailer.sourceforge.net/
This deals witha lot of the peculiarities with mail servers..
Pete
Ron Allen wrote:
Here is my problem. When I send emails locally theough the
increase the time limit
http://uk.php.net/manual/en/function.set-time-limit.php
Imran wrote:
Hi,
i facing a error during uploading a big size file (abt 200 MB). i incred =
upload file size in php.ini and also incred connection time in IIS (web =
server), but i getting again this below written err
t operation (welcome page, etc)
header("Location: {$_SERVER['SCRIPT_NAME']}?screen=default");
}
?>
HTH.
Pete
Curt Zirzow wrote, On 2003/Jul/30 8:58 AM:
* Thus wrote Diana Castillo ([EMAIL PROTECTED]):
anyone know how to catch if someone has reloaded a page?
The wa
Why not use a wysiwyg edit box? There are quite a few of them... unless
you don't want to restrict your users too much.
http://www.labs4.com/htmleditbox/2.0/demo.php
Mark wrote, On 2003/Jul/30 11:11 AM:
But isn't this just defining your own version of something like
bbcode? And wouldn't you be
Check out http://php.net/session_set_save_handler, and save your session
data in a database, or leave it as is and access the session file directly.
Here's an example of sharing php sessions with perl... it may provide
some ideas.
http://search.cpan.org/author/MIYAGAWA/PHP-Session-0.20/lib/PHP/
Try zero seconds?
Poon, Kelvin (Infomart) wrote:
Hi,
I know this topic was discussed but I deleted my previous mail so I can't go
back and review them. My question is, is there a faster way to redirect
html pages other than just using ? Is there any way we can do that in php so that it
redire
header(), session_start(), etc. can go anywhere in a page (after any
content) as long as you start the page using output buffering
(ob_start()). Example (bad example) follows:
ob_start()
print this;
print that;
if ($forgot)
{
// oops need to redirect
header('Location: foo.php');
}
print t
Only that you can embed vars in the second one.
if $foo='bar';
include('somefile_{$foo}');
will include the file 'somefile{$foo}', where
include("somefile_{$foo}");
will include the file 'somefile_bar'
HTH.
Charles Kline wrote:
What is the difference as in... why one or the other?
include('some
Is your form enctype set?
Like so:
Liam Gibbs wrote:
This line:
when clicking submit, produces nothing. I print_r $_FILES["imprintpicture"], I try to echo $_FILES["imprintpicture"]["name"] or ["tmp_name"] and nothing comes up. Any reason?
--
PHP General Mailing List (http://www.php.net/)
This was answered just this morning. Please do some research before
asking questions.
-- the answer from this morning
I just tried putting "PHP and Microsoft Access" into Google. The first
item has the text "This code is useful for those who want to use a
*Microsoft*
*Access* database with a
HTH.
Pete.
shaun wrote:
Hi,
I get the following error when using using the following script to
authenticate a user. The login form is inside a frameset, is this whats
causing th eproblem, and is there a way round this?
Warning: Cannot send session cookie - headers already sent by (output
started at
It is sent twice a day and contains all of the messages sent during that
period. It's so that you don't get 200+ messages a day in your inbox.
Tom Sommer wrote:
What does the mailing list digest contain, compared to a normal
subscription? What is the difference?
--
PHP General Mailing List (
riate comments like
this does nothing for the community's perception, and IMO destroys
credibility. If I was a female coder, I would take great offense to
these comments... but maybe that's just me.
Respectfully,
Pete.
Steve Keller wrote:
At 3/9/2003 09:11 AM, Niels Andersen wrote:
>
Steve Keller wrote:
Sexist and inappropriate? You would be offended because I insulted geeks?
Actually, it was not so much your comment that offended me, but the fact
that you chose to reprint his.
> If I was a female coder, I would take great offense to these
comments... but maybe that's just
The tokenizer that Erik was referring to is actually a PHP lexer, not a
general tokenizer. Perhaps you would be looking for the strtok() function?
www.php.net/strtok
Brad Wright wrote:
Erik,
thanks, are you able to pint me to some good reference sources on
tokenizer's... i have never come acro
data, just less-dangerous data.
HTH.
Pete.
rotsky wrote:
I'd like to canvas opinions about what's needed to clean user input. I'm
using an HTML form where users enter simple things like name and phone
number, but also a couple of small text areas for address and a message (up
to 50
Could you use a function like strtotime()?
freaky deaky wrote:
this question is not strictly php related, but i thought possibly someone on
this list might have dealt with this type of problem before.
i am exporting a database out of filemakerpro 5 as a comma delimited file, and
importing the
If your session id is not stored in a cookie (if url rewriting is on),
then the $url page may not be getting your session id, and thus is
starting a new, empty one?
Tony Bibbs wrote:
I'm wrapping up an MVC implementation for PHP. Everything is working
splendidly except that redirects seem to b
Some of you may like to stay on top of the PHP world (as well as
countless other worlds) without having to do too much work. To you I
would suggest checking out
http://www.shaman.ca/pusher/
There are a number of news feeds here from various PHP sites.
Cheers,
Pete.
--
PHP General Mailing
kind of volume subscribers have to deal with. I was not meaning to
spam. I felt it was PHP-related and useful to PHP developers. Again, I
apologize if I've wasted your time. I will not attempt to continue this
thread.
Thanks,
Pete.
BTW. After some re-factoring I may release the code to th
Agreed. Now it allows searching and browsing without sign-up.
Thanks,
Pete
Manuel Lemos wrote:
Hello,
On 03/29/2003 01:22 AM, Pete James wrote:
Some of you may like to stay on top of the PHP world (as well as
countless other worlds) without having to do too much work. To you I
would suggest
This xml+html+xslt paradigm provides great separation, especially when
viewed in light of the traditional xslt=html+code method. I've used it
with good success.
http://www.xml.com/pub/a/2000/07/26/xslt/xsltstyle.html
HTH.
Pete.
--
http://www.shaman.ca/pusher
A news aggregator with
. I think that people may sometimes
waste more time trying to maximize the division between presentation and
logic than it's worth. Well written PHP scripts can be almost as good a
template as any (by separating the HTML and just using embedded variables).
HTH,
Pete.
--
http://www.sha
Also, take a look at isset() and empty()
http://php.net/empty
http://php.net/isset
Jennifer Goodie wrote:
so change it to ""
-Original Message-
From: Tim Haskins [mailto:[EMAIL PROTECTED]
Sent: Monday, March 31, 2003 12:12 PM
To: [EMAIL PROTECTED]
Subject: Re: [PHP] if statment
My bad, I
return $GLOBALS['_ERROR_HANDLER_OBJECT']->
$GLOBALS['_ERROR_HANDLER_METHOD']($type,
$message, $file, $line, $vars);
}
// start handling errors
set_error_handler('eh');
-- snip --
This uses a trick wrapping the
yword #006600 #006600
highlight.string#CC #CC
HTH.
Pete
Randum Ian wrote:
Hi there, I am currently writing a number of guides on PHP, SMARTY and
Syntax and I was wondering if there is a set schema for the colouring of
code within these guides. Is there a website that can give me an
better to contact the PHP group about their licenses, or RedHat about
their releases.
Pete.
Larry E. Ullman wrote:
Where would I go on the redHat site to ask when they are going to
upgrade to PHP 4.3 and MySQL 4.x (now in production). Our CS dept.
won't install them for me until RedHat b
Its a ternary operator
look at
http://www.phpbuilder.com/board/showthread.php?threadid=10235547
http://www.phpbeginner.com/columns/maxim/ternary
pete
Adrian Greeman wrote:
I am confused by the shorthand "if" notation.
For example I just saw this PHP snippet on another forum
I think i
Put a hidden field in the form and give it the same name as the forms
eg
I'm pretty sure the form name is not sent to the server - but i may be wrong
pete
Amanda McComb wrote:
If I have multiple forms on a page, and each form has it's own name, how
can I tell which form has submitted
Slkigh Ammendment to below
https://www.google.com";) ;
die;
?>
Jake Johnson wrote:
Have you tried...
https://www.google.com";) ;
?>
Regards,
Jake Johnson
[EMAIL PROTECTED]
--
Plutoid - http://www.plutoid.com
Shop Plutoid for the best p
Have a look half way down this page
http://www.linuxdocs.org/HOWTOs/PHP-HOWTO-15.html
pete
Jay Fitzgerald wrote:
is this the correct way to register variables via a session?
[code]
session_start ();
$_SESSION['eventid'] = 'arma2';
print_r ($_SESSION);
echo " $_SESSION
try
http://uk2.php.net/strip_tags
pete
Matt Palermo wrote:
I want to be able to retrieve and return all character that are not
located in html tags. For example:
1234567
or
1234567
I would just like it to be equal to 1234567, but I would need it to work
with any tags and attributes. Is
The one we use is oneorzero helpdesk which is a project at sourceforge.net
Andreas Cahen wrote:
Hello List :)
Is there any usefull ticketing system (Hotline/Support/etc.) written in
PHP?
I have found some on hotscripts.com, but I don't know which one is
really got or not..
Any suggestions?
Che
> if (ereg("\t", $users[0]) == true) $separator = "\t"; // om texten är
if(isset($_POST['users'])
{
$_SESSION['temp_users'] = $_POST['users'];
}
if (ereg("\t", $_SESSION['temp_users'][0]) == true) $separator = "\t"
be a bit "cock handed" way of doing it but it works for me.
If its IIS server then I suggest (personal view) that you use CGI - I
recently had a couple of applications crash my ISP host and changing to
CGI solved the problem.
Hope it helps
Pete
Mark McCulligh wrote:
I am building a Wi
chech here
http://www.phpfreaks.com/mimetypes.php
and in php add the folowing header
header ("Content-type: model/vrml");
Brian V Bonini wrote:
I want to get php to output text/css for one .php file. I tried using
header() and ini_set () but seems no matter what I do the Content-type
remains tex
Nirmala P wrote:
Hi list,
This time i am pasting my code could any body tell where wrong I am ?
if(!$db) echo("Connect to localhost mysql database failed");
if(!mysql_select_db("eshop",$db)) echo ("Selection of eshop failed on
MySQL database");
$Sql = "SELECT " . $field ." FROM languag
Where does thejavascript fit ?
Nirmala P wrote:
Hi Pete Morganic ,
Thanks for reply. But the code is not solving my problem. May be I did
not epress my problem clearly.
Actually I wanted to store the returned value so that I can write it on
page like
{ test = ');
document.write(test);
number_format()
Wouter Van Vliet wrote:
>
> Heey Listers,
>
> I've got a small question. Does php provide any function to group a number
> like 3193576 into 3.193.576 ? Just reads easier when the hits for my
> website are being displayed ... Or if php doesn't have a function for it ..
> anybod
Hello $PHP_AUTH_USER.";
echo "Your password is $PHP_AUTH_PW.";
echo "";
}
?>
Ray Todd Stevens wrote:
>
> I am working on a web site that is using php controled www-
> authenticate authentication. User ids are specific to users and
> different pages and different levels of information
Wondering if any of the gurus out there have any insight...
I'm running a set of php scripts using nested output buffering +
sessions and I'm getting sporadic seg faults. If I turn off output
buffering it seems to work fine, which would be great if I didn't need
it.
I'd post code, but there's a
A PDF file is being dynamically generated and displayed in a pop-up.
The GET method form works fine, while the POST method (which is what I
need to use) pops up a message about the page containing both secure and
nonsecure data.
WTF?
Any help out there?
Thanks in advance,
Pete.
--
PHP G
Tom Rogers wrote:
>
> Hi
> get data is insecure by nature so the whole page is insecure and no
> warnings, as soon as you post you invoke the security. You probably have a
> url on your page that is coming from an insecure server (http:// instead
> of https://)
> Tom
Believe me when I say that
rnally, for every row you
> select.
Is this really what you want? Doesn't this mean that PostgreSQL would
be more efficient for larger user volumes? Locking an entire table
isn't usually a good thing.
Pete.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
more specific? What fields... from a database?
[EMAIL PROTECTED] wrote:
>
> Hey everyone,
> Am working late as usual before the weekend and so I fear i'm a bit braindead!
> Anyway,heres my problem
> I have fields named "total" and "avg" and no idea how many records
> how do I get the total
t question, though... why doesn't it happen with GET?
BTW... I think I found a solution to this. Using I can send
HTML (which it wants), _and_ display the PDF (which I want)! I guess we
shall see...
Thank you so much for taking the time to answer.
Pete.
Richard Lynch wrote:
>
> >>
>From the php.net manual for pg_fetch_array:
Note: From 4.1.0, row became optional. Calling pg_fetch_array() will
increment internal row counter by 1.
"Ilia A." wrote:
>
> On July 5, 2002 07:54 pm, Pete James wrote:
> > "Ilia A." wrote:
> > >
You could also try using Javascript to popup a window when they close
the current one, and reset your cookies (and/or destroy your session) in
that window.
Pete.
Kevin Stone wrote:
>
> Okay sorry for the misunderstanding. You can set the lifetime of the cookie
> to die when th
I also would like to hear the answer to this... I try
set_time_limit(3600), but my script still appears to time out early
Jay Blanchard wrote:
>
> Good afternoon,
>
> We have some cases where we run PHP as a standalone executable for scripting
> certain processes that can be called from CRON,
>
> Is there any problem with leaving out the last else and just ending it with
> an elseif such as ...
>
> if($a == '1'){
> echo '1';
> } elseif ($a == '2'){
> echo '2';
> }
Nothing syntactically, but surely you wouldn't want a rogue '3' or '0'
to fall through the cracks... that wouldn't be ve
Don't redirect, use curl to post your data to the new page.
Francis wrote:
>
> I'm trying to redirect to another website but doing a post to that website
> at the same time. (ie POST rather than a GET (eg: header("Location:
> www.anothersite.com/index.php?page=22"); )
>
> How do you do an HTM
ng POST rather than GET, its gonna be quite simple but
> whats the syntax? there must be a way to do it...
>
> "Pete James" <[EMAIL PROTECTED]> wrote in message
> [EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> > Don't redirect, use curl to post
Evan Nemerson wrote:
>
> If you need register globals on for your old stuff, but want to write better
> new code, you can just use in your new
> stuff.
You can't do this in a php file... by the time it gets to this line,
it's too late.
According to the set_ini function on php.net, register_glo
1 - 100 of 319 matches
Mail list logo