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: http://www.php.net/un
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 Mail
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 out
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 Mai
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
ils=yes
Any advice/links would be much appreciated. If I am barking up 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 simultaneous
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 b
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
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
bri
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 nam
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 pro
hat we can implement?
Thanks!
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]>
S
I got this from the manual (i think):
This just continues a while loop until the script times out. We currently
use the refresh method but evaluating this as an alternative.
We call the database every second to retrieve any new lines of chat in the
room. You'll need to play around with a running
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; m
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" <[EM
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!:
http://www.madpenguin.org/modules.php?op=modload&name=NS-Comments&file=index&req=showreply&tid=1522&sid=751&pid=1520&mode=&order=&t
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:
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 ho
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, C
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', 'secretw
great.
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
Dear All,
Is there a way to request form fields which have the same name using POST?
I generate dynamic checkboxes all with the same name, but with different
values
etc
I could alternatively do it through GET and split the querystring, but i'd
prefer POST.
Thanks
Terence
--
PHP Ge
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
20 and the Hex# is 14, but I have 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
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 PROTEC
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, De
hanks
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
ection), since I need to do this:
function ReturnSQLResults() {
$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"
$staff_name="George";
$this->$staff_surname="Bush";
}
function StaffName() {
echo $this->$staff_name;
}
function StaffSurname() {
ech
- 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
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.
Is there a better way?
I have tried var $
>- 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.'';
>>
>>What I want t
Or is there a better way of doing this? Is there a function that merely
asks if an item (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
n (i think).
Good, bad or ugly?
Thanks
Terence
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Rush wrote:
"Terence" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
<>
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 templating system
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 prog
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
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
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 p
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.
>
>
? any 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
:\winnt
c:\winnt\system32
and copied all the required dll to corresponding directories. 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
when i start the apache. can you advice how can i solve
it?
i've also installed the
terence
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.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 =
>--snip--
>
>And I would get 3 as an answer.
>
>Thanks,
> FletchSOD
>
>
>
>
>
count($array);
--
PHP General Mail
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 =
>--snip--
>
>And I would get 3 as an answer.
>
>Thanks,
> FletchSOD
>
>
>
>
>
--
PHP General Ma
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 =
>--snip--
>
>And I would get 3 as an answer.
>
>Thanks,
> FletchSOD
>
>
>
>
>
--
PHP General Mail
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[]"
Untitled
".$varval."")
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
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 _co
ver Error in C:\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