Al wrote:
I have a page that resizes an image to be included in a html page, using:
echo "\n";
unlink($rel_mapfile);
I need the other html stuff on the page so I need to fetch a file from
the server to include in the page.
So, I resized the image and saved it as a file. That works fine.
A
Hi
>From what I see, highlight_string() should only change text between .
Any idea why it highlights all of the text I send to it (even text outside
?
Thanks
berber
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
The only way I could work around this was to put empty at the
Beginning of the text and now highlight_string() highlights only what
Is inside
You can see an example of the problematic text in the example
Area of this page : http://www.weberdev.com/get_example-4345.html
Notice the empty at the
On 3/6/06, Weber Sites LTD <[EMAIL PROTECTED]> wrote:
> The only way I could work around this was to put empty at the
> Beginning of the text and now highlight_string() highlights only what
> Is inside
>
> You can see an example of the problematic text in the example
> Area of this page : http://
> The only way I could work around this was to put empty at the
> Beginning of the text and now highlight_string() highlights only what
> Is inside
>
> You can see an example of the problematic text in the example
> Area of this page : http://www.weberdev.com/get_example-4345.html
>
> Notice the
I was afraid of that...
I need to do HTML manipulations on the text that is outside the .
After I run highlight_string the original text is messed up.
If I run the manipulations before then they will look like HTML
And not act as HTML...
Any ideas?
-Original Message-
From: chris smith [m
> On Sat, Mar 04, 2006 at 07:01:55PM -0700, Paul Goepfert wrote:
> > Hi all,
> >
> > ls there anyway I can set the date to the timezone of the clients
> > timezone? For example, if a person opens the web page at 3/6 12:01
> > EST and another person opens the same page at 3/5 10:01 MST I would
Does anyone know of a Php funtion that can do this:
http://golem.ph.utexas.edu/~distler/blog/NumericEntities.html
Thanks,
Jacob
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hi there!
http://se.php.net/manual/en/function.htmlentities.php
?
Best regards
Gustav Wiberg
> Does anyone know of a Php funtion that can do this:
> http://golem.ph.utexas.edu/~distler/blog/NumericEntities.html
>
>
> Thanks,
> Jacob
>
> --
> PHP General Mailing List (http://www.php.net/)
> To u
>
>> On Sat, Mar 04, 2006 at 07:01:55PM -0700, Paul Goepfert wrote:
>> > Hi all,
>> >
>> > ls there anyway I can set the date to the timezone of the clients
>> > timezone? For example, if a person opens the web page at 3/6 12:01
>> > EST and another person opens the same page at 3/5 10:01 MST I wo
[EMAIL PROTECTED] wrote:
On Sat, Mar 04, 2006 at 07:01:55PM -0700, Paul Goepfert wrote:
Hi all,
ls there anyway I can set the date to the timezone of the clients
timezone? For example, if a person opens the web page at 3/6 12:01
EST and another person opens the same page at 3/5 10:01 MST I wo
Andreas Korthaus wrote:
I think this should be OK, or shouldn't I do it this way?
Both ways are perfectly acceptable and all up to personal preference. In
fact, to support the way you are doing it was one of the reasons why DOM
classes were allowed to be extended.
Perhaps you have seen that
Andreas Korthaus wrote:
Hi!
The XML-Code I have to create (http://news.php.net/php.general/231486),
needs a root-element, with xmlns and XML schema link, something like that:
http://example.com/test";
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
xsi:schemaLocation="http://exampl
[snip]
>You must have a column that is sequential in some way. An
>auto-incremented column, timestamp, or some other device that will
allow
>you to step through regardless of gaps in sequence. If you do not have
>such a column then you could add one.
You see, now that's the problem. If you have a
Hi,
I haven't yet worked with namespaces in XML before when it comes to DOM
related methods. My source is an Office 2003 Excel XML and it contains
XML like:
http://www.w3.org/TR/REC-html40";>
How can I use an xpath expression to find e.g. all rows in Worksheet
"Sheet1" ?
My pro
Mark wrote:
Can anyone tell me why i am getting this message when trying to login to the
admin section, i am running the script off my local machine.
Warning: session_register() [function.session-register]: Cannot send session
cookie - headers already sent by (output started at
C:\VertrigoServ\_
As such, if you don't renumber, then the only thing left is to use a
timestamp, I guess.
[/snip]
No, if you have gaps you can still step through sequentially, like 14,
15, 18, 19, 20...
It's the gaps that are the problem.
I have no problem understanding why there are gaps in a dB and
dealing
On Monday 06 March 2006 07:56, tedd wrote:
> So, I'm still trying to find a simple way around this problem. Either
> I renumber the "id" field OR provide an external counter to present
> to the user. I don't see any other solutions, does anyone?
>
> Thanks.
>
> tedd
I haven't followed this thread
tedd wrote:
As such, if you don't renumber, then the only thing left is to use a
timestamp, I guess.
[/snip]
No, if you have gaps you can still step through sequentially, like 14,
15, 18, 19, 20...
It's the gaps that are the problem.
I have no problem understanding why there are gaps in a dB
Markus Fischer wrote:
Hi,
I haven't yet worked with namespaces in XML before when it comes to DOM
related methods. My source is an Office 2003 Excel XML and it contains
XML like:
http://www.w3.org/TR/REC-html40";>
How can I use an xpath expression to find e.g. all rows in Work
Thanks Rob, that's it!
I really appreciate your help, because I know that my initial question
had very little to do with PHP but with XML ..
again, thank you!
- Markus
Rob wrote:
> Markus Fischer wrote:
>> Hi,
>>
>> I haven't yet worked with namespaces in XML before when it comes to DOM
>> rela
> > Does anyone know of a Php funtion that can do this:
> > http://golem.ph.utexas.edu/~distler/blog/NumericEntities.html
> Hi there!
>
> http://se.php.net/manual/en/function.htmlentities.php
>
> ?
htmlentities converts to named entitites. I want it to numeric entities.
--
PHP General Mailing Lis
Hello John,
Wednesday, March 1, 2006, 11:38:15 AM, you wrote:
> Outside of being a major spam flag, and possibly reaching the limits
> of your smtp server.
Agreed... Sending mass mail via BCC is going to be nothing but
headaches. I've been down that road a number of times.
--
Jacob Friis Saxberg wrote:
Does anyone know of a Php funtion that can do this:
http://golem.ph.utexas.edu/~distler/blog/NumericEntities.html
Hi there!
http://se.php.net/manual/en/function.htmlentities.php
?
htmlentities converts to named entitites. I want it to numeric entities.
I was wondering if there was a way I can see where people are linking
to me from. Can I find this in php?
--Ben
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Benjamin Adams wrote:
I was wondering if there was a way I can see where people are linking
to me from. Can I find this in php?
--Ben
$_SERVER["HTTP_REFERER"];
It's an Apache server variable.
--
Smileys rule (cX.x)C --o(^_^o)
Dance for me! ^(^_^)o (o^_^)o o(^_^)^ o(^_^o)
--
PHP General Mai
[snip]
I was wondering if there was a way I can see where people are linking
to me from. Can I find this in php?
[/snip]
HTTP_REFERRER is good to see where people are coming from, if it is set.
Are you wanting to see if people have links to your site? If so, you're
going to need a spider.
--
P
If you want to find out who is actually linking to you altogether (such as
for search engine optimization, etc.) you are going to want to use the
following search query in Yahoo...
linksite:yoursite.com -site:yoursite.com
This will tell you everyone who is linking to you minus the links coming
fr
I have banners on other websites.
I'm trying to detect who is clicking on what banners.
I can have the company that has the banners throw a ?
bannercompany='companyname'
and do a query on that but I would like to do it just by auto detecting
Ben
On Mar 6, 2006, at 11:21 AM, <[EMAIL PROTECTED]>
Hi,
I really don't think this is possible from what I know of php, but I
thought I would as the experts.
Is it possible to have php create directories and move files on a local
machine. I have created a web portal for a
Well it seems you output it via PHP so count it extern in PHP.
And changing ID values is a "no-go!"
You will never have any relation possibilities if you alter the ID fields.
In short. You mess everthing up with it.
There are count functions in MySQL that gives you the counted rows
or output it
Currently I have
an ini file that has the list of banner websites
I can make it count
problem is:
$_SERVER['REFERER'] will give me the full link
http://www.domain.com/dir/location/file.php
where I just want the
http://www.domain.com/
Ben
On Mar 6, 2006, at 11:39 AM, Benjamin Adams wrote:
I have
Hi,
Im getting the following: Warning: mysql_connect(): Can't connect to
local MySQL server through socket...etc.
NOTES:
1.) MySQL 5 is running fine.
2.) Im able to connect to it via Navicat.
3.) I run Lasso on the same host, I know that I can pull and post
data to and from MySQL. So its N
Miles Thompson wrote:
I hope the following will be helpful, and it is a bit of a rant ..
thank god someone ranted on this already :-)
I wasn't feeling up to it but it's also one of those cases that you can't
help but speak out. ;-)
--
PHP General Mailing List (http://www.php.net/)
To unsubscr
[snip]
That's the reason when I started this thread I made it clear that I
was NOT talking about a relational dB but rather a simple flat file.
What I find interesting in all of this exchange -- however -- is that
everyone agree's renumbering the "id" of a dB is something you don't
do, but no o
Benjamin Adams wrote:
Currently I have
an ini file that has the list of banner websites
I can make it count
problem is:
$_SERVER['REFERER'] will give me the full link
http://www.domain.com/dir/location/file.php
where I just want the
http://www.domain.com/
Look at http://php.net/parse_url
-Stu
Got it Thanks!!
Ben
On Mar 6, 2006, at 12:13 PM, Stut wrote:
Benjamin Adams wrote:
Currently I have
an ini file that has the list of banner websites
I can make it count
problem is:
$_SERVER['REFERER'] will give me the full link
http://www.domain.com/dir/location/file.php
where I just want the
tedd wrote:
Well it seems you output it via PHP so count it extern in PHP.
And changing ID values is a "no-go!"
You will never have any relation possibilities if you alter the ID
fields.
In short. You mess everthing up with it.
There are count functions in MySQL that gives you the counted row
Jacob Friis Saxberg wrote:
Does anyone know of a Php funtion that can do this:
http://golem.ph.utexas.edu/~distler/blog/NumericEntities.html
http://se.php.net/manual/en/function.htmlentities.php
htmlentities converts to named entitites. I want it to numeric entities.
Yes; 'tis true. How
Hi,
Figured it out:
Apple wiped out the location of the socket.
they wanted '/var/mysql/mysql.sock'
it should be: '/tmp/mysql.sock'
Problem solved.
M i l e s.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Another point to consider, is that Tedds method of renumbering the rows,
*may* not preserve the original sequence. I have not checked the mysql
source, but if some delete activity has occurred in the table, then
there will be holes in the data, in some circumstances, inserting
further records to t
On 3/6/06, Dusty Bin <[EMAIL PROTECTED]> wrote:
> Another point to consider, is that Tedds method of renumbering the rows,
> *may* not preserve the original sequence. I have not checked the mysql
> source, but if some delete activity has occurred in the table, then
> there will be holes in the dat
Here is an example for you.
First make an array like this:
$translate_array= array(
' & ' => ' & ',
'"&"' => '"&"',
'W&OD' => 'W&OD',
'&O'=> '&O',
'M&F' => 'M&F',
);
Then use:
$find_array= array_keys($translate_array);
$replace_array= array_values($translate_array)
Mace Eliason wrote:
Hi,
I really don't think this is possible from what I know of php, but I
thought I would as the experts.
Is it possible to have php create directories and move files on a local
machine. I have create
Hi Al,
Thank you for your reply. I have changed my code to the following:
---CODE---
';
$translate_array = array(
'' => '[b]',
'' => '[/b]',
'' => '[b]',
'' => '[/b]',
'' => '[i]',
'' => '[/i]',
'' => '[i]',
'' => '[/i]',
'' => '[u]',
'' => '[/u]',
' '[img]',
' border="0" />' => '[/img]'
>
> What I find interesting in all of this exchange -- however -- is that
> everyone agree's renumbering the "id" of a dB is something you don't
> do, but no one can come up with a concrete (other than relational)
> reason why.
If you don't care that a given record may have a different, unpr
Hello everyone.
I'm trying to use my php4 conecting to a mysql5 server, and then executing
some command lines to create a stored procedure but it's not working.
When a tried to execute "delimiter |", my php gets de follow error:
You have an error in your SQL syntax; check the manual that corresp
At 10:56 AM 3/6/2006, tedd wrote:
As such, if you don't renumber, then the only thing left is to use a
timestamp, I guess.
[/snip]
No, if you have gaps you can still step through sequentially, like 14,
15, 18, 19, 20...
It's the gaps that are the problem.
I have no problem understanding why
On 3/6/06, Jim Moseby <[EMAIL PROTECTED]> wrote:
> >
> > What I find interesting in all of this exchange -- however -- is that
> > everyone agree's renumbering the "id" of a dB is something you don't
> > do, but no one can come up with a concrete (other than relational)
> > reason why.
>
>
>
> If y
Hi.
I want to have a script that when run backs up all emails in a pop3
mailbox that are from email addresses not in a database. The person who
has sent the email will receive an email that asks them to verify the
email by clicking a link and then the email is sent.
I need to know how to res
At 08:57 AM 3/6/2006, tedd wrote:
What I find interesting in all of this exchange -- however -- is
that everyone agree's renumbering the "id" of a dB is something you
don't do, but no one can come up with a concrete (other than
relational) reason why.
It's simply -- concretely -- inefficient
(Re-sending as I accidentally sent my original post directly to Al)
Al wrote:
> Mace Eliason wrote:
>
>> I really don't think this is possible from what I know of php, but I
>> thought I would as the experts.
>>
>> Is it possible to have php create directories and move files on a
>> local machine
PHP don't do this.
The user must select a file to upload and then the PHP can work with this.
PHP has no access to local files, think with me, how can PHP discover which
machine in internet he has to access to get files.
Mace Eliason wrote:
>
PHP can do this, but you'd need it set up on each of the client
computers and periodically run to check the temp folder and perform the
upload. That's what any other application that can do similar does.
Cheers,
Rob.
On Mon, 2006-03-06 at 15:30, João Cândido de Souza Neto wrote:
> PHP don't do th
Ok, but you're telling that the client will be doing upload to server. Not
the server doing a dounload from client. I was understood as a wrong way.
I'm sorry.
Robert Cummings wrote:
> PHP can do this, but you'd need it set up on each of the client
> computers and periodically run to check the te
Yeah, you can't do the local computer file moving and all that with the same
script as your server side component, but if you'd rather not learn C# or
another language like that, but you're comfortable with PHP, I'd highly
recommend checking out Winbinder (http://www.winbinder.com). Assuming yo
Curt Zirzow wrote:
>
> I assume your loop is something like:
> while(condition) {
> $auction_parts['id'] = 'some value';
> $auction_parts['name'] = 'some value';
> ...
> $insert->execute();
> }
>
Yes, thats it.
> My first guess would be, if not aleady done, initialize
> $auc
I am trying to simplify an SQL query that is pretty much like below:
$sql = "SELECT * FROM table WHERE keyword RLIKE '$expression1' OR
keyword RLIKE '$expression2' ";
The different terms '$expression1' and '$expression1' come from an array.
Is there any way to within one regular expression t
[snip]
I am trying to simplify an SQL query that is pretty much like below:
$sql = "SELECT * FROM table WHERE keyword RLIKE '$expression1' OR
keyword RLIKE '$expression2' ";
The different terms '$expression1' and '$expression1' come from an
array.
Is there any way to within one regular express
Hello everyone.
I'm trying to use my php4 conecting to a mysql5 server, and then executing
some command lines to create a stored procedure but it's not working.
When a tried to execute "delimiter |", my php gets de follow error:
You have an error in your SQL syntax; check the manual that corresp
I receive aa answer by e-mail in order this telling me that i must upgrade
my php4 to php5.
It means that a php4 server don't works fine with mysql5 server?
João Cândido de Souza Neto wrote:
> Hello everyone.
>
> I'm trying to use my php4 conecting to a mysql5 server, and then executing
> some
[snip]
I receive aa answer by e-mail in order this telling me that i must upgrade
my php4 to php5.
It means that a php4 server don't works fine with mysql5 server?
[/snip]
http://www.php.net/mysqli is designed to work with versions of MySQL 4.1.n and
above. It requires PHP5
--
PHP General Maili
"IN ( exp1, exp2)" didn't seem to work for me. I've seen that used
before for including a subquery, but somehow it didn't like the comma
separated list.
I think this below is doing it for me.
$separated = implode("|", (explode(" ",
(AddSlashes($_REQUEST['terms']);
if($_REQU
Rob wrote:
That's how namespaced attributes, which is nothing more than you are
creating, are supposed to be created in DOM.
OK, thank you!
best regards
Andreas
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Barry:
I realize that relational dB's are out if one does this -- and -- I
fully understand why.
That's the reason when I started this thread I made it clear that I was
NOT talking about a relational dB but rather a simple flat file.
What I find interesting in all of this exchange -- howe
Brian Anderson wrote:
"IN ( exp1, exp2)" didn't seem to work for me. I've seen that used
before for including a subquery, but somehow it didn't like the comma
separated list.
I think this below is doing it for me.
$separated = implode("|", (explode(" ",
(AddSlashes($_REQUEST['terms']))
João Cândido de Souza Neto wrote:
I receive aa answer by e-mail in order this telling me that i must upgrade
my php4 to php5.
It means that a php4 server don't works fine with mysql5 server?
João Cândido de Souza Neto wrote:
Hello everyone.
I'm trying to use my php4 conecting to a mysql5 se
_-=MealstroM=-_ wrote:
Hello php-general,
Hi. I ve got some trabl with this commands
ftp_pwd() and ftp_chdir()
They work correctly with some ftp servers,
but i ve got some problems with warftp server.
This server doesn't recognize them.
If the server doesn't recognise them we can't do much.
I
Rob Richards wrote:
You can also look at using xmlwriter, when creating serialized trees,
that automatically does escaping for you.
Hm, AFAIK latest xmlwriter versions provide an OO API. Do you know about
any documentation for it?
The only code I've seen so far is:
http://cvs.php.net/viewcv
it does, you need the updated mysql library that comes with the php 5 files
(libmysql.dll for windows)
bastien
From: João Cândido de Souza Neto <[EMAIL PROTECTED]>
To: php-db@lists.php.net,php-general@lists.php.net
Subject: [PHP-DB] Re: PHP4 with MYSQL5
Date: Mon, 06 Mar 2006 18:38:56 -0300
Hi gang:
Miles said:
Why are we still chasing this thread?
No need to pursue this thread anymore -- I'll just address the
statements put to me.
Why does he even have to see gaps? Just present the info, unless he
wants to see the ID.
Miles, I think that's the best solution I've heard t
Weber Sites LTD wrote:
I was afraid of that...
I need to do HTML manipulations on the text that is outside the .
After I run highlight_string the original text is messed up.
If I run the manipulations before then they will look like HTML
And not act as HTML...
Any ideas?
You could get the ph
I am looking for some PHP code that will allow me to do something like take
a string name, an expiration date, and a 16-byte key and generate an 8-byte
license code in the form of
---
I have some Windows code that I've used for years, and I successfully ported
it to PHP, only to
_-=MealstroM=-_ wrote:
Hello Chris,
Tuesday, March 7, 2006, 1:36:54 AM, you wrote:
_-=MealstroM=-_ wrote:
Hello php-general,
Hi. I ve got some trabl with this commands
ftp_pwd() and ftp_chdir()
They work correctly with some ftp servers,
but i ve got some problems with warftp server.
This s
I copied and pasted the example found here:
http://www.php.net/openssl_csr_new
And this one too:
http://www.php.net/manual/en/function.openssl-pkey-new.php
And I get the output that looks like valid 'gibberish' for all three (CSR,
Cert, PK), except what concerns me is that I get fifteen of the sam
Want to load balance a server and send image uploads to a different box with
PHP installed. What would the correct method to authenticate on the second
machine and send without ruining user experience by sending them to a second
page?
Initial thought was to keep the box address inside of the b
Robert Sandie wrote:
Want to load balance a server and send image uploads to a different box with
PHP installed. What would the correct method to authenticate on the second
machine and send without ruining user experience by sending them to a second
page?
For what purpose are you sending the u
Is there a pear package or class for PHP?
--
Louie Miranda ([EMAIL PROTECTED])
http://www.axishift.com
//JSM-W
> For what purpose are you sending the uploads to a different box?
There will also be Video uploads as well so I had to nix the database idea.
Am running a media server as well of this box so there is considerable
processing already going on. Now I may be looking at this from the wrong
perspective
First of all, the back-slashes added before a " character is probably
because of the gpc_magic_quotes directive in PHP, wich tries to "escape"
the quotes (pretty stupid, if you ask me), so you must have to use
strip_slashes() on the string you received, e.g:
$text = '';
if ( isset($_POST['
80 matches
Mail list logo