Marc Fromm wrote:
> I think I fixed it. The error said that the file script.js, line 4 of the
> code, could not be found:
> 4 http://path/to/the/file/script.js";)?>
>
> I changed the line to this and it now works:
>
>
> I wonder why on the old server it could find the file based on the full url
On Fri, Oct 24, 2008 at 6:50 PM, Marc Fromm <[EMAIL PROTECTED]> wrote:
> I think I fixed it. The error said that the file script.js, line 4 of the
> code, could not be found:
> 4 http://path/to/the/file/script.js";)?>
>
> I changed the line to this and it now works:
>
>
> I wonder why on the old
I think I fixed it. The error said that the file script.js, line 4 of the code,
could not be found:
4 http://path/to/the/file/script.js";)?>
I changed the line to this and it now works:
I wonder why on the old server it could find the file based on the full url
while the new server cannot find
would be very helpfull if you would post the code.
---
http://ainab.com | http://somaliyrics.net
Original Message
Subject: [PHP] moved code to a new server
From: "Daniel P. Brown" <[EMAIL PROTECTED]>
Date: Fri, October 24, 2008 3:25 pm
To: "php php" , "Marc Fromm"
<[EM
Forwarded to General, since this doesn't belong on DB.
On Fri, Oct 24, 2008 at 6:18 PM, Marc Fromm <[EMAIL PROTECTED]> wrote:
> We moved our website to a new linux server. The code was running on a
> different linux server. Thus the OS environment is the same.
> We are receiving this error:
>
>
> from memory.
>>
>> $var='';
>> while($row = mysql_fetch_array($charge_result2))
>> {
>> $var .= $row['id'] . ',';
>> }
>>
>> cheers,
>>
>> tedd
>
>
Thanks all!
It works and here is the code I used:
$get_charges2 = "SELECT FIRST 16 * FROM history WHERE id = '$id";
$charge_result2 = ifx
At 10:52 AM -0400 10/24/08, Dan Shirah wrote:
TGIF?
Apparently my brain isn't working this Friday.
I'm trying to query my table to get the first 16 ID's. I then want
to assign the ID's to a variable and have them comma seperated.
// My query to select the first 16 rows
$get_charges2 = "SELECT
> -Original Message-
> From: Boyd, Todd M. [mailto:[EMAIL PROTECTED]
> Sent: Friday, October 24, 2008 11:28 AM
> To: php-general@lists.php.net
> Subject: RE: [PHP] Building an array, kind of?
>
> > -Original Message-
> > From: Dan Shirah [mailto:[EMAIL PROTECTED]
> > Sent: Friday,
> -Original Message-
> From: Dan Shirah [mailto:[EMAIL PROTECTED]
> Sent: Friday, October 24, 2008 9:52 AM
> To: PHP LIST
> Subject: [PHP] Building an array, kind of?
>
> TGIF?
>
> Apparently my brain isn't working this Friday.
>
> I'm trying to query my table to get the first 16 ID's.
steve schreef:
> Run APC on the main site. Create a separate instance of apache running
> on another port and have it use the ZendOptimizer, and have the admin
> stuff there.
>
I did one better .. I got the go ahead to just remove ZendOptimizer :-)
it's better in that it's less work for me ;-)
Are you sure LIKE isn't working? I would think LIKE "a%" would work. For
0-9, I would think you can use <= 9 or you can use BETWEEN 0 and 9.
Silly me, the reason it was not working was I am so used to %something% and
used that instead of
something%
Anyway, it was a not a useless post for me
Andrew Barnett wrote:
> You might actually be onto something there Afan.
>
> As long as Ghostscript and Imagemagick are installed on the server, you will
> be able to convert a PDF to an image. So maybe that will help.
>
> Although, is it possible to have a continuous length PDF, or does it only
On Fri, Oct 24, 2008 at 11:08 AM, Robert Cummings <[EMAIL PROTECTED]> wrote:
> On Fri, 2008-10-24 at 10:49 -0400, Andrew Ballard wrote:
>> On Fri, Oct 24, 2008 at 10:22 AM, Robert Cummings <[EMAIL PROTECTED]> wrote:
>> >> As for the numeric comparison, I know MySQL has a REGEXP comparison
>> >> sim
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
2008/10/24 Dan Shirah <[EMAIL PROTECTED]>:
> How would I go about putting that in a variable to equal
> "1234,1235,1236,1237,1238,1239" ?
>
Pseudocode:
$t = array();
foreach($resultset as $row)
$t[] = $row;
$t = join(',',$t);
--
http://www.otton.org/
--
PHP General Mailing List (http:
On Fri, 2008-10-24 at 10:49 -0400, Andrew Ballard wrote:
> On Fri, Oct 24, 2008 at 10:22 AM, Robert Cummings <[EMAIL PROTECTED]> wrote:
> >> As for the numeric comparison, I know MySQL has a REGEXP comparison
> >> similar to the LIKE comparator, but I don't know enough about MySQL to
> >> know if i
TGIF?
Apparently my brain isn't working this Friday.
I'm trying to query my table to get the first 16 ID's. I then want
to assign the ID's to a variable and have them comma seperated.
// My query to select the first 16 rows
$get_charges2 = "SELECT FIRST 16 * FROM history WHERE id = '$id";
// E
On Fri, Oct 24, 2008 at 10:22 AM, Robert Cummings <[EMAIL PROTECTED]> wrote:
>> As for the numeric comparison, I know MySQL has a REGEXP comparison
>> similar to the LIKE comparator, but I don't know enough about MySQL to
>> know if it can similarly benefit from indexes the same way. (SQL
>> Server
On Fri, 2008-10-24 at 10:20 -0400, Andrew Ballard wrote:
> On Thu, Oct 23, 2008 at 10:49 PM, Robert Cummings <[EMAIL PROTECTED]> wrote:
> > On Thu, 2008-10-23 at 19:30 -0700, Ryan S wrote:
> >> Hey all,
> >> Was wondering how this is done, have a bunch of links like so:
> >> 0-9 : a : b : c ->
On Thu, Oct 23, 2008 at 10:49 PM, Robert Cummings <[EMAIL PROTECTED]> wrote:
> On Thu, 2008-10-23 at 19:30 -0700, Ryan S wrote:
>> Hey all,
>> Was wondering how this is done, have a bunch of links like so:
>> 0-9 : a : b : c -> till Z
>>
>> these will be linked to the program (so far have done
>The difference between the examples are still nothing, it do the same.
>But I never use the short version of if, because when I look after some month
>in some projects I have a better overview when there is a long if , its much
>easier to extend.
As explained a couple of times already - there i
Robert Cummings wrote:
On Fri, 2008-10-24 at 00:18 -0400, Rob Gould wrote:
Question about mySQL and PHP, when using the mySQL ORDER BY method...
Basically I've got data coming from the database where a "wine
producer-name" is a word like:
Château Bahans Haut-Brion
or
> The other options is using something like www.browsershots.org (as far
> as I remember thats their URL) and pay them to get the first places on
> their queues.
Wow, That's really a very handy tool.
--
Richard Heyes
HTML5 Graphing for FF, Chrome, Opera and Safari:
http://www.rgraph.org
--
PH
23 matches
Mail list logo