It will fail if the first line is a blank line. For example (numbers are
line numbers):
1.
2.?php
3. setcookie(); // etc...
4.?
While:
1.?php
2. setcookie(); // etc...
3.?
It should work...
--
Julio Nobrega
A hora está chegando:
http://toca.sourceforge.net
Ha Minh Nguyen [EMAIL
Hi All,
A friend of mine said his printf is failing when he parses a variable from
a 4.5 mega file. On smaller files, it works fine.
There's a limit on the printf or somewhere else?
Thanks.
--
Julio Nobrega
A hora está chegando:
http://toca.sourceforge.net
--
PHP General Mailing
Here's how, but it does not use PHP:
http://cnet.com/webbuilding/pages/Authoring/Typography/ss01.html
--
Julio Nobrega.
2B||!BB - That's the question.
Admin [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
Is there anyway to use PHP to embed font types
On the form processing page, register the variable on a session. And put
session_start(); on the form's page, so the value is remembered and echo()ed
on the field.
--
Julio Nobrega.
2B||!BB - That's the question.
Bob [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL
in_array();
--
Julio Nobrega.
2B||!BB - That's the question.
Raphael Pirker [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
Hi,
Is there a possibility to search arrays in PHP? For example I'd like to
find
out the index-number of
$countries[singapore];
I haven't found a way to disable the Enter key to submit the form, as I
believe it does exists, but, found a way so when Enter is pressed works like
Tab, moving to the next form field.
Here:
http://www.faqts.com/knowledge_base/view.phtml/aid/6793/fid/129
Google search used:
I don't think it is possible to pass so much chars in a href, or URL for
the matter. Is it really necessary? Couldn't you first write somewhere
(db/file) those chars and retrieve it later, referencing it on the href?
--
Julio Nobrega.
2B||!BB - That's the question.
News.Fbcc.Com [EMAIL
I have seen this question before on a brazilian newsgroup I visit, and the
only solutions we came (without going away from a default php installation)
is to use the function include(); (and similars) or sessions.
If anyone knows a different way, I would also be interested to know, to
inform
You might want to have a look on this script:
http://www.digitalgenesis.com/software/dgssearch.html
It can search specified directories/file extensions/databases, or deny
search for the same, and many other options.
--
Julio Nobrega.
2B||!BB - That's the question.
Steve Wright
I don't think the problem is the open source nature. Corporate people
usually do not see flaws on it. But they do not see the advantages too
because there is little advertising.
--
Julio Nobrega.
2B||!BB - That's the question.
Jeff Lewis [EMAIL PROTECTED] wrote in message
Here:
http://hotwired.lycos.com/webmonkey/00/05/index2a.html?tw=programming
--
Julio Nobrega.
2B||!BB - That's the question.
Chris Kay [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
Hi
My question is that i am about to start a database and i have
When on mailing lists such discussion get longer and longer, like
'Attitude of B van Ouwerkerk', I always remember of this email. Could
everyone give a moment of thought and get back to the purpose of this list?
I know that this includes myself too, which I apologize for my behavior:
Q: How
Kyle Smith [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]...
zillion is actually a number?
Yes, a number performed by some old cartoon, anime style :-)
i just downloaded a program which reads out
text for you cause it just gets really boring reading the text, so now its
goinfg
FUD!
Kyle Smith [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
Whats the difference between ASP and PHP cause ASP has gotta have something
good about it cause microsoft uses it!
-lk6-
http://www.StupeedStudios.f2s.com
Home of the burning lego man!
ICQ:
Something like:
http://www.javascript-tricks.com/loading.html
Found at Google, searched for 'page loading javascript'. There are more
complex options, like with a bar graph.
Michael Champagne [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
Thanks for the
Michael J. Seely [EMAIL PROTECTED] wrote in message
news:a04320400b78e010dcf12@[208.37.135.187]...
HI FOLKS,
Imagine you had a PC Laptop, PHP installed, and a Ricochet/Sierra
Wireless AirCard 400 - 128 kbps NIC card.
What boom pow applications can you imagine setting up and running
Escape the double quotes inside the a href
echo P align=centerYour feedback has been sent to a
href=\mailto:$address\;$name/a/P;
--
Julio Nobrega.
2B||!BB - That's the question.
Steve Wright [EMAIL PROTECTED] wrote in message
There's an exemple right on the manual, function opendir();:
if ($dir = @opendir(/tmp)) {
while($file = readdir($dir)) {
echo $file\n;
}
closedir($dir);
}
--
Julio Nobrega.
2B||!BB - That's the question.
Karl J. Stubsjoen [EMAIL PROTECTED] wrote in message
[EMAIL
I guess, you could create a table with some colums like, 'last_modified',
'who_modified', 'document_path'.
Then when someone makes a change, you save this changed document in a
folder with the name of the document, so it is easy, folder by folder, to
find all modified documents. You can even
I like to use PHPCoder, www.phpide.de
--
Julio Nobrega.
2B||!BB - That's the question.
Augusto Cesar Castoldi [EMAIL PROTECTED] wrote in message
Pine.GSO.4.10.10107271605490.2482-10@minerva">news:Pine.GSO.4.10.10107271605490.2482-10@minerva...
Hi.
I'm using the PHPEd
Run the function phpinfo();
--
Julio Nobrega.
This is a man's world. But it would be nothing.
It would be nothing without a woman or a girl.
Sheridan Saint-Michel [EMAIL PROTECTED] wrote in message
02d101c1113d$f7a5ccc0$[EMAIL PROTECTED]">news:02d101c1113d$f7a5ccc0$[EMAIL PROTECTED]...
How
echo ''.?xml version=\1.0\ encoding=\UTF-8\?.'';
Also, you may set short open tags off so php is only activated between
?php and ?.
--
Julio Nobrega.
Because happiness is a warm gun
Bang-bang shoot-shoot
Daniel Rose [EMAIL PROTECTED] wrote in message
Look at a folder named 'Benchmark' that comes with php's PEAR. It has a
file named Time.php, and it has nice instructions about how to use it.
--
Julio Nobrega.
Because happiness is a warm gun
Bang-bang shoot-shoot
McShen [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL
eval(); ?
--
Julio Nobrega.
Because happiness is a warm gun
Bang-bang shoot-shoot
B R [EMAIL PROTECTED] wrote in message
005501c10ee3$e82b4740$c6655ad1@Test4">news:005501c10ee3$e82b4740$c6655ad1@Test4...
I know there's a function that takes a string argument and runs it as PHP
code.
i.e.
Hi,
I am not trying to discredit your decision to don't accept free emails,
but look for example my situation. The only email accounts I have are on
free email providers. I also connect to the internet using a free ISP, so
there's no pratical reason to use a paid email. So it would be
Spaces or new lines can give this problem also. For example (left numbers
are lines):
1.
2.?php
3.session_start();
4.?
Might give errors because of the first line (wich is empty). Check if the
file logs.php doesn't have this problem.
--
Julio Nobrega.
Because happiness is a warm gun
http://www.bosrup.com/web/overlib/
--
Julio Nobrega.
You're asking me will my love grow, I don't know.
Dave Freeman [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
On 13 Jul 01, at 21:47, Inércia Sensorial wrote:
Maybe a pop-up or a CSS/javasc
Hi All,
I want to enable multiple languages on one of my scripts, so
administrators or visitors can choose in what language they want to browse
the site. I have seen a few ways to do it, like with switch, define or
querying databases.
But, considering performance, what is the best way to
From the html 4.1 manual (only saying this cause I don't know if it will
work on agents that only support previous html versions)...
BUTTON name=reset type=resetResetIMG src=/icons/oops.gif
alt=oops/BUTTON
--
Julio Nobrega.
You're asking me will my love grow, I don't know.
Brandon Orther
Windows plataform? I was getting this error and solved by creating a dir
named 'tmp', so create:
c:\tmp
That's where the session files will be stored... I think it's configurable
in php.ini.
--
Julio Nobrega.
You're asking me will my love grow, I don't know.
Johnny Nguyen [EMAIL
Maybe a pop-up or a CSS/javascript box with a 'true delete' link (That
would be elegant :-)).
--
Julio Nobrega.
You're asking me will my love grow, I don't know.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail:
I am sorry, maybe going a little off-message here, but what would do you
mean by eliminate 'table-scans'?
--
Julio Nobrega.
You're asking me will my love grow, I don't know.
Christopher Ostmo [EMAIL PROTECTED] wrote in message
news:3B4F343A.18504.2376C59B@localhost...
As Rasmus stated
I have used this one with success, mysql and multi-level authorization
support:
http://www.phpsecurepages.f2s.com/
Can lock individual pages or parts of it with a little modification or
well placed include();s.
Also, about forms and session IDs, simple solutions would be pass the SID
on
Is it possible?
I am writing a recommend script, and I already know that the $HTTP_REFERER
can come empty or even not set, tested turning off the 'Enable Referer
Logging' on Opera.
But, an invalid $HTTP_REFERER is also one smaller than 10 characters?
I believe the smallest referer you
That's also something worth to be done, but first I need to know some
possible variations of $HTTP_REFERER...
I never saw one, when coming from another domain, without the
'http://'´part, so that's a regex to check, but I may be wrong...
--
Julio Nobrega.
One and One and One is Three
Thank you Scott for the various ideas. I am preventing an eventual 'no
referer' situation with a default url provided by who opens an account.
I am getting (and trying to give :)) help on this list, so I will ask
first before doing... Is it normal to announce personal projects here? This
one
Once I was looking for a similar solution and found none enough powerful
to my needs.
Anyway this was the only satisfactory that I found:
http://php.vamsi.net/show_source.php?url=htpasswd_admin.php
Also if you have Perl/CGI, you can use this one (much better, including
admin interface,
No. It also depends on the internal engine used by the browser to
'contruct' the elements. On Windows plataforms, Netscape are slower to
render cached pages. But IE has an advantage, it is built around some native
windows functionalities, one of the reasons it is faster. I don't know for
other
Hi all,
I have Windows 2000 running Apache 1.3.19.
When I run the most recent 1.3.20 windows binary, it says There's already
a version of Apache. Go to add/remove programs.
Asking me to uninstall it. But, will I lose any mods or confs if I do this
and install the new version? And have
Sometimes you have to add the dir on the php.ini, for example:
;extension=php_df.dll
Becomes:
extension=extensions/php_gd.dll
Can't remember if it is / or \ after 'extensions'
--
Julio Nobrega.
Yes, I am developing another 'Portal-System'
Have a look:
What's the job position? And the company style? The sample you should
leave depends on the requirements and type of experience needed, and the
company area of work (ie, development of e-commerce sites)
For example if it is a programmer/webdesigner for a company that does a
lot of community
You must learn it's way if you want to be effective. Also take a
look at design features proposed for PHP5. Looks promising and more C++
like,
so better compare it with the later one.
I went to php.net and searched for some kind of docs on PHP5, but found
not a word. Where can I see this
You could convert to lower case either on the record or on the retrieve,
or update the curret data with a simple loop.
--
Julio Nobrega.
Yes, I am developing another 'Portal-System'
Have a look:
http://sourceforge.net/projects/toca
prosite [EMAIL PROTECTED] wrote in message
[EMAIL
I am not sure if the header(); function still maintain the referer, but if
it does:
You could make the first link lead to any named page, like: gate.php
On gate.php you put: header(Location: index.php);
On index.php you put:
if ($HTTP_REFERER == 'http://www.your_domain.com/gate.php')
Hi All,
I have a function that includes files based on some SQL queries. On one of
the first loaded files, I want to define a function and use it on another
included file. Something like:
includes file:
first_file.inc.php
This file has: $test = Show me!;
Then include file:
second_file.php
That´s a great idea Susan. While I can't help you, I've never seen similar
application, and I like it. Hope you can make it! :-)
--
Julio Nobrega.
A hora está chegando:
http://sourceforge.net/projects/toca
[EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
I used this function with a BIGINT field once, and it worked. I guess
problemas appear when it goes beyond an INT filed, or, the number you are
retrieving has more than 11 digits.
--
Julio Nobrega.
A hora está chegando:
http://sourceforge.net/projects/toca
John Meyer [EMAIL PROTECTED]
I guess I know what may be wrong. My function that includes the files, it
is called several times, with different arguments being passed.
It is something like:
function LoadPositionedModules ($posv, $posh)
{
// $posv is vertical position, and $posh is horizontal position
// Inside
Doesn't work if you put ++ after the variable?
1 ?php
2 echo i'm on line $NUMBER_LINE++\n;
3 echo i'm on line $NUMBER_LINE++\n;
4 ?
Or maybe:
echo i'm on line
.$NUMBER_LINE++
.\n;
--
Julio Nobrega.
A hora está chegando:
http://sourceforge.net/projects/toca
Maybe:
$array = explode(br, $string);
foreach ($array as $key = $value) {
echo $value;
}
Would separate the string by br's and print all in one line.
--
Julio Nobrega.
A hora está chegando:
http://sourceforge.net/projects/toca
Chad Day [EMAIL PROTECTED] wrote in message
[EMAIL
for some bizarre reason, almost every browser i've seen
has the default option set to cache everything and never
look for updates
Connection speed. Cached pages load faster
--
Julio Nobrega.
A hora está chegando:
http://sourceforge.net/projects/toca
--
PHP General Mailing
ybe it's just me, but caches drive me nuts...
i know... but IMO, i'll take a slight performance
hit any day to make sure i get the most recent page...
-Original Message-
From: Inércia Sensorial [mailto:[EMAIL PROTECTED]]
Subject: Re: [PHP] Something weird
for some bizarre reason
Kevin, we were talking about cache in an user point of view...
:-D
--
Julio Nobrega.
A hora está chegando:
http://sourceforge.net/projects/toca
Kevin Pratt [EMAIL PROTECTED] wrote in message
009f01c10655$b3558e40$0300a8c0@ouelong">news:009f01c10655$b3558e40$0300a8c0@ouelong...
--
Me too. Once I changed browser and took me days to find out why some pages
weren´t changing :-)
Does the header(); function returns some kind of true or false? Maybe we
could tell users to don´t cache to show all dynamic stuff. I heard somewhere
(not sure about this) that Refresh on meta and
header (http://www.example.com;); // Goes to example.com.
--
Julio Nobrega.
A hora está chegando:
http://sourceforge.net/projects/toca
Brad Wright [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
Hi all,
I know this is probably the most stupid question
55 matches
Mail list logo