[snip]
[snip]
?php
function solution1($var1){
// some code
}
function solution2($var2){
// some code
}
function solution3($var3){
// some code
}
if ($function == 'solution1' or $function == 'solution2' or $function ==
'solution3')
{
$my_solution = $function($var); #
On 19/10/2007, afan pasalic [EMAIL PROTECTED] wrote:
hi
I have a problem with calling functions:
?php
function solution1($var1){
// some code
}
function solution2($var2){
// some code
}
function solution3($var3){
// some code
}
if ($function == 'solution1'
Stut wrote:
afan pasalic wrote:
why then the code doesn't work?
the error I'm getting is: Fatal error: Call to undefined function
solution1() in ... even the function itself is just above the line that
calls function?
I can only guess that you're not showing us the code you're actually
[snip]
?php
function solution1($var1){
// some code
}
function solution2($var2){
// some code
}
function solution3($var3){
// some code
}
if ($function == 'solution1' or $function == 'solution2' or $function ==
'solution3')
{
$my_solution = $function($var); # this
2007. 10. 19, péntek keltezéssel 11.15-kor afan pasalic ezt írta:
hi
I have a problem with calling functions:
?php
function solution1($var1){
// some code
}
function solution2($var2){
// some code
}
function solution3($var3){
// some code
}
if
Jay Blanchard wrote:
[snip]
?php
function solution1($var1){
// some code
}
function solution2($var2){
// some code
}
function solution3($var3){
// some code
}
if ($function == 'solution1' or $function == 'solution2' or $function ==
'solution3')
{
afan pasalic wrote:
why then the code doesn't work?
the error I'm getting is: Fatal error: Call to undefined function
solution1() in ... even the function itself is just above the line that
calls function?
I can only guess that you're not showing us the code you're actually
running. See the
actually, what example you are talking about? I got jay's example only?
Stut wrote:
afan pasalic wrote:
why then the code doesn't work?
the error I'm getting is: Fatal error: Call to undefined function
solution1() in ... even the function itself is just above the line that
calls function?
On Mon, 2007-10-08 at 14:59 +0100, Hulf wrote:
The problem I am getting is safari just downloads the .php file. IE7
corrupts the binary file. It opens fine on FF and IE6. Is this a headers
problem?
What's the value of $type?
Cheers,
Rob.
Thanks,
R.
?php
Hulf wrote:
header(Content-Length: .filesize($file));
Ok, for the third time, I am going to ask, why are you running filesize() on a variable that doesn't
exist. You are pulling a variable out of the DB called $size. From the scripts that you posted a
few weeks ago, the upload handling
I would check for an eaccelerator mailing list. Personally I never use
the web interface.
Cheers,
Rob.
On Thu, 2007-10-04 at 17:29 +0200, Miguel J. Jiménez wrote:
Hi, I am new to eAccelerator... when I use purge or clean the apache
error log says:
* File does not exist:
On Monday 01 October 2007 16:01, Crab Hunt wrote:
Hi,
Is there a fix for removing the junk characters that appear when we copy
and paste some text from Microsoft word into a php form ? For example the
double quotes turn into something like *â??*
thanks in advance.
Some WYSIWYG editors do
On Mon, 2007-10-01 at 08:01 +0200, Crab Hunt wrote:
Hi,
Is there a fix for removing the junk characters that appear when we copy and
paste some text from Microsoft word into a php form ? For example the double
quotes turn into something like *â??*
thanks in advance.
At 8:01 AM +0200 10/1/07, Crab Hunt wrote:
Hi,
Is there a fix for removing the junk characters that appear when we copy and
paste some text from Microsoft word into a php form ? For example the double
quotes turn into something like *â??*
thanks in advance.
Crab:
That's something I'm
2007. 09. 5, szerda keltezéssel 16.31-kor Brian Welter ezt írta:
I have the following code and it doesn't behave properly but I can't find my
error. The code is designed to validate user login. When I pass in an
invalid email name to the checkLogin function it returns a result, not FALSE
as
Brian Welter wrote:
I have the following code and it doesn't behave properly but I can't find my
error. The code is designed to validate user login. When I pass in an
invalid email name to the checkLogin function it returns a result, not FALSE
as the documentation describes. I can SELECT * from
Brian Welter wrote:
I have the following code and it doesn't behave properly but I can't find my
error. The code is designed to validate user login. When I pass in an
invalid email name to the checkLogin function it returns a result, not FALSE
as the documentation describes. I can SELECT * from
On 8/15/07, Vanessa Vega [EMAIL PROTECTED] wrote:
Good day to all...
I would like to ask for some help..
I have a form created in javascript codes. The page is a pop up window.
I am passing the values of the form using the method post. The PHP file
that handles the form displays the values
Vanessa Vega wrote:
Good day to all...
I would like to ask for some help..
I have a form created in javascript codes. The page is a pop up window.
I am passing the values of the form using the method post. The PHP file
that handles the form displays the values from that and had the following
Hi,
The problem is simple...
Either the file myclass.php path is wrong (may be your calling file is in
some folder and myclass.php is in another folder) or if path is correct and
file may have some syntax errors or some function may not exist..
Please check the path if wrong and check the file
basically you want your page needs to be submitted to the next page when you
click on the tr
so do one thing. create 2 forms..
form 1 will have your main table and the datas
form 2 will have hidden inputs
for each tr you need to assign a variable called rownumber and create the
hidden fields in
On Mon, August 13, 2007 11:35 pm, shivendra wrote:
Sir,u r not getting what i m trying to say,my problem is how can i
send the
values of tds in a perticuler row,by a function in onClick event of
that
row.actuallly the values are coming from database,and i what i want
when i
click a
shivendra wrote:
hello friends,
i need your ehlp,actually i have a tablbe in my php page,the format is
something like this:
table
tr name=t1 id=t1
tdmonu/tdtd23/td
/tr
tr name=t2 id=t2
tdmonu/tdtd23/td
/tr
/table
What i want,when i click a row like row t1 the values of this particuler
row,i
On Sat, August 11, 2007 4:58 am, shivendra wrote:
hello friends,
i need your ehlp,actually i have a tablbe in my php page,the format is
something like this:
table
tr name=t1 id=t1
tdmonu/tdtd23/td
/tr
tr name=t2 id=t2
tdmonu/tdtd23/td
/tr
/table
What i want,when i click a row like row
Sir,u r not getting what i m trying to say,my problem is how can i send the
values of tds in a perticuler row,by a function in onClick event of that
row.actuallly the values are coming from database,and i what i want when i
click a perticuler row the values are sent to some other page:
table
I'm having problem with php mail. When I try to create an
html message with only a href='mydomain.com'mydomain/a,
gmail is registering it as a spam while yahoo is not.
Can you suggest solutions to my problem.
Try sending a real message. Messages being too small is one indicator of
a
Can you post the headers that you are using...they play a role how the message
is viewed by the receiving agent
bastien
Date: Sat, 4 Aug 2007 21:06:53 -0700
From: [EMAIL PROTECTED]
To: php-general@lists.php.net
Subject: [PHP] Problem with php
On 8/5/07, Jason Sia [EMAIL PROTECTED] wrote:
Hi Everyone,
I'm having problem with php mail. When I try to create an html message
with only a href='mydomain.com'mydomain/a, gmail is registering it as a
spam while yahoo is not. Can you suggest solutions to my problem.
Thanks,
Jason
)
Regards,
Carlton Whitehead
- Original Message -
From: Tijnema [EMAIL PROTECTED]
To: Jason Sia [EMAIL PROTECTED]
Cc: php-general@lists.php.net
Sent: Sunday, August 5, 2007 11:22:13 AM (GMT-0500) America/New_York
Subject: Re: [PHP] Problem with php mail
On 8/5/07, Jason Sia [EMAIL PROTECTED
HI,
Are you looking for EDT or EST?
EST = EDT -1.
EDT = EST +1
Take care,
Leonard
On 8/4/07, Crab Hunt [EMAIL PROTECTED] wrote:
Hi,
I need to get the current time in EST timezone while my current timezone is
CEST. I use the function :
date_default_timezone_set('EST')
But now the time
Hi!
Try setting the timezone to one of the cities inside it from this list:
http://www.php.net/manual/en/timezones.america.php
DST will be taken into account automatically.
Hope that helps.
Jan
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit:
if time() is always 1 hour behind what you want, why not
time() + 3600 // 60 seconds * 60 minutes
On 8/4/07, Crab Hunt [EMAIL PROTECTED] wrote:
Hi,
I need to get the current time in EST timezone while my current timezone is
CEST. I use the function :
date_default_timezone_set('EST')
But
At 3:57 PM +0200 8/4/07, Jan Reiter wrote:
Hi!
Try setting the timezone to one of the cities inside it from this list:
http://www.php.net/manual/en/timezones.america.php
DST will be taken into account automatically.
Hope that helps.
Jan
Jan:
That's the problem, it doesn't work.
I have
-Original Message-
From: tedd [mailto:[EMAIL PROTECTED]
Sent: Saturday, August 04, 2007 5:02 PM
To: Jan Reiter; 'Crab Hunt'; php-general@lists.php.net
Subject: RE: [PHP] Problem with getting time in EST
Jan:
That's the problem, it doesn't work.
I have mine set for Detroit and it's an hour off
Kevin Murphy wrote:
I'm running the following script (simplified for discussion) to create a
CSV file. My problem here is that the first filemtime and the last
filemtime always equal each other. What I am trying to get is the
filemtime ($new_last_modified) of the file that was just executed 3
On Tue 31 Jul 07 22:57, Kevin Murphy wrote:
$csv_file = myFile.csv;
$last_modified_csv = filemtime($csv_file);
$fh = fopen($csv_file, 'w') or die(can't open file);
fwrite($fh, Data Goes Here);
fclose($fh);
add a clearstatcache() in here.
(and sometimes just for because you might want to
On Fri, July 20, 2007 7:57 pm, arvin lee wrote:
system: windows xp sp 2
apache: apache_2.2.4-win32-x86-no_ssl
PHP: php-5.2.3-win32-installer.msi
i try to install php on my computer so that i can finish my homework,
but
after download these files nightmare begins. Install apache with
On 24/07/07, Chris Mika [EMAIL PROTECTED] wrote:
I don't know if I'm doing something wrong or if this is a bug.
Very simply: I created an array with values 1-5. I use a foreach loop to
iterate over it to add 1 to the values. It correctly iterates over the
array except for the last value.
Code:
Chris Mika wrote:
I don't know if I'm doing something wrong or if this is a bug.
the problem is due ot reuse of the variable you define by reference in the
second loop - cant really explain why its doing what you see but IIRC its
not a bug, an artifact of the way references work. someone with a
On Mon, July 23, 2007 9:48 am, Jeff Lanzarotta wrote:
I am not sure if this is the right mailing list or not, but here
goes...
I am attempting to compile php 5.2.3 from source under SUSE 10.1. The
compile is fine, it is the 'make test' that is failing...
When I run 'make test' I am getting:
Jeff Lanzarotta wrote:
Hello,
I am not sure if this is the right mailing list or not, but here goes...
I am attempting to compile php 5.2.3 from source under SUSE 10.1. The compile
is fine, it is the 'make test' that is failing...
When I run 'make test' I am getting:
Ross wrote:
I am using postcode anywhere for a 'where's my nearest' function.
All the geographical info is contained in an array, which when dumped looks
like this
var_dump ($result);
array(1) { [0]= array(13) { [origin_postcode]= string(7) EH2 2BE
[destination_postcode]= string(6) EH2 2BE
Comment out the header(Content-type);
Change error_reporting to E_ALL.
Surf directly to chart.php.
See error messages.
Fix them.
On Tue, July 10, 2007 3:26 pm, M5 wrote:
I've got a little PHP script that generates charts, that has been
working perfectly every day for the past couple years.
M5 wrote:
I've got a little PHP script that generates charts, that has been
working perfectly every day for the past couple years. Since upgrading
the Xserve's PHP from 5.1.6 to 5.2.2 (both Entropy), it has stopped
working. Specifically, it doesn't return any GIFs (charts). Actually, it
will
On 7/10/07, M5 [EMAIL PROTECTED] wrote:
I've got a little PHP script that generates charts, that has been
working perfectly every day for the past couple years. Since
upgrading the Xserve's PHP from 5.1.6 to 5.2.2 (both Entropy), it has
stopped working. Specifically, it doesn't return any GIFs
Thanks Jim,
Such common sense revealed the cause—out of memory when generating
the chart. The session 'problem' was a red herring—the reason the
script ran out of memory is that GD only needed more than 8MB when it
was able to produce a large enough GIF (since the session data was
Somewhere in that mess there should be something to do a
mysqli_select_db() to choose WHICH database to use...
Where it's supposed to be in the mess of OOP layers you're wrapped
around yourself, god only knows.
On Fri, June 29, 2007 12:31 pm, Lee PHP wrote:
Hi,
I have a class that extends
Lee PHP wrote:
I have a class that extends msyqli that AFAIK can connect to the
database, but gives me an error when I try and query it. Here's my
class:
-- BEGIN DATABASE CLASS --
require_once('Configuration.php');
require_once('RSFSException.php');
class Database extends mysqli {
Lee PHP wrote:
public static function getInstance($url = null) {
// Set the URL if one is provided.
if (isset($url)) {
$this-setUrl($url);
}
// Instantiate the Singleton if not already instantiated.
if(empty(self::$INSTANCE)) {
Please always include the list when replying.
Lee PHP wrote:
Yup, that was it - thanks! Coming from a Java OO background, I find it
frustrating that PHP doesn't warn me about stuff like that. Oh well, I
guess I'll know next time.
End the frustration, turn notices on. This reminds me of a
On Wed, May 23, 2007 1:39 am, Angelo Zanetti wrote:
Dear all.
I have a script that is called by an AJAX popup. Now I use an image
file to get the path of an image for an img tag
eg:
img border=0 id=middleImage name=middleImage src=? echo
$getImageURL; ?
the $getImageURL is composed
SOLVED. seems that something else was causing the script not to work.
Thanks anyway
Angelo Zanetti wrote:
Dear all.
I have a script that is called by an AJAX popup. Now I use an image
file to get the path of an image for an img tag
eg:
img border=0 id=middleImage name=middleImage
Hi Pablo,
Tuesday, May 15, 2007, 7:44:52 PM, you wrote:
Hello, Im designing a website in which I have to read some data (numbers)
from a txt file and then send this data to a function which prints a graphic
with them. When I read the data I save it in an array and the numbers are in
this
What function(s) are you using to read the file contents? How are you
inserting them into the array? Code examples please...
If you need precision with floats or doubles you can use BCMath
Arbitrary Precision Mathematics Functions.
http://www.php.net/manual/en/ref.bc.php
Andy
Pablo Luque wrote:
Hello, Im designing a website in which I have to read some data
(numbers) from a txt file and then send this data
Richard Lynch wrote:
PostgreSQL will
simply throw an error, because '8' is not no way no how an INT. It's
a string.
Since when?
test=# create table b(b int);
CREATE TABLE
test=# insert into b(b) values ('1');
INSERT 0 1
test=# SELECT * from b;
b
---
1
(1 row)
test=# select * from b where
Post your block of code from your connection string (Leave out your
username/password info please) to the end of the result set for your query
so I can take a look at it.
On 5/9/07, Chris Boget [EMAIL PROTECTED] wrote:
I noticed the following in my logs:
22:04:42 [warning]
, May 09, 2007 11:07 AM
To: Chris Boget
Cc: PHP General
Subject: Re: [PHP] Problem with mssql_query()
Post your block of code from your connection string (Leave out your
username/password info please) to the end of the result set for your
query so I can take a look at it.
On 5/9/07, Chris Boget
I dunno 100% for sure about MSsql, but I know for sure that MySQL lets
you do wording_id = '8' when wording_id is an INT and PostgreSQL will
simply throw an error, because '8' is not no way no how an INT. It's
a string.
I suspect MS SQL may be doing the same, in its own unique bland
non-desript
2007. 05. 8, kedd keltezéssel 03.35-kor uni uni ezt írta:
im having problem in making php news.
I have session variables in login prosses:
$_SESSION['username']=$rec['username'];
$_SESSION['registered_admin']=TRUE;
$_SESSION['username'] is taken from admin table
registered_admin can
On Tue, May 8, 2007 5:35 am, uni uni wrote:
im having problem in making php news.
I have session variables in login prosses:
$_SESSION['username']=$rec['username'];
$_SESSION['registered_admin']=TRUE;
$_SESSION['username'] is taken from admin table
registered_admin can publish the news,
4 maj 2007 kl. 23.48 skrev Richard Lynch:
On Fri, May 4, 2007 3:42 pm, Frank Arensmeier wrote:
I still think that the best way to go is to not involve Apache at all
when running the script. Because the script already has functions for
output logging etc. it is no big deal to change the code so
On Fri, May 4, 2007 8:37 am, Frank Arensmeier wrote:
I am currently working on a script that parses a given http adress by
looking for anchor tags, background images and so on - a crawler if
you like. The downloaded content is temporarily stored on the server
(Mac OS X Server 10.4.9 with PHP
4 maj 2007 kl. 21.58 skrev Richard Lynch:
On Fri, May 4, 2007 8:37 am, Frank Arensmeier wrote:
I am currently working on a script that parses a given http adress by
looking for anchor tags, background images and so on - a crawler if
you like. The downloaded content is temporarily stored on the
On Sat, April 28, 2007 6:15 pm, Tijnema ! wrote:
You have exactly the same problem as i have. My shared hosting has
safe_mode off en dl on, so i could load them :)
But i don't have access to write to the php.ini file.
Maybe we should create such workaround as you provided? Some script
that
On 5/3/07, Richard Lynch [EMAIL PROTECTED] wrote:
On Sat, April 28, 2007 6:15 pm, Tijnema ! wrote:
You have exactly the same problem as i have. My shared hosting has
safe_mode off en dl on, so i could load them :)
But i don't have access to write to the php.ini file.
Maybe we should create
On Wed, May 2, 2007 5:10 pm, Tijnema ! wrote:
On 5/3/07, Richard Lynch [EMAIL PROTECTED] wrote:
On Sat, April 28, 2007 6:15 pm, Tijnema ! wrote:
You have exactly the same problem as i have. My shared hosting has
safe_mode off en dl on, so i could load them :)
But i don't have access to
On Fri, April 27, 2007 5:49 pm, Tijnema ! wrote:
Also, I think dl() is going away in PHP 6, so you may want to
re-think
this from the get-go...
Yes, if seen it is deprecated, but how could somebody include dynamic
library without editing php.ini? I was a little bit shocked when i
read i
On 4/28/07, Richard Lynch [EMAIL PROTECTED] wrote:
On Fri, April 27, 2007 5:49 pm, Tijnema ! wrote:
Also, I think dl() is going away in PHP 6, so you may want to
re-think
this from the get-go...
Yes, if seen it is deprecated, but how could somebody include dynamic
library without editing
On Thu, April 26, 2007 5:48 am, Marten Lehmann wrote:
Hello,
I'm trying to include a shared object file with the function dl(). But
I
always get:
Warning: dl() [function.dl]: Unable to load dynamic library
'/homepages/xyz/util.so' - /homepages/xyz/util.so: cannot open shared
object file:
On 4/27/07, Richard Lynch [EMAIL PROTECTED] wrote:
On Thu, April 26, 2007 5:48 am, Marten Lehmann wrote:
Hello,
I'm trying to include a shared object file with the function dl(). But
I
always get:
Warning: dl() [function.dl]: Unable to load dynamic library
'/homepages/xyz/util.so' -
Marten Lehmann wrote:
I'm trying to include a shared object file with the function dl(). But I
always get:
Warning: dl() [function.dl]: Unable to load dynamic library
'/homepages/xyz/util.so' - /homepages/xyz/util.so: cannot open shared
object file: No such file or directory in
On 4/26/07, Marten Lehmann [EMAIL PROTECTED] wrote:
Hello,
I'm trying to include a shared object file with the function dl(). But I
always get:
Warning: dl() [function.dl]: Unable to load dynamic library
'/homepages/xyz/util.so' - /homepages/xyz/util.so: cannot open shared
object file: No such
Richard Kurth-2 wrote:
I know this is not a PHP problem it is a Browser problem but I need a
workaround to make this work. So I can finishing my php script
Using this to select the file and path
form action=test7.php method=post
input type=file name=uploadfile id=original
Em Sexta 20 Abril 2007 14:19, enediel gonzalez escreveu:
Hello.
using phpmyadmin I can read that in one register of the database exists the
string
Vérifie que le service
reading the registry in php code
$description = $row[$description_field]);
exec(echo '$description' /tmp/ttt.txt);
On Fri, April 20, 2007 12:19 pm, enediel gonzalez wrote:
Hello.
I have a php site connected to one database mysql.
using phpmyadmin I can read that in one register of the database
exists the
string
Vérifie que le service
reading the registry in php code
$description =
On 3/28/07, Timothy Murphy [EMAIL PROTECTED] wrote:
I've been trying to use PHP/XSLT on my desktop,
running Fedora-6 Linux (with all current updates).
The function importStyleSheet() seems to cause
a Segmentation Violation, as eg in the following script from
2007. 03. 21, szerda keltezéssel 00.04-kor Richard Lynch ezt írta:
On Tue, March 20, 2007 11:08 am, Ford, Mike wrote:
what do you want with that '@' here?
that operator can be used to suppress error messages when calling
functions but not when using a variable
This is most definitely way
2007. 03. 20, kedd keltezéssel 15.09-kor Pavel Kaznarskiy ezt írta:
Hello !
I have problem with access in mysql
it is my code:
html
headtitleSQL Query Sender/title/head
body
?php
$host=;
$user=;
$password=;
/* Section that executes query */
if(@$_GET['form'] == yes)
what do you want
On 3/20/07, Pavel Kaznarskiy [EMAIL PROTECTED] wrote:
Hello !
I have problem with access in mysql
it is my code:
html
headtitleSQL Query Sender/title/head
body
?php
$host=;
$user=;
$password=;
/* Section that executes query */
if(@$_GET['form'] == yes)
{
mysql_connect($host,$user,$password);
Warning: mysql_select_db(): Access denied for user
'ODBC'@'localhost' (using password: NO) in
z:\home\localhost\www\2.php on line 12
Warning: mysql_select_db(): A link to the server could not
be established in z:\home\localhost\www\2.php on line 12
Warning: mysql_query(): Access
Németh Zoltán wrote:
2007. 03. 20, kedd keltezéssel 15.09-kor Pavel Kaznarskiy ezt írta:
Hello !
...
what do you want with that '@' here?
that operator can be used to suppress error messages when calling
functions but not when using a variable
not true - although it's a lazy/bad* way
On 20 March 2007 13:26, Németh Zoltán wrote:
2007. 03. 20, kedd keltezéssel 15.09-kor Pavel Kaznarskiy ezt írta:
Hello !
I have problem with access in mysql
it is my code:
html
headtitleSQL Query Sender/title/head
body
?php
$host=;
$user=;
$password=;
/* Section that
2007. 03. 20, kedd keltezéssel 16.08-kor Ford, Mike ezt írta:
On 20 March 2007 13:26, Németh Zoltán wrote:
2007. 03. 20, kedd keltezéssel 15.09-kor Pavel Kaznarskiy ezt írta:
Hello !
I have problem with access in mysql
it is my code:
html
headtitleSQL Query
On Tue, March 20, 2007 11:08 am, Ford, Mike wrote:
what do you want with that '@' here?
that operator can be used to suppress error messages when calling
functions but not when using a variable
This is most definitely way wrong.
What complete tosh! @ is a unary operator, so can be applied
On 3/8/07, Fabio Silva [EMAIL PROTECTED] wrote:
Hi all, i have a problem with this script... could anybody help me??
What is your problem? you are only posting your code here and whe have to
find the error?
What error comes up?
Tijnema
Regards,
titlePassword change/title/head
body
Fabio Silva wrote:
Hi all, i have a problem with this script... could anybody help me??
Regards,
titlePassword change/title/head
body bgcolor=#ff
?php
//Written by Dave Edick on 6/22/99
// customize these variables for your install
$base_dn=ou=People;
$ldap_server=localhost;
Bc. Radek Krejca wrote:
Hello,
JM grep -l mail( *.php
I of course tried this before but I have hundereds domains and a lot
of files where clients using function mail.
that sucks then doesn't it ... there is no better way, unless you search out the
patch someone wrote (which may be part
On Monday 05 March 2007 12:15, Bc. Radek Krejca wrote:
Hi,
I have problem with spam over function mail. My clients have badly
written functions and I cannot find where. Is there in php simple
way to detect which script generate mail? I mean like header (in
case of returning mail) or
Hi,
I have problem with spam over function mail. My clients have badly
written functions and I cannot find where. Is there in php simple
way to detect which script generate mail? I mean like header (in
case of returning mail) or log every using mail function etc.
grep -l mail(
George Pitcher wrote:
Hi,
I have a web page that only I see, and I want to link to a PDF file on a
mapped drive so that it will open in Acrobat.
I have tried variations on the following:
$storelink = a href=\file://G:\\.$filename..pdf\
target=\_blank\PDF/a;
and the link keeps coming
Jochem,
I have tried variations on the following:
$storelink = a href=\file://G:\\.$filename..pdf\
target=\_blank\PDF/a;
and the link keeps coming out as:
file:///G:/575991.pdf
is that what the browser (let me guess: IE) is interpreting
the link as or is that what is literally
George Pitcher wrote:
Jochem,
I have tried variations on the following:
$storelink = a href=\file://G:\\.$filename..pdf\
target=\_blank\PDF/a;
and the link keeps coming out as:
file:///G:/575991.pdf
is that what the browser (let me guess: IE) is interpreting
the link as or is that
Jochem,
This is what
the browser (guessed wrong - I'm using Firefox) shows in the status bar.
ok, right - so what does the html source actually contain?
a href=file://G:\588012.pdf target=_blankPDF/a
I'm assuming that the way firefox is interpreting the link makes
it not work?
does the
George Pitcher wrote:
Jochem,
This is what
the browser (guessed wrong - I'm using Firefox) shows in the status bar.
ok, right - so what does the html source actually contain?
a href=file://G:\588012.pdf target=_blankPDF/a
so what happens when you make it like so:
a
Jochem,
This is what
the browser (guessed wrong - I'm using Firefox) shows in the
status bar.
ok, right - so what does the html source actually contain?
a href=file://G:\588012.pdf target=_blankPDF/a
so what happens when you make it like so:
a href=file:///G:/588012.pdf
There's nothing wrong with this. It's standard. I believe the logic of
this is that the first two forward slashes represent the standard
protocol indicator: http://, ftp://, file://, while the final forward
slash represents a directory off the root directory, as a carry over
from unix
/tmp,
Is it possible that you have an OLD pgsql.so file on your box that a
cold Apache start finds, but an Apache restart does not fine?...
On Wed, February 28, 2007 4:34 pm, Marc Burgauer wrote:
I found various links via Google mentioning the problem of ordering
the extension in the ini file. In
Marc Burgauer wrote:
I found various links via Google mentioning the problem of ordering the
extension in the ini file. In my case this hasn't produced quite the
result. I haven't found an order that works for me.
Here the problem:
Freebsd 6
apache 1.3.34
PHP 5.2.1
I am using the ports
2007. 02. 15, csütörtök keltezéssel 18.41-kor Ashish Rizal ezt írta:
Hey Jim,
Thanks for the quick response. I have actually made the whole
code on same page (login.php) and the functions that i used in
this code are in functions.php. Now this time it is showing the
warning :
Warning: Cannot
301 - 400 of 1893 matches
Mail list logo