php-general Digest 14 Aug 2008 11:33:31 - Issue 5623
Topics (messages 278055 through 278067):
Re: regex
278055 by: Philip Thompson
278056 by: Micah Gersten
278057 by: Shawn McKenzie
278058 by: Boyd, Todd M.
278059 by: Philip Thompson
278060
php-general Digest 14 Aug 2008 23:57:30 - Issue 5624
Topics (messages 278068 through 278104):
Tool Tip in pdf
278068 by: Subhranil
278074 by: Micah Gersten
Re: On one of my computers, php can't see an external javascriptI included
278069 by: Boyd, Todd M.
googling1000 wrote:
I have apache and php on Windows.
I have 3 computers. A php file is calling an external .js file.
Two of my computers have no problem calling a .js file, there's only
one machine that doesn't execute functions inside of the .js file.
My .php file has the following
Hi,
Thanks already for replying.
How do you check for that???
And, what do you have to do to force Apache to load it???
Per Jessen wrote:
googling1000 wrote:
I have apache and php on Windows.
I have 3 computers. A php file is calling an external .js file.
Two of my computers have no
googling1000 wrote:
Hi,
Thanks already for replying.
How do you check for that???
And, what do you have to do to force Apache to load it???
You're on Windows, right? Sorry, I don't know anything about Windows.
/Per Jessen, Zürich
--
PHP General Mailing List (http://www.php.net/)
googling1000 schrieb:
I have apache and php on Windows.
I have 3 computers. A php file is calling an external .js file.
Two of my computers have no problem calling a .js file, there's only one
machine that doesn't execute functions inside of the .js file.
My .php file has the following line in
Hi list,
I have a PHP problem on Ubuntu 8.04, the php-gd package for ubuntu
doesn't use the gd bundles library for security reasons if I understood
this correctly. I solved it by downloading a php-gd fedora rpm and
converting it to .deb with alien. it works for the apache websites but
not for
Hi all,
I am creating a pdf where text size of cell is not fixed.
My problem is if one text is too long than that cell then it overlap the
next cell.
I wish to show the part of the text which are loneger than cell size and put
a tool tip on that cell which show the complete text.
Is it
-Original Message-
From: Carlos Medina [mailto:[EMAIL PROTECTED]
Sent: Thursday, August 14, 2008 2:06 AM
To: php-general@lists.php.net
Subject: Re: [PHP] On one of my computers, php can't see an external
javascriptI included
googling1000 schrieb:
I have apache and php on
[snip]
googling1000 schrieb:
I have apache and php on Windows.
I have 3 computers. A php file is calling an external .js file.
Two of my computers have no problem calling a .js file, there's only
one
machine that doesn't execute functions inside of the .js file.
My .php file has the
Here is my problem in mssql in asp i can
SELECT (height + 'x' + width) as size FROM Twenty
How can i do that for mysql under php?
I am trying to create a single array result using 2 different fields of data
plus extra characters.
--
PHP General Mailing List (http://www.php.net/)
To
Never mind I was looking at php and it was a Mysql thing
SELECT CONCAT('My', 'S', 'QL');
will do exactly what i want
Here is my problem in mssql in asp i can
SELECT (height + 'x' + width) as size FROM Twenty
How can i do that for mysql under php?
I am trying to create a single array
Edit:
I don't think Javascript is disabled on my computer.
When I tried posting the code online, I see that my js functions are
executed just fine on this one particular machine.
--
View this message in context:
Why not wrap the text?
Thank you,
Micah Gersten
onShore Networks
Internal Developer
http://www.onshore.com
Subhranil wrote:
Hi all,
I am creating a pdf where text size of cell is not fixed.
My problem is if one text is too long than that cell then it overlap the
next cell.
I wish to
Make sure that your php.ini file for the cli is loading gd.
Thank you,
Micah Gersten
onShore Networks
Internal Developer
http://www.onshore.com
Chantal Rosmuller wrote:
Hi list,
I have a PHP problem on Ubuntu 8.04, the php-gd package for ubuntu
doesn't use the gd bundles library for
Hi,
What do you think is the best php editor for linux.
I'm using the Debian distribution.
Thanks
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On Thu, Aug 14, 2008 at 1:05 PM, It flance [EMAIL PROTECTED] wrote:
Hi,
What do you think is the best php editor for linux.
I'm using the Debian distribution.
Thanks
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
You should
I use Eclipse with PHPEclipse. I think you have to install from source
to get PHPEclipse to work right.
Thank you,
Micah Gersten
onShore Networks
Internal Developer
http://www.onshore.com
It flance wrote:
Hi,
What do you think is the best php editor for linux.
I'm using the Debian
On Thu, Aug 14, 2008 at 1:05 PM, It flance [EMAIL PROTECTED] wrote:
Hi,
What do you think is the best php editor for linux.
I'm using the Debian distribution.
Thanks
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Eclipse with
Hi,
I'm working with floats because I have a big number to identify users, and the
only operation I make with this number is to add something less than
100 with 100 (one and ten zeros). Besides that I just need to
use the number to search (= comparison). I never need the
Eric Butera wrote:
Eclipse with PDT.
http://www.zend.com/en/community/pdt#all
As much as I hate +1 emails, this is a good options... Good subversion
integration too if that floats your boat.
Col
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit:
I think this should be a simple question and answer, but after looking
through the manual and goggling I have yet to find an answer.
Question: Using PHP, how would I go about opening a file in a window, table
or div?
Example: I have a file called 123.xls. When a condition is met, I want PHP
to
On Thu, Aug 14, 2008 at 1:36 PM, Colin Guthrie [EMAIL PROTECTED] wrote:
As much as I hate +1 emails, this is a good options... Good subversion
integration too if that floats your boat.
Col
+1 for subclipse! ;D
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit:
Dan Shirah wrote:
I think this should be a simple question and answer, but after looking
through the manual and goggling I have yet to find an answer.
Question: Using PHP, how would I go about opening a file in a window, table
or div?
Example: I have a file called 123.xls. When a condition is
Who needs PHP... :)
The following will open a new browser window and load the href in it.
a href=http://examples.com/123.xls; target=_blankOpen It!!!/a
If that isn't what you are looking for, please give a little more details.
You're killin' me, Jim! :)
I need to open the file from the
On 14 Aug 2008, at 21:06, Dan Shirah wrote:
Who needs PHP... :)
The following will open a new browser window and load the href in
it.
a href=http://examples.com/123.xls; target=_blankOpen It!!!/a
If that isn't what you are looking for, please give a little more
details.
You're
You need to know the mime type for the file you're serving. Call
header('Content-Type: x/y'); where x/y is the mime type. Then call
readfile('/path/to/file/on/server'); to output the file to the browser.
-Stut
Stut, trying that method gives me the following: PHP Warning: readfile(
Hello,
I've got a website here: http://beta.menashalibrary.org/about
On every page, i've got a search box at the top. This search box
searches the library's web catalog. The problem is, when someone
searches, it takes them away from the site. What I'd like to do is
take what a person
On Thu, Aug 14, 2008 at 4:34 PM, Jody Cleveland [EMAIL PROTECTED]wrote:
Hello,
I've got a website here: http://beta.menashalibrary.org/about
On every page, i've got a search box at the top. This search box searches
the library's web catalog. The problem is, when someone searches, it takes
Hello,
I've got a website here: http://beta.menashalibrary.org/about
On every page, i've got a search box at the top. This search box searches
the library's web catalog. The problem is, when someone searches, it
takes
them away from the site. What I'd like to do is take what a
On 14 Aug 2008, at 21:29, Dan Shirah wrote:
You need to know the mime type for the file you're serving. Call
header('Content-Type: x/y'); where x/y is the mime type. Then call
readfile('/path/to/file/on/server'); to output the file to the
browser.
-Stut
Stut, trying that method gives me
On 14 Aug 2008, at 21:34, Jody Cleveland wrote:
I've got a website here: http://beta.menashalibrary.org/about
On every page, i've got a search box at the top. This search box
searches the library's web catalog. The problem is, when someone
searches, it takes them away from the site. What
-Original Message-
From: Micah Gersten [mailto:[EMAIL PROTECTED]
Sent: Thursday, August 14, 2008 12:20 PM
To: [EMAIL PROTECTED]
Cc: php-general@lists.php.net
Subject: Re: [PHP] PHP editor for linux
I use Eclipse with PHPEclipse. I think you have to install from
source
to get
That simply means it can't open the file. Make sure the machine this is
running on has everything it needs to access that UNC filename.
-Stut
Stut,
If I copy the link from the error message and paste it into a browser
running from my PHP server, the file comes up just fine.
Should I try
On Thu, Aug 14, 2008 at 2:54 PM, Boyd, Todd M. [EMAIL PROTECTED] wrote:
-Original Message-
From: Micah Gersten [mailto:[EMAIL PROTECTED]
Sent: Thursday, August 14, 2008 12:20 PM
To: [EMAIL PROTECTED]
Cc: php-general@lists.php.net
Subject: Re: [PHP] PHP editor for linux
I
On Thu, Aug 14, 2008 at 3:43 PM, Dan Shirah [EMAIL PROTECTED] wrote:
Hello,
I've got a website here: http://beta.menashalibrary.org/about
On every page, i've got a search box at the top. This search box
searches
the library's web catalog. The problem is, when someone searches, it
On 14 Aug 2008, at 21:57, Dan Shirah wrote:
That simply means it can't open the file. Make sure the machine this
is running on has everything it needs to access that UNC filename.
-Stut
Stut,
If I copy the link from the error message and paste it into a
browser running from my PHP
From: Nathan Nobbe [mailto:[EMAIL PROTECTED]
Sent: Thursday, August 14, 2008 4:00 PM
To: Boyd, Todd M.
Cc: php-general@lists.php.net
Subject: Re: [PHP] PHP editor for linux
On Thu, Aug 14, 2008 at 2:54 PM, Boyd, Todd M. [EMAIL PROTECTED] wrote:
-Original Message-
From: Micah Gersten
-Original Message-
From: Stut [mailto:[EMAIL PROTECTED]
Sent: Thursday, August 14, 2008 4:21 PM
To: Dan Shirah
Cc: PHP-General List
Subject: Re: [PHP] Displaying files
On 14 Aug 2008, at 21:57, Dan Shirah wrote:
That simply means it can't open the file. Make sure the machine
On 14 Aug 2008, at 22:24, Boyd, Todd M. wrote:
-Original Message-
From: Stut [mailto:[EMAIL PROTECTED]
Sent: Thursday, August 14, 2008 4:21 PM
To: Dan Shirah
Cc: PHP-General List
Subject: Re: [PHP] Displaying files
On 14 Aug 2008, at 21:57, Dan Shirah wrote:
That simply means it can't
-Original Message-
From: Stut [mailto:[EMAIL PROTECTED]
Sent: Thursday, August 14, 2008 4:34 PM
To: Boyd, Todd M.
Cc: php-general@lists.php.net
Subject: Re: [PHP] Displaying files
On 14 Aug 2008, at 22:24, Boyd, Todd M. wrote:
-Original Message-
From: Stut
Hi guys...
Got a question that I figured I'd ask before I reinvent the wheel.
A basic website has a form, or multiple forms. within the form, there might
be multiple elements (lists/select statements, etc...). each item would have
a varname, which would in turn be used as part of the form
On Thu, Aug 14, 2008 at 4:59 PM, Nathan Nobbe [EMAIL PROTECTED] wrote:
i used to use php-eclipse + subclipse all the time; i never had to 'install
from source' or had issues installing subclipse on top of php-eclipse...
just my 2c,
vim + cli + protoeditor(as needed)
-nathan
What sort of
On Thu, 2008-08-14 at 15:47 -0700, bruce wrote:
Hi guys...
Got a question that I figured I'd ask before I reinvent the wheel.
A basic website has a form, or multiple forms. within the form, there might
be multiple elements (lists/select statements, etc...). each item would have
a
rob,
i'm fully aware of the issues, and for the targeted sites that i'm focusing
on, i can employ strategies to prune the tree... but the overall issue is
that i'm looking for a tool/app/process that does what i've described.
the basic logic is that the app needs to use a config file, and that
At 7:57 PM -0400 8/14/08, Robert Cummings wrote:
On Thu, 2008-08-14 at 15:47 -0700, bruce wrote:
-snip- That's 100 billion bytes AKA 100 metric
gigabytes... remember that was just 1 form.
Cheers,
Rob.
Killjoy. :-)
He could have had a lot of fun figuring that out.
tedd
--
---
At 4:06 PM -0500 8/14/08, george wrote:
Thank you for taking the time to help me with this, I really appreciate it!
- jody
Make it easy on yourself and try this:
http://sperling.com/examples/search/
Cheers,
tedd
--
---
http://sperling.com http://ancientstones.com
bruce wrote:
rob,
i'm fully aware of the issues, and for the targeted sites that i'm focusing
on, i can employ strategies to prune the tree... but the overall issue is
that i'm looking for a tool/app/process that does what i've described.
the basic logic is that the app needs to use a config
On Thu, 2008-08-14 at 21:39 -0400, tedd wrote:
At 7:57 PM -0400 8/14/08, Robert Cummings wrote:
On Thu, 2008-08-14 at 15:47 -0700, bruce wrote:
-snip- That's 100 billion bytes AKA 100 metric
gigabytes... remember that was just 1 form.
Cheers,
Rob.
Killjoy. :-)
He could have had a
Hi,
Let's say I have the following array:
$myArray = array(array('1','2','3'), array('4','5','6'), array('7','8','9'),
array('10','11','12'));
How do I remove say the second element?
I have tried: $myArray = array_splice($myArray, 1, 1);
But this seems to remove the second element as well as
Can't you unset() it? Sorry for top posting I'm on an iPhone
On Aug 14, 2008, at 7:30 PM, Don [EMAIL PROTECTED] wrote:
Hi,
Let's say I have the following array:
$myArray = array(array('1','2','3'), array('4','5','6'),
array('7','8','9'),
array('10','11','12'));
How do I remove say the
Won't unset() destroy the entire array?
mike [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Can't you unset() it? Sorry for top posting I'm on an iPhone
On Aug 14, 2008, at 7:30 PM, Don [EMAIL PROTECTED] wrote:
Hi,
Let's say I have the following array:
$myArray =
Not on the specific sub element. I.e unset($array[2][0])
On Aug 14, 2008, at 8:08 PM, Don [EMAIL PROTECTED] wrote:
Won't unset() destroy the entire array?
mike [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Can't you unset() it? Sorry for top posting I'm on an iPhone
On Aug 14,
Yup, thanks.
Also execute:
$array = array_values(array)
in order to fix the indexes
- Original Message -
From: mike [EMAIL PROTECTED]
To: Don [EMAIL PROTECTED]
Cc: php-general@lists.php.net
Sent: Thursday, August 14, 2008 11:16 PM
Subject: Re: [PHP] Removing an element from the
On Thu, 2008-08-14 at 10:05 -0700, It flance wrote:
Hi,
What do you think is the best php editor for linux.
I'm using the Debian distribution.
Thanks
I use geany and Quantum
--
Michael S. Dunsavage
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe,
googling1000 wrote:
Edit:
I don't think Javascript is disabled on my computer.
When I tried posting the code online, I see that my js functions are
executed just fine on this one particular machine.
Hit the file directly in your browser:
http://example.com/path/to/javascript.js
what do you
On Thu, 14 Aug 2008 23:46:05 -0400, Michael S. Dunsavage wrote:
I use geany and Quantum
+2 for geany (SWMBO uses it too). It's a good general-purpose text
editor and simplified IDE. Build it from SVN, as it has been moving
fairly quickly and distro packages often haven't kept up.
--
Ross McKay,
Boyd, Todd M. wrote:
i used to use php-eclipse + subclipse all the time; i never had to 'install
from source' or had issues installing subclipse on top of php-eclipse...
---
Ahh... but you're in Linux. I was referring to the Windows distribution of
Eclipse. It's Java, so I guess it wouldn't
58 matches
Mail list logo