On Thursday 19 June 2008 18:25:10 Jay Blanchard wrote:
[snip]
I wonder how many of us on the list served. It's got to be more
than just you and I, Tedd, wouldn't you think?
[/snip]
U.S. Air Force
The Turkish Gendarmerie (Jandarma Genel Komutanligi)
--
PHP General Mailing List
Jim Lucas wrote:
Iv Ray wrote:
Jim Lucas wrote:
So, saying that it is outside the source does not tell me if it is
outside the document root.
A, right.
It is outside the document root.
Use your include_path php_ini setting
A, right...
Didn't think of it.
Actually, I do not like the
Richard Heyes wrote:
i need a way to get the path to the parent folder of the folder i am
in. one dirty way i found is this -
require_once(dirname(__FILE__) . DIRECTORY_SEPARATOR .
.. . DIRECTORY_SEPARATOR .
config.php);
i can also explode() and
Daniel Brown wrote:
I do agree, and I think it's worth another mention to the Website
Team to discuss a specific OT list for those of us who would like to
stray once in a while. After all, you can't spend every day speaking
with the same people on here without developing some common
Per Jessen wrote:
Call me .. uh no, I'm getting sick ... you guys are so completely and
utterly off-topic - please take it off-line.
It was obviously off-topic from the beginning,... however it felt
somehow OK... - I mean, it gave the list a personal touch and every
successful organization
2008/6/19 Jay Blanchard [EMAIL PROTECTED]:
[snip]
I wonder how many of us on the list served. It's got to be more
than just you and I, Tedd, wouldn't you think?
[/snip]
U.S. Air Force
Golani, IDF
Dotan Cohen
http://what-is-what.com
http://gibberish.co.il
2008/6/19 Nitsan Bin-Nun [EMAIL PROTECTED]:
Dan i'm 16 years old, currently my monthly salary (working as php
freelancer) almost catching my dad's and he is living good.
In 2 years from now I have to serv, probably at the battle field (I'm
healthy qualified) and usualy the place where guys
2008/6/19 Daniel Brown [EMAIL PROTECTED]:
I don't want to start any arguments or flame wars, but it's been
my opinion for years that the US should require at least one year in
the armed services as well. If you want freedom and privileges, you
should earn them, not feel automatically
'm a total newbie..i just want to know how can i display an http response 200
with this message message successfully sent ...here is my code
?php
if ($status == RETEMP02)
echo Mobile number is empty.;
elseif ($status == RETEMP03)
echo Message is empty.;
elseif ($status == RETEMP05)
echo Message
Hi,
Does someone knows of a PHP software that is an inline PDF reader ?
You can view the idea here:
http://www.scribd.com/doc/2025925/Clinical-chemistry-II-Biomedical-Science-practical-1
Any help would be appreciated.
Warm Regards,
Mário Gamito
--
PHP General Mailing List (http://www.php.net/)
joaquinbordado wrote:
'm a total newbie..i just want to know how can i display an http
response 200
Don't have time to customize it for you, but that's how it can be done-
header(HTTP/1.0 404 Not Found);
/*
*
* I copied the DOCTYPE from what Apache 1.3.34 returns.
*
*/
echo !DOCTYPE HTML
ryan gacusana wrote:
here is my code
when accessing this url
http://localhost/podcast/podcast.php?mobile=0823172message=2343443=%3Eryan
This runs on your computer, I can't access it.
else
echo Message has been sent successfully.;
// in this part i want to respond with a status of 200,sorry
my input mobile is 9051231223what i want to do is get the last 10 digit
of mobile number and append 0 at the beginning. can someone help me with
that..
--
View this message in context:
http://www.nabble.com/format-mobile-number-tp18027538p18027538.html
Sent from the PHP - General mailing
One of theses days I will ;)
But when you know a tool that will work and it's a simple little form
that's only going to be used by a few people occasionally until this
business takes off and I need to upgrade stuff... explode() works just
fine :P
On Jun 19, 2008, at 6:18 PM, Philip
hi everybody!
Hi!
is there some way to allow downloading a PHP generated file from an ajax
request?
the simple code below generates the image but not prompts the save or open
file... (it works if I call it directly, not from an HTML and using
ajax...)
thanks,
Pere
$layer=$_GET['params'];
I freely use defined constants for all fixed variables in my config file.
It insures they cannot be inadvertently reassigned by a function someplace and
are available everywhere.
define('MYSQL_HOST',localhost);
tedd wrote:
Hi gang:
More of a question of method rather than of right or wrong
On Thu, Jun 19, 2008 at 10:04 AM, tedd [EMAIL PROTECTED] wrote:
Hi gang:
More of a question of method rather than of right or wrong -- of the two
methods mentioned here, which way would be better and why?
1. Setting $GLOBALS one time as shown here.
At 12:23 AM -0400 6/19/08, Robert
pere roca wrote:
hi everybody!
Hi!
is there some way to allow downloading a PHP generated file from an ajax
request?
No idea, but would love to hear if/how you solved it.
Iv
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Something like:
$mobileNumber = 078;
$lastTen = substr($mobileNumber, strlen($mobileNumber) - 10);
$formatedNumber = 0 . $lastTen;
-Original Message-
From: joaquinbordado [mailto:[EMAIL PROTECTED]
Sent: Friday, June 20, 2008 12:15 PM
To: php-general@lists.php.net
Subject: [SPAM]
Mário Gamito wrote:
Hi,
Does someone knows of a PHP software that is an inline PDF reader ?
You can view the idea here:
http://www.scribd.com/doc/2025925/Clinical-chemistry-II-Biomedical-Science-practical-1
Any help would be appreciated.
Warm Regards,
Mário Gamito
What will happen if you
Sorry that should have been a quoted string:
$mobileNumber = 078;
For the strlen and substr.
-Original Message-
From: Chris Scott [mailto:[EMAIL PROTECTED]
Sent: Friday, June 20, 2008 1:15 PM
To: php-general@lists.php.net
Subject: [PHP] RE: [SPAM] [PHP] format mobile number
On Fri, Jun 20, 2008 at 8:02 AM, pere roca [EMAIL PROTECTED] wrote:
hi everybody!
Hi!
is there some way to allow downloading a PHP generated file from an ajax
request?
the simple code below generates the image but not prompts the save or open
file... (it works if I call it directly, not
Eric Butera wrote:
The only thing I can think of is using JS to create some sort of
IFRAME, meta redirect, window.location, or a popup window, something
that will force the page to hit your download script directly. I've
never attempted it myself so I'm not sure what sort of issues IE would
I've been going through the hoops documenting installation and recovery notes
for my customer sites. The majority of these run local web services with no
internet access from the servers, so with the increasing reliance on PEAR
extensions, I'm looking to the correct way to 'install' PEAR
yes Iv, surely this is a more js/Ajax issue... this is the one who has to
do something with php answer.
sorry,
Pere
2008/6/20 Iv Ray [EMAIL PROTECTED]:
Eric Butera wrote:
The only thing I can think of is using JS to create some sort of
IFRAME, meta redirect, window.location, or a
Al wrote:
I freely use defined constants for all fixed variables in my config file.
It insures they cannot be inadvertently reassigned by a function
someplace and are available everywhere.
That's a good idea, I have been thinking about this.
Never thought they have global scope, though - a
Hi gang:
I'm not big on globals, but that may be better than including a
config file every time a variable is needed. And considering that
these variables are not really variables, but more of the static
variety, then constants are a consideration.
Thanks for all the things to consider.
On Fri, Jun 20, 2008 at 8:47 AM, Iv Ray [EMAIL PROTECTED] wrote:
Eric Butera wrote:
The only thing I can think of is using JS to create some sort of
IFRAME, meta redirect, window.location, or a popup window, something
that will force the page to hit your download script directly. I've
never
Mário Gamito wrote:
Hi,
Does someone knows of a PHP software that is an inline PDF reader ?
You can view the idea here:
http://www.scribd.com/doc/2025925/Clinical-chemistry-II-Biomedical
-Science-practical-1
Any help would be appreciated.
Warm Regards,
Mário Gamito
I believe that you don't even have to program it, try to use:
iframe src='xxx.php'/iframe
And include download headers on the php file - as far as i remember it
should popup a save as dialog.
Regards,
Nitsan
On 20/06/2008, pere roca ristol [EMAIL PROTECTED] wrote:
yes Iv, surely this is a
At 8:07 AM -0400 6/20/08, Al wrote:
I freely use defined constants for all fixed variables in my config file.
It insures they cannot be inadvertently reassigned by a function
someplace and are available everywhere.
define('MYSQL_HOST',localhost);
Constants are a good solution for this,
At 8:18 AM -0400 6/20/08, Chris Scott wrote:
Sorry that should have been a quoted string:
$mobileNumber = 078;
Oh, now you tell me. :-)
tedd
--
---
http://sperling.com http://ancientstones.com http://earthstones.com
--
PHP General Mailing List (http://www.php.net/)
To
On Fri, Jun 20, 2008 at 2:59 AM, Per Jessen [EMAIL PROTECTED] wrote:
I don't know the story with the PHP lists, but if it's of any use, I'd
be happy to host a PHP-OT mailing list.
I had been considering the same more and more. I had a brief
conversation yesterday with Philip (Olsen, from
At 11:37 PM -0400 6/19/08, Robert Cummings wrote:
If I would still get wrapping, then I use a block style:
functionWithFarToManyParamsOrLongVariableNames
(
$param1, $param2, $param3, $param4, $param5, $param6,
$param7, $param8, $param9, $paramA, $paramB, $paramC
);
eric cash escreveu:
Stupid question time! I can't find my answer anywhere, sorry about this...
The nature of the return value of exif_imagetype() is baffling me. The
php manual uses one simple example like this:
code
?php
if (exif_imagetype('image.gif') != IMAGETYPE_GIF) {
echo 'The
On Fri, 2008-06-20 at 08:07 -0400, Al wrote:
I freely use defined constants for all fixed variables in my config file.
I guess you have no fixed array values since constants don't support
non-scalars.
The nice thing about arrays is how they group related configuration
entries together.
Cheers,
On Fri, 2008-06-20 at 10:31 -0400, tedd wrote:
At 11:37 PM -0400 6/19/08, Robert Cummings wrote:
If I would still get wrapping, then I use a block style:
functionWithFarToManyParamsOrLongVariableNames
(
$param1, $param2, $param3, $param4, $param5, $param6,
Not so Robert, here's how I typically handle such situations.
$reqdApplicFilesArray = array(// *Required application files and define() value
'regAdminSettings.db' = 'ADMIN_SETTINGS_FILE',
'regMemberData.db' = 'MEMBER_DATA_FILE',
'emailCellSettings.db' = 'EMAIL_CELL_SETTINGS_FILE',
);
On Fri, 2008-06-20 at 11:32 -0400, Al wrote:
Not so Robert, here's how I typically handle such situations.
$reqdApplicFilesArray = array(// *Required application files and define()
value
'regAdminSettings.db' = 'ADMIN_SETTINGS_FILE',
'regMemberData.db' = 'MEMBER_DATA_FILE',
Am 2008-06-17 14:43:52, schrieb Wei, Alice J.:
This is my PHP code:
mkdir(C:/Inetpub/wwwroot/TPU/test/$id, 0755) or die (pCannot crea
^ ^
The is missing
Thanks, Greetings and nice Day/Evening
Michelle Konzack
Am 2008-06-18 13:34:19, schrieb Daniel Brown:
Even Microsoft's website. ;-P
Do you think, you can DoS the Akamai network?
Thanks, Greetings and nice Day/Evening
Michelle Konzack
Systemadministrator
24V Electronic Engineer
Tamay Dogan Network
Debian GNU/Linux Consultant
At 11:18 AM -0400 6/20/08, Robert Cummings wrote:
Hahah, I was wondering if you would catch my little tidbit ;)
Cheers,
Rob.
--
Rob:
I always read your posts.
As I have said many times I have never met a man that I couldn't learn from.
In your case, I usually learn more.
Cheers,
tedd
--
At 11:16 AM -0400 6/20/08, Robert Cummings wrote:
On Fri, 2008-06-20 at 08:07 -0400, Al wrote:
I freely use defined constants for all fixed variables in my config file.
I guess you have no fixed array values since constants don't support
non-scalars.
The nice thing about arrays is how they
At 11:32 AM -0400 6/20/08, Al wrote:
Not so Robert, here's how I typically handle such situations.
$reqdApplicFilesArray = array(// *Required application files and
define() value
'regAdminSettings.db' = 'ADMIN_SETTINGS_FILE',
'regMemberData.db' = 'MEMBER_DATA_FILE',
'emailCellSettings.db' =
At 12:11 PM -0400 6/20/08, Robert Cummings wrote:
For instance I define multiple aliases databases and
perform a lookup into the database configuration via the key:
$GLOBALS['interJinn']['databases'] = array
(
'db1' = array( /* config */ ),
'db2' = array( /* config */ ),
'db3' =
Am 2008-06-18 09:23:37, schrieb Philip Thompson:
They're attacking you b/c they've read your previous posts to this
list about blocking javascript, so they're just testing you. If I were
you, I'd consider it to be a privilege that you're getting DoS'd. =P
:-/
I had such things already
On Fri, Jun 20, 2008 at 8:02 AM, pere roca [EMAIL PROTECTED] wrote:
[snip!]
imagepng($image,'definitius_hola.png');
Here you call it 'definitius_hola.png'
$h = fopen(definitius.png, r);
header(Content-Type: image/png);
header(Content-Disposition: attachment;
On Fri, Jun 20, 2008 at 12:59 PM, Daniel Brown [EMAIL PROTECTED] wrote:
Once you get your download script fixed, try adding these lines to
your page:
iframe height=0 width=0 name=dl id=dl frameborder=0/iframe
a href=img.php target=dlClick to Download/a
And just replace img.php with
On Thu, Jun 19, 2008 at 7:29 PM, Kyle Browning [EMAIL PROTECTED] wrote:
Why not md5 the password, and store the md5 encryption.
Then when they type something in, md5 it and compare the md5 strings.
That will ensure that it is Case Sensitive
On Thu, Jun 19, 2008 at 2:04 PM, R.C. [EMAIL
Daniel Brown wrote:
Now consider the description of the list itself:
This is a really high volume general list for PHP users.
A general list for PHP users. I know damn well what the spirit
of it means, but by definition, it means a 'general forum for
discussion offered
On Thu, Jun 19, 2008 at 12:42 PM, Daniel Brown [EMAIL PROTECTED] wrote:
I don't want to start any arguments or flame wars, but it's been
my opinion for years that the US should require at least one year in
the armed services as well. If you want freedom and privileges, you
should earn
On Wed, Jun 18, 2008 at 3:33 PM, Michelle Konzack
[EMAIL PROTECTED] wrote:
Am 2008-06-18 13:34:19, schrieb Daniel Brown:
Even Microsoft's website. ;-P
Do you think, you can DoS the Akamai network?
A DoS attack is novice work ;-P
However, the fact is, with enough resources,
On Fri, Jun 20, 2008 at 12:20 PM, tedd [EMAIL PROTECTED] wrote:
Rob:
I always read your posts.
As I have said many times I have never met a man that I couldn't learn
from.
In your case, I usually learn more.
Tedd must've received the check (cheque).
--
/Daniel P. Brown
Dedicated
Marine Corps..
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
At 2:10 PM -0400 6/20/08, Daniel Brown wrote:
On Fri, Jun 20, 2008 at 12:20 PM, tedd [EMAIL PROTECTED] wrote:
Rob:
I always read your posts.
As I have said many times I have never met a man that I couldn't learn
from.
In your case, I usually learn more.
Tedd must've received the
Don't top post! :-o
On Fri, Jun 20, 2008 at 7:44 AM, Jason Pruim [EMAIL PROTECTED] wrote:
One of theses days I will ;)
There's only one 's' in 'these'.
But when you know a tool that will work and it's a simple little form that's
only going to be used by a few people occasionally
At 1:00 PM -0400 6/20/08, Daniel Brown wrote:
On Fri, Jun 20, 2008 at 12:59 PM, Daniel Brown [EMAIL PROTECTED] wrote:
Once you get your download script fixed, try adding these lines to
your page:
iframe height=0 width=0 name=dl id=dl frameborder=0/iframe
a href=img.php target=dlClick
On Fri, 2008-06-20 at 14:10 -0400, Daniel Brown wrote:
On Fri, Jun 20, 2008 at 12:20 PM, tedd [EMAIL PROTECTED] wrote:
Rob:
I always read your posts.
As I have said many times I have never met a man that I couldn't learn
from.
In your case, I usually learn more.
Tedd
Ah, the never ending loop... thanks for pointing that out.
Thats why I love this place... theres so many ways to skin a cat and here they
tell you the ways you have forgotten or overlooked.
Thanks again,
R
P.S will be deleting the urls that you created, hope you dont mind, coz just in
case
At 1:26 PM -0400 6/20/08, Andrew Ballard wrote:
On Thu, Jun 19, 2008 at 12:42 PM, Daniel Brown [EMAIL PROTECTED] wrote:
I don't want to start any arguments or flame wars, but it's been
my opinion for years that the US should require at least one year in
the armed services as well. If you
At 11:35 AM -0700 6/20/08, Ryan S wrote:
Thats why I love this place... theres so many ways to skin a cat
Yeah, but the cat ain't going to like any of them. (Foxworthy)
Cheers,
tedd
--
---
http://sperling.com http://ancientstones.com http://earthstones.com
--
PHP General Mailing List
$reqdApplicFilesArray is not a global array [as in $GLOBALS]; it's simply a convenient way to list
the variables I want to be globally available. The simple foreach defines them.
Robert Cummings wrote:
On Fri, 2008-06-20 at 11:32 -0400, Al wrote:
Not so Robert, here's how I typically handle
At 2:21 PM -0400 6/20/08, Daniel Brown wrote:
On Fri, Jun 20, 2008 at 7:44 AM, Jason Pruim [EMAIL PROTECTED] wrote:
One of theses days I will ;)
There's only one 's' in 'these'.
Grammar police alert!
Always do a better job than you need to do.
I agree with that -- however -- if
clip
Thats why I love this place... theres so many ways to skin a cat
Yeah, but the cat ain't going to like any of them. (Foxworthy)
/clip
Hehe good one!
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On Fri, Jun 20, 2008 at 2:35 PM, Ryan S [EMAIL PROTECTED] wrote:
Ah, the never ending loop... thanks for pointing that out.
Thats why I love this place... theres so many ways to skin a cat and here
they tell you the ways you have forgotten or overlooked.
As long as you remember to give
First, thanks to all who helped with the protected page/email notification.
Works great.
One more thing to ask you gurus:
Here's the workflow: user clicks on login.php (which has the login form)
fills out form and get directed to video.php. (if the password is incorect,
it opens up loginfail.php
On Fri, Jun 20, 2008 at 2:33 PM, Robert Cummings [EMAIL PROTECTED] wrote:
On Fri, 2008-06-20 at 14:10 -0400, Daniel Brown wrote:
On Fri, Jun 20, 2008 at 12:20 PM, tedd [EMAIL PROTECTED] wrote:
Rob:
I always read your posts.
As I have said many times I have never met a man that I
On Fri, Jun 20, 2008 at 2:19 PM, tedd [EMAIL PROTECTED] wrote:
At 2:10 PM -0400 6/20/08, Daniel Brown wrote:
On Fri, Jun 20, 2008 at 12:20 PM, tedd [EMAIL PROTECTED] wrote:
Rob:
I always read your posts.
As I have said many times I have never met a man that I couldn't learn
from.
On Fri, Jun 20, 2008 at 2:21 PM, tedd [EMAIL PROTECTED] wrote:
Oh, so now you tell us. :-)
Hey, back off! You knew I was a horrible person long before this
thread! ;-P
--
/Daniel P. Brown
Dedicated Servers - Intel 2.4GHz w/2TB bandwidth/mo. starting at just
$59.99/mo. with no contract!
On Fri, Jun 20, 2008 at 5:35 AM, joaquinbordado [EMAIL PROTECTED] wrote:
'm a total newbie..i just want to know how can i display an http response 200
with this message message successfully sent ...here is my code
HTTP code 200 just means OK. Any successful location and serving
of a web
At 3:57 PM -0400 6/20/08, Daniel Brown wrote:
My preference here would be:
?php
if ($status == RETEMP02) {
echo Mobile number is empty.;
} elseif ($status == RETEMP03) {
echo Message is empty.;
} elseif ($status == RETEMP05) {
echo Message Id is empty.;
} elseif ($status ==
At 12:29 PM -0700 6/20/08, R.C. wrote:
Without having a database for this, I believe one could use sessions to keep
the information in memory and transferrable to all the video subpages while
user is on the site? I tried playing with this but couldn't get this to go.
If you had used my
Someone had to start some thread like this..
I think we should create another list for those OT's as Daniel suggested.
Any ideas?
Regards Shabat Shalom,
Nitsan
btw
I cant see any reasonable cause to avoid OT's in the general list, but if
you think its not related, so it will be better to solve
tedd [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
If you had used my minimal method, I could have provided you with a
simple example. But considering you want bloat, try reading the
manual about sessions. :-)
Cheers,
tedd
This was very helpful Tedd sorry I used someone
On Saturday 21 June 2008 00:23:04 Nitsan Bin-Nun wrote:
Someone had to start some thread like this..
I think we should create another list for those OT's as Daniel suggested.
Any ideas?
Regards Shabat Shalom,
Nitsan
btw
I cant see any reasonable cause to avoid OT's in the general list,
Ok, I was having trouble posting to the 'php-general@lists.php.net' mailing
list directly. All my posts are bounced. I found this forum and so I will
continue here since I still have had no luck and my entire project hangs on
some sort of graphic support. The server admin told me GD support is
On Fri, 2008-06-20 at 14:42 -0400, tedd wrote:
At 11:35 AM -0700 6/20/08, Ryan S wrote:
Thats why I love this place... theres so many ways to skin a cat
Yeah, but the cat ain't going to like any of them. (Foxworthy)
I'd have to argue that the above claim is only true if the cat is still
On Fri, 2008-06-20 at 15:51 -0400, Daniel Brown wrote:
On Fri, Jun 20, 2008 at 2:19 PM, tedd [EMAIL PROTECTED] wrote:
At 2:10 PM -0400 6/20/08, Daniel Brown wrote:
On Fri, Jun 20, 2008 at 12:20 PM, tedd [EMAIL PROTECTED] wrote:
Rob:
I always read your posts.
As I have said
I'l post where ever I want in my own thread Master Brown :P
Maybe just to confuse people even more, I should rot_13 this e-mail :P
On Jun 20, 2008, at 2:21 PM, Daniel Brown wrote:
Don't top post! :-o
On Fri, Jun 20, 2008 at 7:44 AM, Jason Pruim [EMAIL PROTECTED]
wrote:
One of theses
On Sat, 2008-06-21 at 01:14 +0300, Sancar Saran wrote:
On Saturday 21 June 2008 00:23:04 Nitsan Bin-Nun wrote:
Someone had to start some thread like this..
I think we should create another list for those OT's as Daniel suggested.
Any ideas?
Regards Shabat Shalom,
Nitsan
btw
I
80 matches
Mail list logo