Beauford wrote:
Since I know nothing of how this works, does this actually create a physical
image, and if it does I'm assuming it would be in the originating directory
from where the script was run - if this is the case, I got nothing.
This is a moot point now as I have done what I need withou
Since I know nothing of how this works, does this actually create a physical
image, and if it does I'm assuming it would be in the originating directory
from where the script was run - if this is the case, I got nothing.
This is a moot point now as I have done what I need without using gd, but it
On Wed, June 21, 2006 1:06 pm, Beauford wrote:
> This is the output from . As far as I can
> tell,
> jpeg support is enabled. It also says it is if I run phpinfo(). Yet is
> still
> doesn't work.
>
> Anyone know of a way I can test this further. A small script perhaps.
--
Like Music?
http://l-i
On Thu, June 22, 2006 9:48 pm, weetat wrote:
> I have tried the connection_aborted() in my code , however it not
> working at all , below is my code:
>
> If i close the browser window(IE) , the script still running and call
> the difference() function as shown below:
> Any ideas what is happening
On Thu, June 22, 2006 7:23 pm, tedd wrote:
> At 6:26 PM -0500 6/22/06, Richard Lynch wrote:
>>On Thu, June 22, 2006 6:10 am, Ryan A wrote:
>>> He just needs maybe 5 template
>>> pages, same pages, different color.
>>
>>For something THIS simple, I truly believe you are Better Off (tm)
>>with a simp
Hi Andrei,
I have tried the connection_aborted() in my code , however it not
working at all , below is my code:
If i close the browser window(IE) , the script still running and call
the difference() function as shown below:
Any ideas what is happening ? Thanks
ignore_user_abort(true);
$opt
On Tue, June 20, 2006 2:38 am, Satyam wrote:
> I come from languages
> where
> you not only have to initialize a variable but have to declare it as
> well so
> initializing comes natural, I feel wrong if I don't do it, even if the
> interpreter does not care.
Just to be pedantic...
The interprete
Hi all,
I need to parse and write data to xml file ,
There some value as shown below:
I need to write the data to be valid value.
I am using PEAR:XMLSerializer to read the xml file, however , the PEAR
XMLSerializer always prompt me the error message below:
" No unserialized data available
Damn.
Tack on this at the end:
$max_port = 2048;
for ($p = $last_port + 1; $p < $max_port; $p++) echo "$p is open\n";
On Tue, June 20, 2006 1:37 am, Rob W. wrote:
> I still have not yet found anybody to help me with this. All the code
> that
> people have given me has not worked at all. I sti
On Tue, June 20, 2006 1:37 am, Rob W. wrote:
> I still have not yet found anybody to help me with this. All the code
> that
> people have given me has not worked at all. I still get no output. So
> to add
> a little more to this, I'm gonna define how the database looks.
>
>
On Tue, June 20, 2006 6:43 am, suresh kumar wrote:
> I am facing one problem in my project.i want to restrict more
> than one user login in the same account .Is there any functions
> available to check r we can implement using session.
You'll have to decide for yourself when a user is or isn'
On Tue, June 20, 2006 4:02 pm, Don wrote:
> I have a varchar field in a MySQL database that contains a line of
> text like
> so:
>
> "This is a line if text"
>
> The double quotes are included in the database field.
>
> I cannot seem to display it on my HTML page, it always shows as blank.
> I
> h
On Tue, June 20, 2006 12:53 pm, Ben Liu wrote:
> I'm not sure this is strictly a PHP related question or perhaps a
> server admin question as well. What do you do when you are trying to
> shutdown a web application for maintenance (like a membership or
> registration-required system)? I understand
At 6:26 PM -0500 6/22/06, Richard Lynch wrote:
>On Thu, June 22, 2006 6:10 am, Ryan A wrote:
>> He just needs maybe 5 template
>> pages, same pages, different color.
>
>For something THIS simple, I truly believe you are Better Off (tm)
>with a simple head() and foot() function in a globals.inc file
[snip]
did the execute actually succeed? does the data get into the DB if you
use OCI_COMMIT_ON_SUCCESS instead of OCI_DEFAULT?
I don't support using oci_internal_debug() gives you any extra info?
[/snip]
I finally did an oci_bind_by_name and then performed the commit. It
worked. Oci_internal_de
On 6/20/06, Jon Anderson <[EMAIL PROTECTED]> wrote:
Assuming you're using a web server that supports htaccess files, you
could easily just pop in a .htaccess file that denies access to
everything. You could even add a PHP ini directive like:
php_value auto_prepend_file "maintenance.php"
where m
On Tue, June 20, 2006 4:56 pm, Jonas Rosling wrote:
> I've done the following code bellow for an e-mail form. But it handles
> the
> HTML tags as text. Is there anyway to get the HTML tags processed to
> form
> the mail?
>
>
> @extract($_POST);
Errr.
You might as well just turn register_glob
On Tue, June 20, 2006 7:32 pm, Michael Satterwhite wrote:
> I have a site that generates a file to be streamed down. The relevant
> code is:
> --
> header("Content-type: application/vnd.ms-excel");
> header("Content-disposition: attachment; fi
On Thu, June 22, 2006 4:16 am, weetat wrote:
>Can we detected if user have clicked the "X" button in browser or
> close browser ?
>I have tested in my php program ,when i click "X" in IE6 , the
> execution did not stop , it still running .
> Any ways to stop the program execution when use
On Thu, June 22, 2006 6:10 am, Ryan A wrote:
> He just needs maybe 5 template
> pages, same pages, different color.
For something THIS simple, I truly believe you are Better Off (tm)
with a simple head() and foot() function in a globals.inc file:
function head($title = "My Site", $bgcolor = '#fff
Jay Blanchard wrote:
> Good afternoon and salutations denizens of the greatest list generated
> by electrons!
>
> I have a situation where I am trying to commit a transaction in Oracle
> with PHP as follows;
>
> $udGeocode = oci_parse($conn, "UPDATE CONT_ADDRESS SET GEOCODE =
> '".$geocode[0]."'
fiberuplink.com -> unavailable.. looks like rob's ddos attack worked on
his own server, must be his testing before turning in his paper...
Wolf
Adam Zey wrote:
> Rob W. wrote:
>> No that wasnt a ddos threat you idiot, i dont play them games.
>>
>> And when you keep sending spam is when it starts
Dan McCullough wrote:
I'm having some problems where some undefined entity are getting in,
these entities are usually html entities.
sad thing is"¦bringing in these large chains is putting
the xml doc points to the & in ";¦" as the problem. what do I
need to do to get this stuff cleaned up?
Dave M G wrote:
Jochem, Tul, Nicolas,
Thank you for your help.
I must be doing something wrong with how my array is generated. It's
actually just a MySQL result, but because it is returned from a
function, it does not seem to behave as I would expect a MySQL result
should.
I'm trying the f
Good afternoon and salutations denizens of the greatest list generated
by electrons!
I have a situation where I am trying to commit a transaction in Oracle
with PHP as follows;
$udGeocode = oci_parse($conn, "UPDATE CONT_ADDRESS SET GEOCODE =
'".$geocode[0]."' WHERE CONTRACT_ID = '".$row[0]."' AND
I'm having some problems where some undefined entity are getting in,
these entities are usually html entities.
sad thing is"¦bringing in these large chains is putting
the xml doc points to the & in ";¦" as the problem. what do I
need to do to get this stuff cleaned up?
--
PHP General Mailing L
Jochem, Tul, Nicolas,
Thank you for your help.
I must be doing something wrong with how my array is generated. It's
actually just a MySQL result, but because it is returned from a
function, it does not seem to behave as I would expect a MySQL result
should.
I'm trying the foreach function a
Dave M G wrote:
> PHP List,
>
> Very frequently I use mysql_fetch_row in a while statement to
>
> while($variable = mysql_fetch_row($mysqlResult)){
> echo $variable[text1];
> echo $variable[text2];
another thing. $variable[text2] is bad because you very likely don't
have a constant in your code
the foreach loop is probably better (it doesn't require
reset()ing the array pointer for instance) but you should also
look at the example on this page (using the current() function in a
while loop):
http://php.net/key
Dave M G wrote:
> PHP List,
>
> Very frequently I use mysql_fetch_ro
Dave M G wrote:
PHP List,
Very frequently I use mysql_fetch_row in a while statement to
while($variable = mysql_fetch_row($mysqlResult)){
echo $variable[text1];
echo $variable[text2];
}
Pretty standard.
But what do I do when I want to do the same kind of while loop not with
a MySQL result, b
Dave M G a écrit :
PHP List,
Pretty standard.
But what do I do when I want to do the same kind of while loop not
with a MySQL result, but with just a regular array?
while (variable = ($array)){
echo $variable[text1];
echo $variable[text2];
}
did you try something like this ?
foreach ($
PHP List,
Very frequently I use mysql_fetch_row in a while statement to
while($variable = mysql_fetch_row($mysqlResult)){
echo $variable[text1];
echo $variable[text2];
}
Pretty standard.
But what do I do when I want to do the same kind of while loop not with
a MySQL result, but with just a re
> I am busy working on a form using QuickForm.
> I would like to make use of a confirmation page
> where the user must eitheir select to change the
> details or continue. Does anyone know how to
> achieve this?
On POST, you could redisplay the form in a "Frozen"
state. If the form is frozen,
Miles Thompson wrote:
Don't forget, PHP itself is a templating language. Just do a standard
page, with includes for headers and footers, menus, and content.
If he wants to change colour, then load a different stylesheet for a
given page or content section.
This way he can use the tool that's rig
Good day
I am busy working on a form using QuickForm.
I would like to make use of a confirmation page where the user must
eitheir select to change the details or continue. Does anyone know how
to achieve this?
Regards
Robert
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, vi
IMHO I would go with Smarty as it has excellent documentation and
would fit almost anything that the project would require. I also
think it would be a cleaner way of templating than using str_replace
() over and over again. For what it's worth, I use Smarty on almost
all of my projects, larg
On 22/06/06, Miles Thompson <[EMAIL PROTECTED]> wrote:
At 08:10 AM 6/22/2006, Ryan A wrote:>Hi,>>A pal of mine needed some help on his project, he is>using a "header" and "footer" file to "template" his>project... but its gotten a bit complicated as he has
>a few dynamic parts in the header and foo
At 08:10 AM 6/22/2006, Ryan A wrote:
Hi,
A pal of mine needed some help on his project, he is
using a "header" and "footer" file to "template" his
project... but its gotten a bit complicated as he has
a few dynamic parts in the header and footer files, so
I told him to go with a proper templati
Ryan A wrote:
Hi,
A pal of mine needed some help on his project, he is
using a "header" and "footer" file to "template" his
project... but its gotten a bit complicated as he has
a few dynamic parts in the header and footer files, so
I told him to go with a proper templating method of
templatin
Ryan,
I would still recommend Smarty.
It can be as big as you like, but it can also be very simple to set up and
maintain. It has the features should your friend decide to expand his usage
in the future. If you opt now for something with limited features and later
decide to step beyond them, you'
Hi,
A pal of mine needed some help on his project, he is
using a "header" and "footer" file to "template" his
project... but its gotten a bit complicated as he has
a few dynamic parts in the header and footer files, so
I told him to go with a proper templating method of
templating the whole page r
Check int connection_aborted ( ) in the PHP manual
Andy
weetat wrote:
> Hi all,
>
> Can we detected if user have clicked the "X" button in browser or
> close browser ?
> I have tested in my php program ,when i click "X" in IE6 , the
> execution did not stop , it still running
Hi all,
Can we detected if user have clicked the "X" button in browser or
close browser ?
I have tested in my php program ,when i click "X" in IE6 , the
execution did not stop , it still running .
Any ways to stop the program execution when user click the "X" button
or close browser ?
T
On 22 June 2006 02:22, weetat wrote:
> Hi all,
>
> I have multi-arrays as shown below:
> I implemented usort() to sort the array by 'country' field
> in the array.
> However there some empty string value in the array and i setup my
> cmpcountry() function to sort array, however , some count
44 matches
Mail list logo