are necessarily related to PHP).
/frank
1 nov 2006 kl. 11.27 skrev Mel:
I took the Google stuff out. I can't tell if it's faster now.
I don't think it's very consistent. Sometimes it loads pretty fast
and sometimes it gets stuck in the right corner!
I don't think I have seen this happen
anchor tags ( span class='navText'a
href='client_testing_html401.php?art='/a/span ) which shouldn't
be there at all.
Once again - I can't see how the original problem is related to PHP.
/frank
1 nov 2006 kl. 20.45 skrev M.Sokolewicz:
No you have not, otherwise we would not be seeing
mod_rewrite and I am sure you will find some stuff that
will help you.
/frank
25 okt 2006 kl. 11.49 skrev Kevin:
Hi,
I am trying to have 1 template site and have an unlimited number of
websites using this template site to call there own information.
The sites are exactly the same except
It would be helpful for us if you could provide some detailed
information about those jpeg pictures (resolution, color depth/
channel, color space etc.). Furthermore, do you get any error
message? This would be helpful as well.
/frank
13 okt 2006 kl. 03.24 skrev Ed Lazor:
Until someone
/
product_chooser_gb.php?productMaingroup=5productSubgroup=33
.. gets converted within 0.32 / 0.34 seconds which I think is quite ok.
/frank
the function takes a text and an array with converters like:
$converters[] = array ( metric = mm, imperial = in,
ratio = 0.039370079, round = 1 );
$converters[] = array
about 14 metric -
imperial converters) replace all converted DOM nodes and output
everything. The metric / imperial calculations / replacements take
between 0.00054 and 0.005 seconds per table cell / text string.
/frank
11 okt 2006 kl. 13.39 skrev Roman Neuhauser:
# [EMAIL PROTECTED
instance at a time?
Hopefully I am not too confusing...
regards,
/frank
ps. of course I have searched the manual and asked Google - no luck ds.
);
$replacement = $value . $2 . $convertUnit['imperial'] .
$4;
$text = preg_replace ( $pattern, $replacement, $text, 1
);
}
}
return $text;
}
/frank
9 okt 2006 kl. 16.18 skrev Ilaria De Marinis:
Hi Frank,
I think
And what exactly did you expect? Have you checked a calendar? The
31st of december 2001, 2002 and 2003 are Monday, Tuesday and
Wednesday respectively. In other words. those days are more or less
in the middle of the week 01. So, I would say that your results are
absolutely right.
/frank
). e.g. ln -s source file target file and place the symbolic
link into a folder that PHP/Apache have access to.
Whit a symbolic link (which is not exactly the same as a shortcut
created in the Finder), your link will act exactly as the target it
is pointing at so to say.
Good luck.
/frank
Sorry for the typos btw...
It's late.
/frank
13 sep 2006 kl. 21.20 skrev Frank Arensmeier:
Hi there.
Look at the man page for mount_smbfs - especially the -M option
which ia able to set permissions on the mounted SMB volume. If that
doesn't help, when you said you tried to make
I think that these kind of questions are very annoying - it is almost
rude to post this to a list.
Why don't you
a) show that you have done some thinking
b) have at least scanned the manual
c) have asked Google.
/frank
8 sep 2006 kl. 07.12 skrev Manoj Singh:
Hello all,
I am developing
I would...
a) read the PDFlib manual
b) search the PDFlib list archives for information (this has been
discussed previously, I am rather sure)
c) post your question to the PDFlib list
/frank
7 sep 2006 kl. 21.16 skrev Ronald Cole:
Hi,
I'm trying to use pdflib to generate Arabic
/
PDI costs some money. But if you are looking for a lib that has
support for everything that the PDF format has to offer, PDFlib is
definitely the lib you want to use.).
/frank
1 sep 2006 kl. 02.42 skrev tedd:
Hi gang:
I can create a pdf document on-the-fly pretty easily, as shown here
Tedd,
this issue has been discussed recently on the PDFlib mailing list.
Search for the topic search replace on PDF. Archive is here:
http://groups.yahoo.com/group/pdflib/
regards,
/frank
1 sep 2006 kl. 16.33 skrev tedd:
You seem to use FPDF. Although I never tried working with FPDF
http://dev.mysql.com/doc/refman/5.0/en/join.html
you could use something like this:
SELECT DISTINCT thumbnails.gallery, thumbnails.id,
thumbnails.binary_data FROM thumbnails
you can insert everything you want from your table after the DISTINCT
by writing:
table.colName
/frank
27 aug
('PATH_TRANSLATED') from outside, so
to say? Or is there no reason to be worried?
/frank
4 aug 2006 kl. 22.22 skrev Richard Lynch:
Did you try to use - as the file and pipe the output?...
That might work...
As far as the Tidy not validating the included PHP, I'm not sure what
you mean, but I
more, any
suggestions are welcome.
regards,
/frank
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Replace php_mssql.dll with php_dblib.dll. You aæso need to create a
freetds.conf file but you remove the limitations created by ntwdblib and
you get a thread safe environment.
- Frank
Our story is
We started building our application back in 2002 on FreeBSD/Apache with
PostgreSQL.
Than
Take a look at the pow() function
http://php.net/pow
- Frank
Hi there list.
Thanks for your help with my other questions.
I was carrying on working through, and stumbled across a problem when
trying
to times something by the 'power' of something. By this I mean..in maths
you
can write 3
Maybe it is not essential, but shouldn't it say:
header(Content-type: image/jpeg);
notice jpeg - not jpg.
/frank
16 jun 2006 kl. 22.15 skrev Mariano Guadagnini:
Brian Dunning wrote:
I'm trying to serve up a jpeg like this:
header(Content-type: image/jpg);
readfile('images/banner-ad.jpg
, IE, Firefox, Mozilla browsers). But, as Richard already
mentioned, I had to fake the download URL, like http://
www.site.com/downloads/example.pdf. In the folder downloads I put
a .htaccess file with the line ErrorDocument 404 /link/to/my/php/
script.php.
/frank
14 jun 2006 kl. 02.19 skrev
Python.
http://developer.apple.com/documentation/GraphicsImaging/Conceptual/
drawingwithquartz2d/dq_python/chapter_17_section_1.html
This might give you some ideas where to start.
/frank
10 jun 2006 kl. 16.57 skrev Ryan A:
Hi,
can anybody give me a recommendation on a good
html-pdf converter
in a
curent node? count ( $nodeElement - parentNode - childNodes )
always returns 1. For now the only solution I know of is looping
through the nodeElements (e.g. foreach ( $nodeElement as $value ) and
have a counter inside the loop.
Thank you so far.
/frank
ps. I am desperately looking
a column for translation so to say. And this is
pretty much everything I needed to know in order to go on. One
problem I definitely see coming up will be dealing with headers that
have attributes like colspan or rowspan. But that's another story.
/frank
7 jun 2006 kl. 12.26 skrev Rob
it. Otherwise,
there might be someone how can point me to some good on-line
documentation / tutorials regarding PHP DOM functions.
Thank you and good night.
/frank
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
0x894e4e0 in ?? ()
#8 0x894e4c0 in ?? ()
etc etc etc...
Thus useless :P
At the moment it has been running remarkably stable for a few days. So
now and then a failure. Probably because of a request being given to a
php-fastcgi process handling a slow upload of a file... :-/
Frank de Bot
chris
off to 600 seconds
Is this a bug a php or fastcgi?
Regards,
Frank de Bot
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Robbert,
maybe it is only a typo, but you have written:
xml. not .xml (notice the position of the dot).
/frank
10 apr 2006 kl. 15.37 skrev Robbert van Andel:
I am working on creating some RSS feeds on my website using PHP.
I'm still
learning RSS but it seems easy enough. I managed
Thank you Joe for your input. I will take a look at crond.
/frank
7 apr 2006 kl. 20.06 skrev Joe Wollard:
Frank,
It sounds like you need to run this as a job through crond. I'm not
sure
what the OSX version is (maybe they have a port of crond?) but you
could set
that up to execute
. Would I compromise my servers security when granting
root privileges to a script that executes 'periodic' (which could be
called from the script that outputs the ZIP archive)?
thanks
/frank
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
as
sapi_apache.lo is in but then I get other error messages.
I am not that familiar with compiling from source so please be
patient with me.
Google was not my friend...
What can I do?
Regards,
frank
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
.
/frank
5 apr 2006 kl. 16.07 skrev Venkat Venkataraju:
I'm a bit OT though...
I have php5, apache, mysql installed thru darwinports. if you are
not the LFS kind of person, it helps a lot to install darwinports
and intall all your packages thru it. Fink is another alternative,
but i prefer
Is this the wrong forum for this question - or does no-one else have a clue
about this either?
At 09:43 AM 1/12/06, Frank Bax wrote:
As I understand the docs for preg_replace(), I can enclose an PCRE
expression in parenthesis and use a backreference in the replace string;
but it's
At 05:15 PM 1/13/06, Anthony Best wrote:
On 1/12/06, Frank Bax [EMAIL PROTECTED] wrote:
reg_replace( ' (\d+\$)', '+$0', $prop ); /* results in
dollar-alpha-space-space-plus-digits-dollar */
$Fencing +11$Lumber +17$Weight: 317 Stones$Energy Resist 2%$
Try:
preg_replace( '/ (\d
As I understand the docs for preg_replace(), I can enclose an PCRE
expression in parenthesis and use a backreference in the replace string;
but it's not working!
Data coming from another system contains a lot of data in one text record
which I must parse. Individual elements in the record
(\d{2})\s(\d{2}):(\d{2}):(\d{2})/';
if (preg_match($pattern, $subject, $matches)) {
print_r($matches);
}
/code
nicely prints:
Array
(
[0] = Nov 22 06:51:36
[1] = Nov
[2] = 22
[3] = 06
[4] = 51
[5] = 36
)
Bye
Frank
--
tradeOver | http
Andy Pieters wrote:
Err.. why NOT use character classes? What is easier [0-9] or \d or maybe
[a-zA-Z] or [\w], ... ?
Well, first of all the square brackets in [\w] aren't needed, \w already
means 'any word character'.
Secondly, [a-zA-Z] is not the same as \w:
A word character is any
5.1; SV1)
Does that just mean that it's not completely accurate?
Try get_browser()
http://php.net/manual/en/function.get-browser.php
HTH
Frank
--
tradeOver | http://www.tradeover.net
ready to become the King of the World?
--
PHP General Mailing List (http://www.php.net
as many
functions as the sybase extension.
- Frank
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
not a big
task to copy all files from one test/development box to a number of other
systems, as long as the configurations are the same.
- Frank
Knowing that I'm not the only one to want to connect to Microsoft SQL
Server on Windows from PHP and Apache on Linux, I'm seeking advice.
I set up
the whole array...
Thanks,
Frank
='$value of array1' OR '$2nd value of array 1'
How can i loop through the query with all the values out of the array as OR
value..
Thanks,
Frank
On 9/28/05, Jay Blanchard [EMAIL PROTECTED] wrote:
[snip]
Hope you can help me out..
Array ( [count] = 1 [0] = Array ( [clientaccountmanager
)
How can i remove the 'count' from the array?
Regards,
Frank
Hi.
I've tried some different kinds of setups to do this. And my
recommendation for you would be Ghostscript, maybe together with
ImageMagick. Have a look at:
http://www.imagemagick.org/script/index.php
http://www.cs.wisc.edu/~ghost/
regards,
frank
2005-09-26 kl. 07.42 skrev [EMAIL
low traffic.
/frank
2005-09-22 kl. 12.59 skrev Frank Arensmeier:
Hello list-members
I have written a script which dynamically generates PDF documents
(with PDFlib). The link to the PDF file is presented as a static link
(thanks btw to Richard Lynch and his previous contributions to this
list
it comes to all kinds of
web standards. And my best guess is that this could have to do with
headers, or?
Google was not my friend this time, I might say.
/frank
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
mean, if I
do the same thing with a usual GET request, even Explorer won't make
any trouble. But on the other hand, the PDF-generating-thing is
supposed to be on an other server than the webserver. And I don't like
to expose this server to the Internet.
Any ideas are still welcome!
/frank
2005
Rob Ziere wrote:
Dear PHP_friends,
I have found a strange behaviour of the include function.
Here it is .
// 1. this works fine
include (../../gps_info/fetch_fields.php);
// 2. this works fine
[EMAIL PROTECTED] wrote:
Hi,
How can i found out the average time users spent on a page. Anyone know a
tutorial?
Thanks in advance for your help !!!
A hello world page will take me around 15 secs I guess...
A full blown website with everything you can imagine a few months orso.
--
PHP
Diana Castillo wrote:
How can I with php detect when there is a carriage return at the end of the
text field in a mysql table?
Something like this perhaps:
$res = mysql_query($query);
$row = mysql_fetch_object($row)
if (preg_match(/\r$/,$row-textfield) {
echo Got CR;
} else {
echo
name? I want php4, not php5, and I want mysql
3.23.58 (or later if any) but not mysql 4.
So would I use:
yum install php, or
yum install php-4.3, or
yum install php-4.3.9 to get the same version I have currently installed,
or what?
Thanks again for your saintly patience.
--frank
libs, which are in
/usr/lib/mysql.
PHP gives no other error messages. I'm out of ideas. Can anyone make any
suggestions?
TIA
--frank--
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
PROTECTED] tst]$ exit
Script done on Tue 21 Jun 2005 03:49:34 PM CDT
--frank--
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
in the httpd.conf file, or anywhere else I can
find. In fact, a search for php in the httpd.conf file finds nothing. I'm
really stumped.
--frank--
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
','$Phonenumber','$RoomNo','$Email','$Situation','$DateRec','$TimeRec','$ip');
$result = mysql_query($query,$connection) or die(Couldn't
Insert into table techsupport);
$WONumber = mysql_insert_id();
etc...
Any help would be appreciated.
Thanks - Frank
--
Frank Miller
Webmaster
You should describe more specific what is going wrong with your script.
What does the script output? Maybe you should post a vardump as well.
/frank
2005-04-05 kl. 11.07 skrev Jason:
Could someone tell me what I did wrong with this script. It should
read the page
http://www.mto.gov.on.ca
Hi Jon,
You need to install the gmp extension. Not sure if this is included in the
snaps builds, but you should be able to download it from my site:
http://kromann.info/php.php.
- Frank
I asked this in the windows section yesterday and received no answer.
I have copied the sample of gmp_add
Instead of generating filenames with random numbers, why not take a
timestamp and use this as filenames?
/frank
2005-03-30 kl. 14.44 skrev William Stokes:
Hello,
I got a bit frustrated with image upload stuff with different image
name
problems. So I created a system that gives the uploaded
changed, shouldn't be a problem either.
Download the package and take a look at the source code.
regards,
frank
2005-03-22 kl. 16.01 skrev Reinhart Viane:
Thanks Frank,
One question: on most of these search engines I can't seem to find if
the
index and search dynamically generated pages
?php
$allColor = array('Black','Red','White','Blue');
if (in_array($colorVar, $allColor)) {
$someVar = 'Something';
}
?
/frank
2005-03-23 kl. 09.54 skrev Lupita:
Hello;
Can any one show me a way to reduce the following code?
##
?php
Hello!
I suggest you take a look at:
http://www.phpdig.net/
Regards,
Frank
2005-03-22 kl. 15.47 skrev Reinhart Viane:
I'm looking for a script which indexes the pages of a site (dynamic
pages)
in a dbase and makes it possible to search the site based on
keywords/sentences/etc.
Does anyone has
{
echo done\n;
}
May this helps!
/frank
2005-03-21 kl. 15.07 skrev Daniel Schierbeck:
Daniel Schierbeck wrote:
I've made a small PHP script that renames the files and folders in my
music library, to make them more linux-friendly. I'm running PHP
5.0.3 on version 2.6.9 kernel.
What's happening
the thumbnail image directly to a img
tag in my html file? Is there a way to do this without storing the
thumbnail into a tmp file?
/frank
Frank Arensmeier
Marketing Support
NIKE HYDRAULICS AB
Box 1107
631 80 Eskilstuna
Sweden
tel +46 16 82 34
fax +46 16 13
for information about connecting to a MySQL database from PHP, gaining
results and processing these results.
If you could post some PHP code to this list, I am sure members of this
list will gladly help you with debugging the code.
Regards,
Frank
2005-03-08 kl. 11.26 skrev K Karthik:
sir,
iam
Try:
input type=checkbox name='aaa[]' value=1
/frank
2005-03-04 kl. 04.06 skrev tx:
i create the html form as below
input type=checkbox name=aaa value=1
input type=checkbox name=aaa value=2
input type=checkbox name=aaa value=3
input type=checkbox name=aaa value=4
and i receive the form data
Hello!
Is there anyone who has some experience in connecting to a IBM AS/400
server with PHP? Any ideas where to start?
Regards,
Frank
Frank Arensmeier
Marketing Support
NIKE HYDRAULICS AB
Box 1107
631 80 Eskilstuna
Sweden
tel +46 16 82 34
fax +46
Richard, you are my man! Thank you for the hints you gave me. I will do
some digging in the list archives tonight.
Thank you.
/frank
2005-03-02 kl. 19.57 skrev Richard Lynch:
Frank Arensmeier wrote:
Is there anyone who has some experience in connecting to a IBM AS/400
server with PHP? Any ideas
', 'value3);
foreach ($arr as $key = $value) {
echo Key: $key; Value: $valuebr /\n; // in stead of just
echoing the values and keys, you can e.g. assign the values to another
array and sort them when done
}
?
regards,
frank
2005-03-02 kl. 23.27 skrev Mirco Blitz:
Hi,
i have a multidimensional
Elizabeth!
Have you considered reinstalling PHP on your server?
Maybe, it is worth the effort?
Regards,
Frank
2005-03-01 kl. 17.19 skrev Bret Hughes:
On Tue, 2005-03-01 at 08:43, Elizabeth Lawrence wrote:
Thanks, Dan. I copied your code exactly and posted it here:
http://www.tidefans.com/test.php
Dave!
I would start by reading the PHP manual. Look for a function called
'imagecopyresized()'. This might help.
/frank
2005-02-28 kl. 16.34 skrev Bosky, Dave:
Does anyone have a nice function that will resize an uploaded image to
specific width/height dimensions?
I wanted to find something
`')'' in
/xxx/xxx/xxx/TMPz06yoces6o.php on line 2.
Is there a simple solution for this problem?
Regards,
Frank
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Thank you Stian!
In Swedish they say Sometimes you can't see the forest by all the
trees.
/frank
2005-02-24 kl. 09.45 skrev Stian Berger:
On Thu, 24 Feb 2005 09:14:32 +0100, Frank Arensmeier
[EMAIL PROTECTED] wrote:
Hello everybody!
I was wondering if you could help me with a little problem I
FileInfo is not available on win32.
- Frank
Chris wrote:
Hi,
Are there any places that might have instructions on compiling PECL
extensions on Windows? I tried going the pear install package route,
but fileinfo is not considered stable yet.
Chris
Trying a PEAR or PECL list
as the
ISAPI version, but without the troubles.
Read more here: http://www.caraveo.com/fastcgi/
- Frank
GH wrote:
#2 which method is better to install PHP with IIS? ISAPI or CGI?
ISAPI... no idea what it stands for though, but installing PHP that way
will make it a module within the server instead
Hi Thomas,
What version of php are you using? Both PHP4 and PHP5 has the ftp
extension build-in so there is no need to load it.
- Frank
Hello!
I don't have a file named php_ftp.dll, where can I find it?
I've added extension php_ftp.dll but Apache says I don't have this file
:( Could You
Hi,
You should compile php with this option --with-mssql or
--with-mssql=/path/to/freetds.
This will enable the mssql extension. Enabling the DBX extension is not
enough. DBX is just a wrapper arround other extensions. You still need to
compile each of these extensions.
- Frank
I need some
=image src=images/back_button.jpg onclick=history.go(-1)
And i've added the follwing line directly after Session_start();
header(Cache-control: private);
When i'm hitting the back button it's stays on it's page!!! So no browser back for me!
Can somebody help? Thanks!
Frank
Thanks Torsten Roehr, it works!
Frank
Torsten Roehr [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
[EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Dear all,
Can you please help me with the following?
I have written the following script: If i have a input type
Kim,
It worked!
Thanks,
Frank
Kim Steinhaug [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Well, seems you have some confusing logic here, since you
print out the option before you check if it should be checked.
To top it off, when its accually checked you write out an empty
Would anyone know how to resolve this scope problem? Or is this possibly
something PHP can't (yet) do?
The problem is to access a variable in a function foo from a function local
to foo.
- - -
function foo($var_foo)
{
$my_foo_local = 10; //How can I reach this from inside function
Thanks for the good suggestion, a fully usable workaround if a cleaner
thing doesn't surface.
And for your response time.. well, I have had slower answers in
phone-conversations... :-)
At 06:37 PM 7/28/2004, Jason Barnett wrote:
Something like this is probably better handled by a class. Then
At 07:39 PM 7/28/2004, Ford, Mike [LSS] wrote:
Actually, your problem is that the function bar is *not* local to foo. Even
though PHP lets you declare functions lexically within the scope of other
functions
snip
Ouch! Thanks! Got that much wiser! So for keeping the namespace cleaner
Hi,
a cookie is path-specific - can that help you?
Frank
At 10:54 PM 8/23/2004, you wrote:
What I'm trying to achieve is to have the same cookie IDENTIFY a user on
different (or same) applications (on the same server), but require them to
log in for each application, and get a different session
be possible to deliver a variable_name=value to the
traversing function which would be good enough in most cases.
May get around to it one day...
Frank
At 06:46 PM 7/22/2004, Jason Barnett wrote:
Hmmm... this may be difficult to implement. For simple include/require
trees it could be done
to be able to see -
i.e. a function that takes a file as input and recursively checks for all
links.
TIA!
Frank
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
other output stream or else PHP
will hang until the execution of the program ends.
i.e.
?php
...
exec(/my/perlscript /my/dump.txt 21);
...
?
This will have your PHP script continuing without waiting for the perl script.
- - -
...If I understood you correctly.
HIH.
Frank
i'd like to
kick off
You can use default arguments:
func foo($first, $second=2, $third=3 etc.
or look at
function func_num_args(...
HIH
Frank
At 01:39 AM 7/22/2004, Alex Hogan wrote:
Hi All,
How do I write a function with optional arguments? Is it possible in
php?
function myfunc($First, $Second,[$Third, $Fourth
Php wrote:
like i call an image if the img tag but instead of loading the image it
loads a php script
did you send the mime-type header first? Something like:
header(Content-Type: image/png);
Then you can do an include of the image or something like that.
Jason Wong [EMAIL PROTECTED] wrote in
Jason Wong wrote:
On Thursday 15 July 2004 23:30, Frank Holtschke wrote:
Even if you could prevent an included file from being parsed, I can't see
how it would help you as you can't assign the contents to a variable. But
you say that you sometimes have problems which implies that sometimes
Hall all,
i have sometimes problems to include images. the reason are substrings
like ? in the image.
in that case the php-parser tries to parse the string and returns the error:
parse error, unexpected ',' in
unforunatly there in no other way to include the image, cause the server
runs in
Jason Wong wrote:
On Thursday 15 July 2004 19:52, Frank Holtschke wrote:
i have sometimes problems to include images. the reason are substrings
like ? in the image.
in that case the php-parser tries to parse the string and returns the
error:
parse error, unexpected ',' in
unforunatly
;
print test2 = $test2br;
And this will give you the results:
test1 = http://www.google.com
test2 = http://www.google.com
Good luck!
-Frank
Ryan Schefke [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Hi,
Can someone help me write a short code snippet to format a string to add
elegant and efficient solution and I'm hoping
someone has a better suggestion/example. Perhaps something with PHP's
sessionid timeout is possible?
Thanks,
-Frank
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hi Robert,
This line
header(Content-Disposition: attachment; filename=customers.xls);
forces IE to save. If you change attachment to inline it will open the
Excel in the plug-in imbeded in the browser.
- Frank
I have the script below from another source, and it works prefectly in
Mozilla
You also need to change
header(Content-type: application/octet-stream);
to
header(Content-type: application/vnd.ms-excel);
- Frank
That just made IE put it out in data style, Excel didn't open up.
:(
Any other thoughts?
-Original Message-
From: Frank M. Kromann [mailto
and
$_SESSION is empty, but I could redirect somewhere...
I tried php 4.3.1 and 4.3.7 with apache 2.0.45 both the same.
On a Windows box the same program runs fine.
Can anybody help?
_
Frank Rust, Technische Universität, Institut
:
Server Machine: Sun Sparc 20 with Solaris 2.6, Apache 2.0.49, MySQL
4.0.17, PHP 4.3.7.
Remote Machine: Homebuilt running MS Windows 2000, Mozilla Firebird 0.7
browser
If there is a better list for beginner questions, please let me know.
Thanks.
--
Frank Hahn
--
PHP General Mailing List (http
the article says it should.
Thank you for your help.
--
Frank Hahn
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
This is a bug in php 4.3.5 and it's fixed in the upcomming 4.3.6 release.
- Frank
Recap:
In the query I had;
SELECT totalamount
And it was returning;
Total Amount
5.41108926696E-309
I tried to modify the query to;
SELECT cast(totalamount as decimal(10,2)) as totalamount
And php
201 - 300 of 541 matches
Mail list logo