Hi,
Alternatively, try :-
$Compass = array('West', 'North Westerly', 'North', 'North Easterly',
'East', 'South Easterly', 'South',
'South Westerly');
print $Compass[round($Degrees / 45)] . "\n";
This can be expanded easily by adding 'North North W
Hi,
> Alternatively, try :-
>
> $Compass = array('West', 'North Westerly', 'North', 'North Easterly',
> 'East', 'South Easterly', 'South',
> 'South Westerly');
>
> print $Compass[round($Degrees / 45)] . "\n";
>
> This can be expanded easily by adding
In a word:
I'm looking for more detailed information about preg_replace
(and other perl regex functions) than in the php manual,
specifically about different escape rules interaction.
In more words:
PHP has it's own way of escaping strings [2]
Ex \ within '' is '\' (or '\\' if at the end or before
On Tue, 14 Sep 2004 11:18:33 +0200, Christophe Chisogne
<[EMAIL PROTECTED]> wrote:
>
> In a word:
>
> I'm looking for more detailed information about preg_replace
> (and other perl regex functions) than in the php manual,
> specifically about different escape rules interaction.
>
> In more words
On Mon, 13 Sep 2004 12:39:26 -0500, Greg Donald <[EMAIL PROTECTED]> wrote:
>
>
> On Mon, 13 Sep 2004 19:03:09 +0200, Wouter van Vliet
> <[EMAIL PROTECTED]> wrote:
> > Howdy,
> >
> > I would assume this to be a common problem, but as I wrote to this
> > list myself a couple of days ago I was only
Wouter van Vliet a écrit :
Note: The valid range of a timestamp is typically from Fri, 13 Dec
1901 20:45:54 GMT to Tue, 19 Jan 2038 03:14:07 GMT. (These are the
dates that correspond to the minimum and maximum values for a 32-bit
signed integer.)
To avoid unix timestamps limits, dont reinvent the
I am currently coding a cms. So far I have completed the security
login/password system but have now moved on to a new area of php. Uploading
info to a database.
This is the code as it stands now.
Full Name:
Email:
UserName:
Ok I think I figured out my own problem. The speechmarks in the Form break
up the speech marks in the echo statement so I originally changed the echo
statements speechmark to a ' which worked but was informed that this was
considered bad syntax and that maybe I should add a \ in front of all
speech
Thanks for ur reply.
I was looking for ports for these OS.
server-side OS, not client-side.
But i guess Php doesnt support severs with these OS then,
at least i could not find any downloads like i did for Perl.
Marlen
"Dan Joseph" <[EMAIL PROTECTED]> schrieb im Newsbeitrag
news:[EMAIL PROTECT
Hi folks..
I'm using a form to send data from one page to another.
one of the input fields in the form has a quotation mark
Ex.: samsung 15" monitor
in the next page i cant get the text after the " symbol in the field.
I've tried both GET and POST methods.
what might b the problem
/sagar
Urlencode() and urldecode() should help you out.
Niklas
Sagar C Nannapaneni wrote:
Hi folks..
I'm using a form to send data from one page to another.
one of the input fields in the form has a quotation mark
Ex.: samsung 15" monitor
in the next page i cant get the text after the " symbol in the fi
First of all, I'd use something like this:
-- CODE --
.
Foo
-- END --
But the actual error is in the echo. You're having quotation marks
inside it. You need to do it my way, or write the form like
echo "...";
?>
Niklas
Logan Moore wrote:
I am currently coding a cms. So f
On Tuesday 14 September 2004 18:06, Logan Moore wrote:
> Ok I think I figured out my own problem. The speechmarks in the Form break
> up the speech marks in the echo statement so I originally changed the echo
> statements speechmark to a ' which worked but was informed that this was
> considered ba
On Tue, 14 Sep 2004 12:12:16 +0200, FireSnake <[EMAIL PROTECTED]> wrote:
> Thanks for ur reply.
>
> I was looking for ports for these OS.
> server-side OS, not client-side.
>
> But i guess Php doesnt support severs with these OS then,
> at least i could not find any downloads like i did for Perl.
On Tue, 14 Sep 2004 18:32:50 +0800, Jason Wong <[EMAIL PROTECTED]> wrote:
> On Tuesday 14 September 2004 18:06, Logan Moore wrote:
> > Ok I think I figured out my own problem. The speechmarks in the Form break
> > up the speech marks in the echo statement so I originally changed the echo
> > statem
On Tue, 14 Sep 2004 13:21:09 +0300, Niklas Lampén
<[EMAIL PROTECTED]> wrote:
> Urlencode() and urldecode() should help you out.
>
> Niklas
>
>
>
>
> Sagar C Nannapaneni wrote:
> > Hi folks..
> >
> > I'm using a form to send data from one page to another.
> >
> > one of the input fields in the
On 13 September 2004 20:23, Gryffyn, Trevor wrote:
> Nice! I didn't know you could do that with switch. I was
> wondering why conditionals were left out of PHP's switch
> statement, but hoped someone would prove me wrong. Thanks John!
> Very helpful!
>
> -TG
>
> > -Original Message
On 14 September 2004 10:19, Christophe Chisogne wrote:
> I'm looking for more detailed information about preg_replace
> (and other perl regex functions) than in the php manual,
> specifically about different escape rules interaction.
[]
> The 'pattern' argument is a string, but how does php
On Tue, 14 Sep 2004 05:37:30 +, Curt Zirzow
<[EMAIL PROTECTED]> wrote:
> * Thus wrote Sagar C Nannapaneni:
>
>
> > Hi everybody,
> >
> > I'm having a database named "items", inthat
> > one field name is "itemname" and the contents of
> > that field is as follows
> >
> > Monitor 15" - LG
>
On Tue, 14 Sep 2004 11:45:51 +0200, Christophe Chisogne
<[EMAIL PROTECTED]> wrote:
> Wouter van Vliet a écrit :
> >>Note: The valid range of a timestamp is typically from Fri, 13 Dec
> >>1901 20:45:54 GMT to Tue, 19 Jan 2038 03:14:07 GMT. (These are the
> >>dates that correspond to the minimum and
Hi, I've got the following little function:
public function addText($pdf, $xPos, $yPos, $schriftgroese, $text){
/**
* @description: Returning Text with automatic linebreak
*/
$heuhaufen = $text;
for ($i=0; $i < substr_count($heuhaufen, "\n") + 1; $i++){
$posStr= stripos ($heuhaufen,"\n");
Hi,
I have been searching the archives for the past 2
hours without luck, I am looking for an older thread
which was discussed on how to connect to a remote page
and check if that page was linking back to blah.com, I
think it was done via fopen.
If you can tell me either,
1. the name of that thre
From: "Mag" <[EMAIL PROTECTED]>
I have been searching the archives for the past 2
hours without luck, I am looking for an older thread
which was discussed on how to connect to a remote page
and check if that page was linking back to blah.com, I
think it was done via fopen.
If you can tell me either
Hi I connect to a MySQL 4.1 with the following String:
if
($db_verbin=mysqli_connect("$mysql_host","$mysql_user","$mysql_passw","$DB_n
ame"))
watch the i in mysqli_connect!
I think I've read somewhere that you are required to use that for the >4.1
Versions, but you
better look that up, I might
Hi I connect to a MySQL 4.1 with the following String:
if
($db_verbin=mysqli_connect("$mysql_host","$mysql_user","$mysql_passw","$DB_n
ame"))
watch the i in mysqli_connect!
I think I've read somewhere that you are required to use that for the >4.1
Versions, but you
better look that up, I might
Hi I connect to a MySQL 4.1 with the following String:
if
($db_verbin=mysqli_connect("$mysql_host","$mysql_user","$mysql_passw","$DB_n
ame"))
watch the i in mysqli_connect!
I think I've read somewhere that you are required to use that for the >4.1
Versions, but you
better look that up, I might
Hi,
> Nope, not paying for it. I think it is just a trial...he has tried
> for a few weeks to get the freetds library to work with redhat 9 with
> no luck so I think he just now wants to try fedora for the heck of it.
>
> We have no idea as to why it won't work with Red Hat 9...must me
> missing
Very nice solution, Dave. I like simple, elegant and effective
solutions like this. I was wracking my brain yesterday to come up with
something like this, but my brain wasn't working. Hah. Good job!
I think your compass directions are a bit off though.hah. West
shouldn't be 0 degrees, it sho
I need the latest version of curl , or at least version 7.10.5 , but the
last version of php I have has libcurl 7.10.2, how can I upgrade CURL
without upgrading php ? (Version 5.0 of php doesnt work)
--
Diana Castillo
Global Reservas, S.L.
C/Granvia 22 dcdo 4-dcha
28013 Madrid-Spain
Tel : 00-3
Hello,
On 09/14/2004 11:46 AM, Diana Castillo wrote:
I need the latest version of curl , or at least version 7.10.5 , but the
last version of php I have has libcurl 7.10.2, how can I upgrade CURL
without upgrading php ? (Version 5.0 of php doesnt work)
Depending on your system, it may be possible
HI!
I need catch many files in my server and make a zip file. In pear i not
see nothing. I think use exec for contruction a zip file. Any idea?
Regards,
JP
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Ok, so I was bored.. Attached below is a PHP script that will connect to
Outlook via COM and go through all the items in the Calendar, displaying
the appointment name, location, FROM and TO date/times (adjusting for
the weird assed MS timestamp.. Apparently # of seconds since some time
in 1970), a
> -Original Message-
> Let me explain more fully:
> I call a script like this:
>
>
>
> The script figures out if the image named in $_GET['file'] is portrait
> or landscape, and creates a thumbnail of the same orientation. I would
> like to get the x and y values of the image out of t
searching in php.net i found this...
http://www.zend.com/zend/spotlight/creating-zip-files1.php
On Tue, 14 Sep 2004 12:11:23 -0300 (ART), Juan Pablo Herrera
<[EMAIL PROTECTED]> wrote:
> HI!
> I need catch many files in my server and make a zip file. In pear i not
> see nothing. I think use exe
I stand corrected.
Nl2br() is still useful when dealing with outputting data from textarea
form elements... If you're outputting to a browser at least. But yes,
it only inserts a where there's a \n, it doesn't replace \n and
doesn't do anything with \r's.
-TG
> -Original Message-
> Fro
I have windows 2000. And the reason I need that version of CURL to work is
I need to use this:
curl_setopt($curl_interface, CURLOPT_ENCODING, "gzip");
"Manuel Lemos" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Hello,
>
> On 09/14/2004 11:46 AM, Diana Castillo wrote:
>> I need
Anyone know of any function to replace letters with accents with just the
regular letter, for instance replace á with a,
ç with c, ñ with n ?
--
Diana Castillo
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On Tue, 14 Sep 2004 17:51:00 +0200, Diana Castillo <[EMAIL PROTECTED]> wrote:
> Anyone know of any function to replace letters with accents with just the
> regular letter, for instance replace á with a,
> ç with c, ñ with n ?
str_replace(), eregi_replace()
--
Greg Donald
http://destiney.com/
-
Juan Pablo Herrera wrote:
HI!
I need catch many files in my server and make a zip file. In pear i not
see nothing. I think use exec for contruction a zip file. Any idea?
Regards,
JP
There are some classes (not in pear) that can create zip files w/out any
special extension. google for "php zip clas
Diana Castillo wrote:
Anyone know of any function to replace letters with accents with just the
regular letter, for instance replace á with a,
ç with c, ñ with n ?
$string = str_replace(array('á', 'ç', 'ñ'), array('a', 'c', 'n'), $string);
--
PHP General Mailing List (http://www.php.net/)
To uns
Diana Castillo wrote:
Anyone know of any function to replace letters with accents with just the
regular letter, for instance replace á with a,
ç with c, ñ with n ?
found this on the strtr() manual page (http://php.net/strtr):
'TH', 'þ' => 'th', 'Ð' => 'DH', 'ð' => 'dh',
'ß' => 'ss', 'Œ'
"Janbro" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Hi I connect to a MySQL 4.1 with the following String:
>
>
> if
> ($db_verbin=mysqli_connect("$mysql_host","$mysql_user","$mysql_passw","$DB_n
> ame"))
>
> watch the i in mysqli_connect!
>
> I think I've read somewhere that you
You will still get the benchmark of the functions, you just declare them
outside of your benchmarking loop so they don't get re-declared.
Pardon my syntax, I'm just going to try to demonstrate (using the
"getmicrotime" function from the PHP manual):
Every time you call "dosomething" and "dosom
"Janbro" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Hi I connect to a MySQL 4.1 with the following String:
>
>
> if
> ($db_verbin=mysqli_connect("$mysql_host","$mysql_user","$mysql_passw","$DB_n
> ame"))
>
> watch the i in mysqli_connect!
>
> I think I've read somewhere that you
"Jason Davidson" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Windows XP Firewall, or any other firewall for that matter must be off.
> Jason
Can someone else confirm that this is correct?
For one thing, when I use MySQL directly outside of a web page, it works.
The sample C pr
Sam Hobbs wrote:
When I do try mysqli_connect, I get:
Fatal error: Call to undefined function mysqli_connect()
So obviously I need to do something to enable that. I will look into that
later, but I am still trying to get mysql_connect to work.
mysqli : http://us4.php.net/mysqli
What error a
Sam Hobbs wrote:
"Jason Davidson" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
Windows XP Firewall, or any other firewall for that matter must be off.
Jason
Can someone else confirm that this is correct?
It's not correct.
For one thing, when I use MySQL directly outside of a web p
On Tue, 14 Sep 2004 10:11:24 -0700, Sam Hobbs <[EMAIL PROTECTED]> wrote:
> Also, are the warning messages documented? As I asked in my original
> question, is 10061 an error code?
10061 is a generic winsock error for a timeout, it's not PHP or MySQL
specific. It means that the call couldn't conne
Hi,
I have checked the recent list archives and looked up various PHP functions.
I know what I want should be simple but, apparently not simple enought for
me.
I have a mysql database that has a date field and a time field.
I want users to be able to enter a date and a time in text boxes on an
[snip]
DATE field in a mysql database.
What obvuios thing did I miss? Note I am not using the system date or
time
stamp, these are entered dates.
[/snip]
You're using a DATE field in the MySQL database. MySQL requires an ISO
formatted date unless you manipulate it, such as 2004-09-14
http://dev.
From: "Scott Miller" <[EMAIL PROTECTED]>
I have a mysql database that has a date field and a time field.
I want users to be able to enter a date and a time in text boxes on an
html
form and have them end up in the database.
Code examples would be good here. Either way, the format for a DATE field
"John Nichel" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
>
> I don't know anything about WindowsXP or it's 'firewall', but you _may_
> have to open the port for which you have MySQL running on. I haven't
> followed this thread, but if MySQL, and your php enabled webserver are o
"Jason Davidson" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Also, a google on the error returns hundreds of results..
> http://www.google.ca/search?hl=en&ie=UTF-8&q=Can%27t+connect+to+++MySQL+server+on+%27localhost%27+%2810061%29&btnG=Search&meta=
Yes, I could have searche
"Andrew Kreps" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> On Tue, 14 Sep 2004 10:11:24 -0700, Sam Hobbs <[EMAIL PROTECTED]> wrote:
>> Also, are the warning messages documented? As I asked in my original
>> question, is 10061 an error code?
>
> 10061 is a generic winsock error fo
The webpage of coarse, is not local, regardless of where its hosted, so
a firewall will come into play when trying to connect.
You dont have disable it, i should have been specifc i suppose, you must
allow for the mysql port to be open. :)
Whats for others to confirm, try it yourself and see if i
Sam
Your problem probably does stem from the extension not being installed.
You say you're using (IIRC) mySQL 4.1
This requires you to use the mysqli extension, not the mysql extension
As you're on windows, it's probably just a case of uncommenting the
extension=php_mysqli.dll
line in your php.ini,
"Jason Davidson" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Also, a google on the error returns hundreds of results..
> http://www.google.ca/search?hl=en&ie=UTF-8&q=Can%27t+connect+to+++MySQL+server+on+%27localhost%27+%2810061%29&btnG=Search&meta=
One thing I did find in t
The firewall I am using is ZoneAlarm, the free version. I am nearly certain
that it does not allow specific ports to be opened, at least not for
specific addresses. So if this were a requirement, probably many others
would have that specific problem.
However if nothing else works, I will try to
Jason Davidson wrote:
The webpage of coarse, is not local, regardless of where its hosted, so
a firewall will come into play when trying to connect.
You dont have disable it, i should have been specifc i suppose, you must
allow for the mysql port to be open. :)
Whats for others to confirm, try it
Possible i should have checked your configurations, however, to itterate
my point slightly, here is some documentation, you may find it usefull
regardless of how you connect to your db.
http://dev.mysql.com/doc/mysql/en/Can_not_connect_to_server.html
Jason
"Sam Hobbs" <[EMAIL PROTECTED]> wrote
ok, well, i just posted a link for you to check out, it gives insight on
how mysql connects on different platforms, this will of use to you i
think, the last few bullets in the page i linked to are of some
importance to your error msg which says, cant connect to localhost, and
not, cant connect thr
when I did this in a shared hosting environment, I looked at phpinfo()
running on the server in question, then changed all values in my new php.ini
to be the same as the one on the server. You get most of what you need
changed by doing that. Plus its almost always a standard install with shared
hos
Hey, i understand that, :) however, a firewall may restrict _any_
access to a port, and if you are connected thru TCP/IP, then that port
may be restricted even if 'local'. It is still a client server
relationship regardless where client and server reside.
Of coarse, this may not be the issue h
And for more testimonies, sinse i fear im getting absolutely no credit
for having any knowledge of mysql and php.. :P (i say that in jest of
coarse)
search this in google and see how many people fixed the very problem by
disabling or adjusting the firewall.
http://www.google.ca/search?hl=en&ie=UT
This is some experimental code I did to try and find a way to recycle the
same query multiple times as efficient as possible. With the purpose of
efficiently comparing the results of 2 queries where the resultset from
both queries won't match in the size (in this sample test it coincidently
doe
At 17:51 14-09-2004, Diana Castillo wrote:
Anyone know of any function to replace letters with accents with just the
regular letter, for instance replace á with a,
ç with c, ñ with n ?
How about this ??? This is the one I made for this purpose
function stripAccents($string) {
$returnString = strt
> Of coarse, this may not be the issue he is having, but it is an issue i
> have dealt with before, as retarded as you all seem to think it is.
I lost track of who the original poster was, but anyway...
Why not disconnect from the internet, turn off all the firewalls, and
then see if it works. I
On Tue, 14 Sep 2004 22:32:54 +0200, -{ Rene Brehmer }-
<[EMAIL PROTECTED]> wrote:
> Unless I misunderstand how PHP make unspecified arrays (and I probably do
> since this works), when you have an array of 3 elements on the first
> dimenstion like I do, and then ask for $arrlevels[$lvl_guest]['level
Note that there is a difference between the php_mysqli and the php_mysql
extensions. I have both php_mysqli.dll and php_mysql.dll in my PHP501\ext
directory, but I don't have the "extension=php_mysqli.dll" line in my
php.ini file. Is that something that should be in the php.ini (with a ";" to
c
I use an application that has a web browser engine built in and every time I
open the app there is some code executing a hyperlink and pulling up a HTML
page to a specific place on the page. This action changes according to if it
is AM or PM and the date.
Example: from 00:00 to 11:59 during th
Hi there - I have an extremely simple table that has a unique Id and an
email address. what I am looking for is an example of a PHP script
that will poll the MYSQL database and delete the duplicate records
leaving only 1 unique (email) record.
can someone point me to the right place?
thanks
you could select out all the DISTINCT email addresses, and delete the
table, and repopulate it with your selected rows add a constraint to
the table to make email column unique afterwards maybe.
Jason
Dustin Krysak <[EMAIL PROTECTED]> wrote:
>
> Hi there - I have an extremely simple table that
I'd like a value to be passed back from every page, if that page was
originally passed that value.
The two ways that I can think of it, are:
1/ Javascript with some sort of 'onSubmit()' function which causes a
minimal form to be submitted via POST or GET
2/ A hidden form value, and make every ac
How do sessions 'time out'? Especially if using and SID in the query
string (not a good idea, I know, but this bypasses cookie timeout and so
removes it from timeout methods for this discussion)
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hi,
Depending on the time out time set in the php.ini, they will
expire after that many minutes of inactivity, or when the browser is
closed.
-Dan Joseph
-Original Message-
How do sessions 'time out'? Especially if using and SID in the query
string (not a good idea, I know, but
Dennis Gearon wrote:
I'd like a value to be passed back from every page, if that page was
originally passed that value.
The two ways that I can think of it, are:
1/ Javascript with some sort of 'onSubmit()' function which causes a
minimal form to be submitted via POST or GET
2/ A hidden form val
PHP's creating an image and I'm trying to store it into MySQL. Instead of
raw binary data, all I'm getting is a resource reference. To test this and
keep things as simple as possible, I took and created an image with
createimagefromjpeg. Here's some example code of what I'm talking about:
$url
On Wednesday 15 September 2004 08:05, Ed Lazor wrote:
> PHP's creating an image and I'm trying to store it into MySQL. Instead of
> raw binary data, all I'm getting is a resource reference. To test this and
> keep things as simple as possible, I took and created an image with
> createimagefromjpe
> > I have been searching the archives for the past 2
> > hours without luck, I am looking for an older
> thread
> > which was discussed on how to connect to a remote
> page
> > and check if that page was linking back to
> blah.com, I
> > think it was done via fopen.
> >
> > If you can tell me eith
Got it. Thanks Jason.
> -Original Message-
> > Imagejpeg($im); // successfully displays image
>
> Use the ob_*() functions to capture the output. See archives for details.
>
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hello All,
I am in the process of wrapping up a site for a friend of
mine. It has logins, searching, account information, etc. I am
wondering, does anyone on the list do any security auditing on the side?
Chris, maybe you? I figured the best way to tighten it up is to have an
outsi
Oop... spoke too soon. I was able to store the image into the database, but
now I can't pull it back out and manipulate it with the gd image functions.
Instead of using the imagejpeg function, I can just echo the field and the
image will display in a browser window. How do I restore the data from
Has anyone run across a tool available to PHP that can render an image of a
entire webpage from a URL, so that it can be reduced to a thumbnail and
stored in a database?
Warren Vail
You make a good point, Marek. They CAN open a new window with different results. Maybe
it's up to each page to keep track of where it is at, via form elements alone, instead
of through session values. Hadn't thought of that, but it must be the only way. Adding
and extra layer to that might end u
--- Dan Joseph <[EMAIL PROTECTED]> wrote:
> I am in the process of wrapping up a site for a friend of mine.
> It has logins, searching, account information, etc. I am
> wondering, does anyone on the list do any security auditing on
> the side? Chris, maybe you?
Yes, but I might not be a good choic
On Tue, 2004-09-14 at 17:45, Vail, Warren wrote:
> Has anyone run across a tool available to PHP that can render an image of a
> entire webpage from a URL, so that it can be reduced to a thumbnail and
> stored in a database?
>
> Warren Vail
>
This would require that PHP act as a web browser..w
Vail, Warren wrote:
Has anyone run across a tool available to PHP that can render an image of a
entire webpage from a URL, so that it can be reduced to a thumbnail and
stored in a database?
Warren Vail
nothing is impossible but you will be really really hard pressed to do
that. Try java instead
After reading the online documentation, it appears that I should be
using the following code, however it does not appear to work. Are there
some obvious errors?
if ($row) {
$pdf_file = $row->CLM_IMG_FILE;
$msg = $pdf_file;
$SRC_FILE = "/tmp/" . $pdf_file;
* Thus wrote Todd Cary:
> After reading the online documentation, it appears that I should be
> using the following code, however it does not appear to work. Are there
> some obvious errors?
>...
> header("Content-Type: application/pdf");
> header("Content-Disposition: inline
Curt -
Thank you for the quick response. The file is being sent and the PDF
reader does try to open it, but it is corrupted. When I change the
Disposition to
header("Content-Disposition: attachment; filename=image.pdf")
and save the file, it cannot be opened do to errors within the file.
Yet,
* Thus wrote Todd Cary:
> Curt -
>
> Thank you for the quick response. The file is being sent and the PDF
> reader does try to open it, but it is corrupted. When I change the
> Disposition to
>
> header("Content-Disposition: attachment; filename=image.pdf")
>
> and save the file, it cannot b
Hello,
I have written a small code for retrieving the contents from the mysql
database and display from the user. While display in the browser it is
displaying some other contents from the previous row and appending with
the original contents. If i give the same query in the mysql prompt that
tim
Hi there... I have a simple search page (mysql database), and I can get
it to display the results no issues, but i was wondering how I could
display a message stating there were no results, instead of just having
the field blank. I am familiar with IF and ELSE statements, but I am
not sure how
On Tue, 14 Sep 2004 17:45:07 -0700, Vail, Warren <[EMAIL PROTECTED]>
wrote:
Has anyone run across a tool available to PHP that can render an image
of a
entire webpage from a URL, so that it can be reduced to a thumbnail and
stored in a database?
Warren Vail
I suppose you could write a complet
Dustin Krysak wrote:
Hi there... I have a simple search page (mysql database), and I can get
it to display the results no issues, but i was wondering how I could
display a message stating there were no results, instead of just having
the field blank. I am familiar with IF and ELSE statements, bu
OK, obviously I wasn't awake last night ... figured out what I was actually
doing here ... specifying the index for the 2nd array instead of the value
in the first ... *sigh* *blushes* ... how do you say "tanketorsk" in
English ??? anyway, sorry for wasting bandwidth, I'll go hide in the
c
T UmaShankari wrote:
Hello,
I have written a small code for retrieving the contents from the mysql
database and display from the user. While display in the browser it is
displaying some other contents from the previous row and appending with
the original contents. If i give the same query in the
* Thus wrote -{ Rene Brehmer }-:
> OK, obviously I wasn't awake last night ... figured out what I was actually
> doing here ... specifying the index for the 2nd array instead of the value
> in the first ... *sigh* *blushes* ... how do you say "tanketorsk" in
> English ???
scheißen or ges
mysql_num_rows () will tell you how many rows return in the query
> [Original Message]
> From: Dustin Krysak <[EMAIL PROTECTED]>
> To: PHP <[EMAIL PROTECTED]>
> Date: 09/14/2004 9:37:24 PM
> Subject: [PHP] php - no results - display other message
>
> Hi there... I have a simple search page (mysql
"John Nichel" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Jason Davidson wrote:
>> The webpage of coarse, is not local, regardless of where its hosted, so
>> a firewall will come into play when trying to connect. You dont have
>> disable it, i should have been specifc i suppose
1 - 100 of 106 matches
Mail list logo