[EMAIL PROTECTED] wrote:
Using this string:
"{$var1: $var2}"
of course it doesn't work as some might expect.
But why in the name of [whatever, too many to list] doesn't this one
below work?
"\{$var1: $var2}"
If \ is an escape character why does it also appear in the string output?
Why doe
Bipul Dobhal wrote:
Hi,
How can i create my own formats for fckeditors combo box..
I found the line
FCKConfig.FontFormats='p;dic'pre;address;h1;h2;h3;h4;h5;h6';
in fckconfig.js file.
I think by setting my own format in this line may handle this problem
because when I added any wor
Jason Karns wrote:
I once saw the use of OR (|) in assignment.
$x = $y | $z;
Does this use bitwise OR? I'm trying to see if I could use the above
expression in place of:
$x = is_null($y) ? $z : $y;
yes, '|' is bitwise OR, but that is /not/ a ternary operator.
it's not safe to just replace t
Steve Walker wrote:
[client 80.58.205.38] PHP Fatal error: Call to undefined function:
cleanupbynode() in
/var/www/vhosts/demos.oneworldmarket.co.uk/httpdocs/gems/kernel/classes/ezco
ntentobjecttreenode.php on line 2684
could be that the function cleanupbynode() is defined in the wrong place (i
Jay Blanchard wrote:
I have to read a directory (on a windows machine) from another box (a
linux machine) and I thought that I could set the handle to the IP
address of the windows box, but that does not work. Do I have to open a
socket or is there another way?
the directory must be explicitly
bruce wrote:
i should state... while i've seen different apps... i'm more interested in
any that have actually been used by you, or someone you know!!
an app that comes with references!
try this?
http://kfm.verens.com/
I'm biased, though - I wrote the thing.
Kae
--
PHP General Mailing List
Kae Verens wrote:
every 6 hours, check feeds who's primes are divisible by $i, then add
1 to $i
of course, this should be "check feeds where $i%(the prime) is 0"
Kae
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Jad madi wrote:
I'm building an RSS aggregator so I'm trying to find out the best way to
parse users account feeds equally so Lets say we have 20.000 user with
average of 10 feeds in account so we have about
200.000 feed
How would you schedule the parsing process to keep all accounts always
upda
John Taylor-Johnston wrote:
Anyone know of a good alternative to FCKeditor? Or a decent file uploader?
Even after paying for a little help, I get zip for FCK.
I need another solution, another editor with an active forum or support,
John
try my KFM addon for FCKeditor (http://kfm.verens.com/)
u
Ramiro wrote:
Hi,
i'm trying to find a good solution to this problem. I want download files
from a directory outside DocumentRoot.
This files cannot be downloaded through direct url like
http://site/test.zip. It must be downloaded after user login.
I know i can do that using some functions
[EMAIL PROTECTED] wrote:
Hi,
"Fatal error: session_start(): Failed to initialize storage module in
/home/vernoncompany.biz/includes/validations.php on line 2"
validation.php:
#1
possibly.
or it could be a disk-space problem.
what does your server's error_log say?
Kae
--
PHP General Maili
Anna Barnes wrote:
[Tue Sep 19 15:53:57 2006] [error] PHP Fatal error: Maximum execution
time of 60 seconds exceeded in /websites/ical/functions/ical_parser.php
on line 494
Not quite sure where to go from here.
"ical_parser" sounds like it is a function which sucks in information from
othe
blackwater dev wrote:
First, the example I have is not the real situation, just an example so I
don't want to get into why are you doing it like that, etc. Just want to
see if it's possible.
Basically, I want to store stuff in a text field in a db like this "johns
name is ucfirst('john adams')
James Tu wrote:
Hi:
I'm trying to setup a dev environment using Apache, MySQL and PHP...to
develop an application that will go to production.
What is the most stable versions of the AMP components should I can
install?
The production environment will most likely live on a Linux machine. My
Howard, Tim wrote:
documentation on your site. When I find the solution to my problem, I
will be sure to add comments to the appropriate page so that you will
not have to endure the ranting of frustrated programmers.
of course, you still haven't explained what the problem is, that you are hav
Richard Lynch wrote:
In brief, to explain a snapshot in layman's terms:
that's probably a bad idea.
anyone that doesn't know what a snapshot is, probably shouldn't need to know -
they are most likely working in a package-based environment (either Windows,
or an RPM-based Linux), where it wou
Jian Fu wrote:
I really need help and after going through the help page, I don't know where
I can post my question.
When I upload a file (word or pdf), how can I know the page counts of that
file immediately?
Thank you, Jian
http://ie.php.net/manual/en/function.pdf-get-pdi-value.php
27;;
?>
note the '[]' at the end of 'rooms[]'. that makes it an array.
now, assuming you are sending as POST, the next bit builds up $addinfo:
$arr=array();
foreach($_POST['rooms'] as $a=>$b)$arr[]=addslashes($a);
$addinfo=(count($arr))?
"Chosen Rooms:\n".join(',',$arr):
'No rooms chosen';
hope that's useful
--
kae verens
http://verens.com/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
tatus=1,
> toolbar=0, resizable=0,
> width=200, height=200\");
> ";
> }
> header("Location: http://www.dte.ua.pt/cv/";);
the answer is in the question. You cannot send the header() function, as you
have already output some text to the browser.
Move th
Dan J. Rychlik wrote:
Hello,
I have created a db that holds specific information ie a business name. I am running into a problem on a form when you choose the business name another list is suppossed to populate the address or addresses, if multiple occur, and you can select the address.
I am n
Dougd wrote:
Do you really still pay for bandwidth?
I do. And that makes me very aware of bulky HTML and unnecessary images,
which I believe improves my work by forcing me to be efficient.
Kae
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Deependra B. Tandukar wrote:
Dear all,
Recently installed PHP in my Linux server. It says, mail function is not
enabled? How is turn this on?
mail is handled by the server's smtp program. In Linux, this is
sendmail, and should be installed by default. Haven't a clue about
Windows (I don't do wi
Ryan A wrote:
Hi everyone,
I am trying to create a new newsletter software as the ones i found on
hotscripts were just not good enough or mucho $$ which i dont have :-(
Have finished the basics but need some advise now.
I am using a mysql database instead of text files.
I have a table with the fiel
Stephen Tiano wrote:
Kae,
Excuse my being dense, but I just want to get your meaning with the
lines you added. You're saying to substitute
if($_POST['submit']=='Sign!')
for
if ($submit == "Sign!")
and to try ('$_POST[name]', ... (and not $_POST['name'])?
in your code, the first variable was $
Stephen Tiano wrote:
if ($submit == "Sign!")
if($_POST['submit']=='Sign!')
{
$query = "insert into guest_info
(name,location,email,url,comments) values
<'$name', '$location', '$email', '$url', '$comments')"
('$_POST[name]','$_POST[location]','$_POST[email]','$_POST[url]','$_POST[comments]')"
If
Ralph Guzman wrote:
The second approach is to store amenities as a text delimited string for
each property in the facilities table. So if a certain property has a
pool, fireplace and fitness center, I would have
'pool|fireplace|fitness' in the amenities field. I can then use PHP to
explode or creat
Merlin wrote:
Hello,
I am wondering if an application written to work with register globals
set to off ($_GET[variable] etc.) would work with a system, where
register globals is set to on?
yes.
Kae
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsu
Mike At Spy wrote:
Is there anything special I have to do to enable GD when using PHP 4.3.2?
I'm getting an error of:
Fatal error: Call to undefined function: imagecreatefromjpeg() in
/home/sites/site37/web/photos/functions.php on line 594
When I use the imagecreatefromjpeg() function. Is it not
Merlin wrote:
Hello,
I am wondering if it is possible and legal to convert gif to jpeg with
php. This would be helpful for clients to upload their logo, since most
have it as a gif document.
Thanx for any comment on that.
ImageMagick can read .gif, so you could filter the uploaded file through
Collegesucks.Com Mike wrote:
Quick question...
I parse domains in my scripts like this to get the .domain.com out of www.domain.com. However, if someone visits my site with just domain.com in the url, I get .com back as the parsed domain. How can I make it so I aways get the .domain.com no matter
Mike At Spy wrote:
Anyone here familiar with the installation of Image Magick and what files it
installs on your machine?
I had an admin put it on, and then took it off - but took it off by removing
what she thought were all of the files related to it. I just found some
files I think that are. Th
Amanda McComb wrote:
I am having trouble finding math functions on php.net. I am also getting
"page not found" errors when trying to search.
Basically, I'm looking for a mod or division function - something I can
use to tell me when a number is evening divisable by a certain number.
% is the mod o
Hecchan wrote:
I do something similar to this at http://contactjuggling.org/
if the server thinkks JavaScript is set, then it uses the above to make
sure. Otherwise, it puts this in the header:
document.location="/?s=1"
Kae
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe
James Johnson wrote:
Hi,
I'm trying to figure out this error I'm getting in my code:
Parse error: parse error in /home/.paco/campuscb/AdPayment.php on line 9
This is the code on line 9:
$sDate = date('Y-m-d',time());
if you're looking for the current time, then this is sufficient:
$sDate=date('
Merlin wrote:
ufff.. sorry guys, but I have to explain that better. I appreciate your
help, maybe I did not give enough info.
I am trying to redirect with apache modrewrite. To do this you have to use
regex (not if functions:-)
My problem is, that there are member accounts which look like that:
me
Jay Blanchard wrote:
if($string == 'test/contact.html')
it could be
if($string == "test/contact.html")
not to start a flame war or anything, but isn't the apostrophe version
quicker, as it doesn't ask the server to parse the string?
Kae
--
PHP General Mailing List (http://www.php.net/)
To unsu
Merlin wrote:
^\/test\/contact.html$
does not work. I am sorry, I just found that
it has to be:
test/contact.html
and not
dir/test/contact.html
there is no leading slash.
Do you have any other suggestion?
*sigh*
^test\/contact.html$
Kae
--
PHP General Mailing List (http://www.php.net/)
To u
Merlin wrote:
Hi there,
I want to create images with GD and freetype ttf which are good enough for
printing .. about 150 dpi.
Does anybody know how to output the jpg with a higher resolution and a
determined output size?
Thanx in advance,
merlin
output an image with dimensions, say, 320x200, but
Merlin wrote:
Hi there,
I have a regex problem.
Basicly I do not want to match:
/dir/test/contact.html
But I do want to match:
/test/contact.html
I tryed this one:
^[!dir]/(.*)/contact(.*).html$
but it does not work and I tryed thousands of other ways plus read
tutorials.
Can anybody please hel
John Taylor-Johnston wrote:
Ok, this is a basic MySQL question, but I don't know how to code it in PHP. I want to
check in StudentId. If it exists, ...
Anyone good humoured who would help me fill in the blank. Like I should know this, but
haven't even thought of coding SQL in a while :)
$myconnec
Matt Babineau wrote:
Anyone have a good place to help with this... Google was seeming a bit
light on good help. I tried to get it going but there seemed to be some
dependant libraries tha tI could not build myself, they were erroring
out..blah blah. Is there any easier way to do this?
Thanks,
Matt
[EMAIL PROTECTED] wrote:
Hi ,
The user have to choose 2 date ($date_begin & $date_last) and i want
to know howcan i make to find field in mysql where field included
between ($date_begin & $date_last)
"SELECT * FROM `news` WHERE `date` included in ($date_begin &
$date_last)"
$q=mysq
Ciprian Trofin wrote:
Hi All,
I want to give access to resources (PDFs and some RTFs) only to registered
users and I also want to deny that kind of access to people that "guess"
the URL. I guess it is all about putting these files outside the web-tree
and somehow putting PHP to work.
Could you enl
Alexandru-Vlad Badut wrote:
Hya,
Can someone give me a hand on how to determine if the client (the visitor)
is java & java enabled and the os he's using in php?
couldn't you just get the Java to request a PHP file with it's version
as a GET parameter? that, along with the IP address, should tell y
Jack wrote:
Dear all
I had write a script like this :
$link = "page.php?day=$day&month=$month&year=$year";
when i click on the link, it should pass the parameter to "page.php" with
$month and $year variables.
It actually works fine in php4.2.1, but when i went to other office which
got php5.0 abov
one hour off from the
server time.
Any ideas of a solution to this?
Anyone have a ready-to-use function which can add/subtract an hour or
two to/from the date/time?
--
Kae Verens
http://www.contactjuggling.org/users/kverens/
http://www.contactjuggling.org/ (webmaster)
--
PHP General Mailing L
gmdate("h:i
a") returns the same 2:51 time. They are both one hour off from the
server time.
>>when I type "date" in a console on my server, it returns a different
>>time than that returned by date() or gmdate() - any idea why?
--
Kae Verens
http://www.contact
when I type "date" in a console on my server, it returns a different
time than that returned by date() or gmdate() - any idea why?
--
Kae Verens
http://www.contactjuggling.org/users/kverens/
http://www.contactjuggling.org/ (webmaster)
--
PHP General Mailing List (http://www.ph
48 matches
Mail list logo