Vikram Kumar wrote:
Hi!
I need a web calendar and online diary application.
Try this, it might fit your needs.
http://www.k5n.us/webcalendar.php
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Shaun wrote:
Hi,
How can I get the form values submitted from an iframe where the target is
the parent window?
Use Javascript. Check out irt.org - Javascript
They have lots of great examples.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit:
Ross wrote:
What is the correct syntax for
$query = SELECT * FROM login where username='$_POST['username']' AND pass
='$_POST['pass']';
Thought this would work.
R.
Search for SQL Injection and see why what you're doing is very
dangerous. Google is your friend.
--
PHP General Mailing
matt VanDeWalle wrote:
I don't really have a question, I just have noticed in working with php
for about a year off and on, so you could probably say i'm a bit new
still, what an error says it is, or what line it is on, is hardly ever
the case, e.g, several different times until i figured
Robert Prentice wrote:
snip
$reply = http_post(https://www.safetrustprocessing.com;, 80, /
Isnt https supposed to run on port 443? (or other than 80) Just a guess
xml_order_processing.php, array(myXml = $xml));
function http_post ($server, $port, $url, $vars) {
--
PHP General Mailing
am trying to get
at is,perhaps a reason for storing the password somewhere.
Your thoughts Richard?
Thanks!
Warm Regards
Terence
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
the wrong
tree throw me a bone please.
Thanks alot
Terence
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Murray @ PlanetThoughtful wrote:
Hi All,
I've recently been working on building my own wiki engine for my blog
site. While the majority of the engine is complete, a remaining concern
I have is how to handle competing edits (ie when two or more people are
editing the same wiki page
ioncube or Turck MMCache (free)
Anas Mughal wrote:
We need to protect our intellectual property. We wish to encode or obfuscate
our PHP code before delivering it to a client.
Could someone recommend an free PHP encoder or obfuscating tool. (This is a
very small project so we can NOT justify
We use a combination of timeout and user who has locked the record in a
form e.g.
User A opens the form. A record id is stored in the page and the db
record has 3 cols - is_locked (y/n), locked_by (user_id) locked_time
(datetime)
B then opens the form.
If the record is locked more then 5
Hi List,
I googled a bit but didnt get much. Are there tools other than the ones
on the PHP website (which are EXPERIMENTAL) that can be used to access
the Lotus notes framework, such as databases / tables / data from PHP.
Any tips out there for integration issues. Our company is looking at
Hi,
Say you have a querystring - index.php?myname=joe
To determine whether myname has a value I have come to the following
conclusions / shortcomings when using one of the following:
ISSET = as long as the variable myname exists it's set, but there's no
guarantee of a value
!EMPTY = if your
Under IE-View-Source and Bingo.
It's probably a javascript script. Easy to bypass.
PHP related...err no.
- Original Message -
From: Brent Clark [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, June 01, 2004 2:49 PM
Subject: [PHP] Cant right click
Hi all
On the link provided
!
Terence
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
You might want to try google, search for 'php resize image' or something
along those lines. very often there is lots of code already out there.
- Original Message -
From: Ryan Schefke [EMAIL PROTECTED]
To: 'Warren Vail' [EMAIL PROTECTED]; 'Php-General-Help'
[EMAIL PROTECTED]
Sent:
I got this from the manual (i think):
?php
ob_end_flush();
while (10==10) { // cool while loop
// get here som lines from a dbase or something
flush();
sleep(1);
}
?
This just continues a while loop until the script times out. We currently
use the refresh method but evaluating this as an
I currently follow the following steps when I need to compile a new module
in PHP:
1) Delete old source folders for APACHE and PHP (/usr/local/src)
2) Stop APACHE service
3) Delete the installation directories (/usr/local/apache /usr/local/php4)
4) Re-configure APACHE
5) Re-configure PHP; make;
checking lex output file root... ./configure: line 2425: lex: command not
found
configure: error: cannot find output from lex; giving up
and from a search on Yahoo!:
nope, just untarred and ran ./configure.
not to worry, installed flex and bison and it's okay.
the GD version reporting still puzzling me, and from what i've seen on a few
messageboards, i'm not alone :)
thanks
- Original Message -
From: Evan Nemerson [EMAIL PROTECTED]
To: Terence
and
serve as an example on how to write PHP *in general*?
Thanks for any advice,
Terence
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Post your code since it's like trying to solve a math problem writtin in
invisible ink during a blackout.
- Original Message -
From: Jake McHenry [EMAIL PROTECTED]
To: Raditha Dissanayake [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Thursday, March 18, 2004 1:43 PM
Subject: Re: [PHP]
Hi List,
I have a class with a constructor that sets the variables and I currently
use functions to return each one. When using alot of variables in the
constructor i tend to have many return functions. Is there a way to access
the constructor variables without using a return function?
This is
Hi All,
Can someone tell me which is better, or if there's a reason I should use one
and not the other (since both seem to work), and if this is the
correct way to access script variables inside functions (and classes):
Example 1
$GLOBALS['db_name']=website;
function QueryDB() {
echo
all in one awesome package:
www.oscommerce.com
- Original Message -
From: PHP Email List [EMAIL PROTECTED]
To: Jimmy [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Friday, February 13, 2004 1:48 PM
Subject: RE: [PHP] E-Commerce
Jimmy jimmy jimmy...
Now if your question is, Can PHP be
Why not use the AES_ENCRYPT and AES_DECRYPT functions?
from the MySQL manual:
AES_ENCRYPT() and AES_DECRYPT() were added in version 4.0.2, and can be
considered the most cryptographically secure encryption functions currently
available in MySQL.
SELECT AES_ENCRTPY('my_password_is_easy',
.
Hope this makes sense.
Thanks
Terence
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
use the square
brackets
in a field name, as this obviously conflicts with something in the script.
So I am wondering if there's any other way in PHP to get the items, or do I
have
to find an alternative way in javascript? If anyone has ideas it would be
great.
Thanks
Terence
my code
could alternatively do it through GET and split the querystring, but i'd
prefer POST.
Thanks
Terence
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
no idea
how to get it
into the ^T.
Thanks!
Terence
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
No, that's to add a tab, I am looking for CTRL (control) + T
Thanks anyway,
Terence
- Original Message -
From: Jason Wong [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, December 17, 2003 4:14 PM
Subject: Re: [PHP] Getting the CTRL T value
On Wednesday 17 December 2003 16:06
You should direct such queries to the MySQL mailing list as this is a PHP
list.
[EMAIL PROTECTED]
or try their website:
www.mysql.com
Your answer however is here:
http://www.mysql.com/doc/en/SELECT.html
- Original Message -
From: Richard Kurth [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
There's an autoincrement feature for mysql colums, why don't you consider
that?
CREATE TABLE auto_increment (id INT (4) NOT NULL AUTO_INCREMENT, PRIMARY
KEY(id), UNIQUE(id), INDEX(id))
- Original Message -
From: John Clegg [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday,
Terence
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
You could use MX records if you wanted to. I found this some time ago...
function checkEmail($Email) {
//Do the basic Reg Exp Matching for simple validation
if (eregi([EMAIL PROTECTED], $Email)) {
return FALSE;
}
//split the Email Up for Server validation
list($Username,
Jed R. Brubaker wrote:
Does PHP have an equivalent to PERL's chop - that is, a way to get rid of
the last character in a string?
Hello World to Hello Worl
Thanks in advance.
this might work, haven't tested it...
second param is optional
function chop($strSubject, $intWastage = 1) {
$strRes = ;
() {
$mysql_query = mysql_fetch_array($result);
return $mysql_query;
}
And then be able to just print the fields I require.
Thanks in advance!!!
Terence
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Dear List,
I've been struggling with this for some time now and can't for the life of
me figure out why the output is GeorgeGeorge and not GeorgeBush
?php
class StaffDetails {
var $staff_name;
var $staff_surname;
function StaffDetails() {
$this-$staff_name=George;
Hi List,
Since I started using error_reporting(E_ALL), I havent found (in my opinion)
a good way to declare GET and POST variables when getting them from a form
or querystring. I have searched google and the docs for several hours now
without much luck.
?php
error_reporting(E_ALL);
// This line
- Original Message -
From: Chris W. Parker [EMAIL PROTECTED]
Terence mailto:[EMAIL PROTECTED]
on Wednesday, October 29, 2003 4:40 PM said:
Since I started using error_reporting(E_ALL), I havent found (in my
opinion) a good way to declare GET and POST variables when getting
- Original Message -
From: Curt Zirzow [EMAIL PROTECTED]
To: php [EMAIL PROTECTED]
Sent: Tuesday, October 28, 2003 1:24 PM
Subject: Re: [PHP] Tricky variable syntax...
* Thus wrote René Fournier ([EMAIL PROTECTED]):
echo 'file name: '.$$fld_name.'br';
What I want to do is echo the
(say, '6') exists in ALL the results above?
Thanks in advance!
Terence
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
).
Good, bad or ugly?
Thanks
Terence
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Robert Cummings wrote:
On Sat, 2003-10-04 at 08:18, Terence wrote:
Bloody hell Rob, you've started me on another rant when I could be in bed ;)
*grin* glad to help out.
XSLT is a pain in the butt if you want to master it - particularly if
you're going from imperative programming
Rush wrote:
Terence [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
warning: very personal opinion to follow...
If you *do* finally decide to master XSLT, you have to conclude that
*any* other templating system is a complete/utter waste of time. (all
authors of ``yet another PHP
Robert Cummings wrote:
On Fri, 2003-10-03 at 11:30, Raditha Dissanayake wrote:
Hi,
Please give it a shot, it's real easy. far easier than any of the lame
php template systems i have seen. The beauty is that the same XML/XSL
combo can be used with PHP, perl, JSP/Servlets, C++, VC++,VB,C,C# and
I've just released the first distribution for an open-source project
called XML Application Objects (XAO). It's the result of working with
XML/XSLT in PHP for a couple of years now. Although this is an alpha
release, the concept itself has gone through a lot of refinement and is
now ready for
Terence wrote:
The publication of the project itself was partially motivated by the
discussions that took place in this thread (A Complete List of PHP
Template Engines?)
sorry, forgot to include the link to the thread.
http://www.sitepointforums.com/showthread.php?threadid=123769
--
PHP
the
terence
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
. same error
was encountered when i start the apache. can you advice how can i solve
it?
Terence
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
way to achieve getting
more than 8192 char from a line in a text file?
pls advice.
terence
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
hi Markus
thanks for your reply. what is the compatible version of mcrypt lib and php in
win32? also for linux?
terence
Markus Fischer wrote:
You're mixing an older library with a newer php version (or
the other way around). Please clean up your system first.
Please ask
cout($array)
Scott Fletcher wrote:
Is there PHP function that would get the total array count.
ie
--snip--
$array[0] = zero;
$array[1] = one;
$array[2] = two;
$array_count = function to get the array count
--snip--
And I would get 3 as an answer.
Thanks,
FletchSOD
--
PHP
count($array);
Scott Fletcher wrote:
Is there PHP function that would get the total array count.
ie
--snip--
$array[0] = zero;
$array[1] = one;
$array[2] = two;
$array_count = function to get the array count
--snip--
And I would get 3 as an answer.
Thanks,
FletchSOD
--
PHP
Scott Fletcher wrote:
Is there PHP function that would get the total array count.
ie
--snip--
$array[0] = zero;
$array[1] = one;
$array[2] = two;
$array_count = function to get the array count
--snip--
And I would get 3 as an answer.
Thanks,
FletchSOD
count($array);
--
PHP
This is a nice easy one :)
It couldn't be simpler.
Just put empty square brackets (as used in arrays) in front of your
checkbox name.
The example below assumes you have PHP 4.1 or greater (which uses
$_POST to contain form posted data)
notice how name=ck[]
html
head
I have had inconsistency issues when outputing diffrent content-types
to IE. It seems to cache the type for a articular file somewhere and
deleting temporary files in the usaer agent is no good. I have to
shut-down all instances of IE then re-launch it for it to behave like
it is supposed to
I've been developing an open source MVC framework in PHP and it's going OK. However, I
wanted to find out about any other frameworks around the place that do a similar
thing. I want to see how other people approach this design pattern.
Here are my main aims:
1) standardise development patterns
\PHP/index.php on line 4
ANY HELP IS APPRECIATED...
-Terence
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]
58 matches
Mail list logo