John Nichel wrote:
snip
Hey, I beat John Holmes That's me baby, quanity, not quality. ;)
Yeah apparently it is :P
--
Burhan Khalid
phplist[at]meidomus[dot]com
http://www.meidomus.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
auto-documentor similar to
JavaDoc written in PHP.
There is also a phpdoc iirc.
--
Burhan Khalid
phplist[at]meidomus[dot]com
http://www.meidomus.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
this error:
Cannot remove module mod_php4.c: not found module list
I removed the AddModule mod_php4.c directive, restart the server, but
remain the same problem
Verify the path to php4apache.dll
Read this http://www.meidomus.com/node/view/9
--
Burhan Khalid
phplist[at]meidomus[dot]com
http
-aware syntax highlighting text editor
like vim (Linux/Unix) or Editplus/Ultraedit, etc. for Windows. That also
helps.
--
Burhan Khalid
phplist[at]meidomus[dot]com
http://www.meidomus.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
first).
--
Burhan Khalid
phplist[at]meidomus[dot]com
http://www.meidomus.com
---
Documentation is like sex: when it is good,
it is very, very good; and when it is bad,
it is better than nothing.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http
, please don't
top post.
(where's that weekly newbie email?)
--
Burhan Khalid
phplist[at]meidomus[dot]com
http://www.meidomus.com
---
Documentation is like sex: when it is good,
it is very, very good; and when it is bad,
it is better than nothing.
--
PHP General Mailing List
Shaun wrote:
Hi,
Is there a way to filter metacharacters from all $_POST values sent from
pages on my site in an effort to eliminate the majority of XSS attacks?
htmlentities()
preg_match_all()
--
Burhan Khalid
phplist[at]meidomus[dot]com
http://www.meidomus.com
Shaun wrote:
Hi,
does anyone know of a function i can include in my scrpits to ensure all
$_POST values sent from a page don't include any SQL?
preg_match_all()
--
Burhan Khalid
phplist[at]meidomus[dot]com
http://www.meidomus.com
---
Documentation is like sex: when it is good
than those two.
Can you please let me know what it means to top post when you have a
moment?
Top post means posting on top of the text (what you did). Always paste
below the text that you are replying to (what I did).
--
Burhan Khalid
phplist[at]meidomus[dot]com
http://www.meidomus.com
question recently to which I (and others) posted some links to
some auto-document generators.
--
Burhan Khalid
phplist[at]meidomus[dot]com
http://www.meidomus.com
---
Documentation is like sex: when it is good,
it is very, very good; and when it is bad,
it is better than nothing
Steve Buehler wrote:
I am using PHP/MySQL and am having a problem. We have some names and
addresses in the database that have single quotes in them.
[snipped]
mysql_escape_string()
stripslashes()
addslashes()
--
Burhan Khalid
phplist[at]meidomus[dot]com
http://www.meidomus.com
'] : NULL;
Practical example :
$username = isset($_POST['username']) ? $_POST['username'] : NULL;
Other ways to do the same :
if(isset($_POST['username'])) {
$username = $_POST['username'];
} else { $username = NULL; }
--
Burhan Khalid
phplist[at]meidomus[dot]com
http
)
{print(#CC0033) ;}
tdtd/
tr/
--
Burhan Khalid
phplist[at]meidomus[dot]com
http://www.meidomus.com
---
Documentation is like sex: when it is good,
it is very, very good; and when it is bad,
it is better than nothing.
--
PHP General Mailing List (http://www.php.net
.
--
Burhan Khalid
phplist[at]meidomus[dot]com
http://www.meidomus.com
---
Documentation is like sex: when it is good,
it is very, very good; and when it is bad,
it is better than nothing.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net
/local/php
Not sure if the Apple Unix supports this, but you can always try
find / -name php
or
locate php
whereis php
--
Burhan Khalid
phplist[at]meidomus[dot]com
http://www.meidomus.com
---
Documentation is like sex: when it is good,
it is very, very good; and when it is bad
dr. zoidberg wrote:
Hello,
how can I read element1, element2 and element3 from array:
a|a:1:{i:1;a:3:{
i:0;s:6:element1;
i:1;s:5:element2;
i:2;s:6:element3;
}}
http://www.php.net/unserialize
--
Burhan Khalid
phplist[at]meidomus[dot]com
http://www.meidomus.com
read http://www.mysql.com/manual
--
Burhan Khalid
phplist[at]meidomus[dot]com
http://www.meidomus.com
---
Documentation is like sex: when it is good,
it is very, very good; and when it is bad,
it is better than nothing.
--
PHP General Mailing List (http://www.php.net
:|
--
Burhan Khalid
phplist[at]meidomus[dot]com
http://www.meidomus.com
---
Documentation is like sex: when it is good,
it is very, very good; and when it is bad,
it is better than nothing.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net
notification?
Probably
Funny..
Not really, considering those kinds of notices are what can prevent some
hour-long headscratching trying to figure out why a piece of code isn't
working when $name was typed as $names.
--
Burhan Khalid
phplist[at]meidomus[dot]com
http://www.meidomus.com
: parent1_child1_grandchild1_grandchild2,
etc.($some_path = 1_4_6_8), where all of these are related to each other.
These, of course, are split using the underscore delimeter: $path['0'] = 1,
$path['1'] = 4, and so on.
Can you give a sample of what the print_r() of the desired output would
be like? That would help :)
--
Burhan Khalid
would be useful.
http://pear.php.net/HTML_Quickform
http://smarty.php.net
--
Burhan Khalid
phplist[at]meidomus[dot]com
http://www.meidomus.com
---
Documentation is like sex: when it is good,
it is very, very good; and when it is bad,
it is better than nothing.
--
PHP General
://www.php.net/pdf
executing the below code giving error.This code is given in HTMLDOC.
What error?
--
Burhan Khalid
phplist[at]meidomus[dot]com
http://www.meidomus.com
---
Documentation is like sex: when it is good,
it is very, very good; and when it is bad,
it is better than nothing
Binay wrote:
Hi all !
I want to display numbers(integer,float,double) up to 2 places of decimal i.e if number is interger say 10, then i want to display it like 10.00.
STFA this question comes up one every 2 days.
--
Burhan Khalid
phplist[at]meidomus[dot]com
http://www.meidomus.com
( www.pastebin.com for example )
--
Burhan Khalid
phplist[at]meidomus[dot]com
http://www.meidomus.com
---
Documentation is like sex: when it is good,
it is very, very good; and when it is bad,
it is better than nothing.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe
/ tag?
I know NN 4.x has problems with br/ /found this out the hard way/ but
I don't know of any browser that can't render br /.
Although I would love to be proved wrong here :P
--
Burhan Khalid
phplist[at]meidomus[dot]com
http://www.meidomus.com
---
Documentation is like sex
would be useful.
On reflection, maybe what you were looking for is something like
codecharge? [ http://www.codecharge.com ]
--
Burhan Khalid
phplist[at]meidomus[dot]com
http://www.meidomus.com
---
Documentation is like sex: when it is good,
it is very, very good; and when
Bas wrote:
It's avaiable on:
http://members.home.nl/famde.jong/portalBT-0.0.1.zip
Get your own list. php.general is not your personal announcement list.
--
Burhan Khalid
phplist[at]meidomus[dot]com
http://www.meidomus.com
---
Documentation is like sex: when it is good
Payne wrote:
Hi,
I have a Javascript that I like to use with PHP/MYSQL, But I don't know
how to mix the two...
Here is an example.
?php
/* do php stuff here, like set a value to $x */
$x = 3;
?
script
funtion x() { var foo = ?php echo $x; ?; alert(foo); }
/script
--
Burhan Khalid
apur kurub ver.1 wrote:
dear all
i will execute background process like
$program
is there posible in php to process that statement? and return to php
immediately;
http://www.php.net/system
--
Burhan Khalid
phplist[at]meidomus[dot]com
http://www.meidomus.com
a
calendar where the dates on the calendar are highlighted ... why don't
you do an in_array() check for each date that you print.
if (in_array($current_cal_date, $array_of_event_dates))
{
echo td class=\highlighted\.$current_cal_date./td;
}
Hope this helps.
--
Burhan Khalid
phplist[at]meidomus
is called Camel Case
--
Burhan Khalid
phplist[at]meidomus[dot]com
http://www.meidomus.com
---
Documentation is like sex: when it is good,
it is very, very good; and when it is bad,
it is better than nothing.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit
, something like this should work :
$dates = array();
while($row = mysql_fetch_assoc($result))
{
$dates[] = $row;
}
echo pre; print_r($dates); echo /pre;
TIAS :)
--
Burhan Khalid
phplist[at]meidomus[dot]com
http://www.meidomus.com
---
Documentation is like sex: when it is good
command
and would take care of your concatenation problem.
--
Burhan Khalid
phplist[at]meidomus[dot]com
http://www.meidomus.com
---
Documentation is like sex: when it is good,
it is very, very good; and when it is bad,
it is better than nothing.
--
PHP General Mailing List
.
Any non-zero number evaluates to true. In your statement, you are
essentially asking if the value of $_POST['test'] is greater than 0
which would return true. So if test = 0, then the if condition fails,
hence why you are getting your problems.
--
Burhan Khalid
phplist[at]meidomus[dot]com
http
if $variable is a
string foo (iirc).
Hopefully this helps,
--
Burhan Khalid
phplist[at]meidomus[dot]com
http://www.meidomus.com
---
Documentation is like sex: when it is good,
it is very, very good; and when it is bad,
it is better than nothing.
--
PHP General Mailing List (http
classifying them as a PHP.net website problem and providing as much
information as possible (OS, Browser version, Javascript errors, etc..).
--snip--
Thanks,
Scott
--
Burhan Khalid
phplist[at]meidomus[dot]com
http://www.meidomus.com
---
Documentation is like sex: when it is good
/keyword.paamayim-nekudotayim.php
--
Burhan Khalid
phplist[at]meidomus[dot]com
http://www.meidomus.com
---
Documentation is like sex: when it is good,
it is very, very good; and when it is bad,
it is better than nothing.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe
/putenv
putenv(TZ=EST); etc. (check the user notes).
locale iirc is for controlling the display of time, not the time zone.
--
Burhan Khalid
phplist[at]meidomus[dot]com
http://www.meidomus.com
---
Documentation is like sex: when it is good,
it is very, very good; and when
in a public forum like this.
If you can't find the option in your control panel (I know cpanel has it
as a last option under the mysql section), you can ask your host to add
an alias for mysql.
--
Burhan Khalid
phplist[at]meidomus[dot]com
http://www.meidomus.com
---
Documentation
will not work.
Also, this will not work because 0 is considered false in PHP. So if
status is 0, then it won't echo anything (nevermind the syntax error).
Try
$status = isset($_GET['status']) ? $_GET['status'] : NULL;
echo $status;
--
Burhan Khalid
phplist[at]meidomus[dot]com
http
them.
Just my opinions.
--
Burhan Khalid
phplist[at]meidomus[dot]com
http://www.meidomus.com
---
Documentation is like sex: when it is good,
it is very, very good; and when it is bad,
it is better than nothing.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe
(SELECT * FROM $tablename)or die(couldnt select
table);
$tablename is not being passed with the link.
What am i missing?
RTFM @ http://www.php.net/security.registerglobals
STFA
This question is another one of those twice daily ones.
--
Burhan Khalid
phplist[at]meidomus[dot]com
http://www.meidomus.com
, if yes how ? if no any other work around ?
You can store the session information in a database that can be read
from all three websites.
--
Burhan Khalid
phplist[at]meidomus[dot]com
http://www.meidomus.com
---
Documentation is like sex: when it is good,
it is very, very good
.
Consider using SOAP or XML-RPC
--
Burhan Khalid
phplist[at]meidomus[dot]com
http://www.meidomus.com
---
Documentation is like sex: when it is good,
it is very, very good; and when it is bad,
it is better than nothing.
--
PHP General Mailing List (http://www.php.net
mainly interested in how the search
should work.
You could use the filesystem functions and read the directory's contents
into an array and search that array for your file. Look up
http://www.php.net/filesystem
--
Burhan Khalid
phplist[at]meidomus[dot]com
http://www.meidomus.com
($foo))
{
echo For key .$key. the value is .$value;
}
--
Burhan Khalid
phplist[at]meidomus[dot]com
http://www.meidomus.com
---
Documentation is like sex: when it is good,
it is very, very good; and when it is bad,
it is better than nothing.
--
PHP General Mailing List (http
D. Jame wrote:
Hi,
Anyone know about imail.?
Read http://www.catb.org/~esr/faqs/smart-questions.html
--
Burhan Khalid
phplist[at]meidomus[dot]com
http://www.meidomus.com
---
Documentation is like sex: when it is good,
it is very, very good; and when it is bad
) {
print li$p;
}
print /ol;
}
?
a href=listing16.4.phpBack to product choice page/a
/body
/html
you are missing session_start(); on 16.5 You need that in order to
populate the $_SESSION array.
--
Burhan Khalid
phplist[at]meidomus[dot]com
http://www.meidomus.com
://www.meidomus.com/node/view/21 (that's one I wrote)
http://www.google.com/search?q=parsing+xml+php (some that I didn't)
--
Burhan Khalid
phplist[at]meidomus[dot]com
http://www.meidomus.com
---
Documentation is like sex: when it is good,
it is very, very good; and when it is bad
)
--
Burhan Khalid
phplist[at]meidomus[dot]com
http://www.meidomus.com
---
Documentation is like sex: when it is good,
it is very, very good; and when it is bad,
it is better than nothing.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http
Fernando Melo wrote:
Hi everyone,
What is the quickest and easiest way to enable access to a MS SQL database
from a Linux server (using PHP functions ofcourse), seeing as the MSSQL
extension is available on Win32 systems only.
ODBC
--
Burhan Khalid
phplist[at]meidomus[dot]com
http
signature
twice (especially if its as grand as Jay's).
Where is that newbie email?
--
Burhan Khalid
phplist[at]meidomus[dot]com
http://www.meidomus.com
---
Documentation is like sex: when it is good,
it is very, very good; and when it is bad,
it is better than nothing.
--
PHP
package.
--
Burhan Khalid
phplist[at]meidomus[dot]com
http://www.meidomus.com
---
Documentation is like sex: when it is good,
it is very, very good; and when it is bad,
it is better than nothing.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http
://www.php.net/popen
--
Burhan Khalid
phplist[at]meidomus[dot]com
http://www.meidomus.com
---
Documentation is like sex: when it is good,
it is very, very good; and when it is bad,
it is better than nothing.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http
-- however
good database design will help a lot in this regard.
--
Burhan Khalid
phplist[at]meidomus[dot]com
http://www.meidomus.com
---
Documentation is like sex: when it is good,
it is very, very good; and when it is bad,
it is better than nothing.
--
PHP General Mailing List
file using PHP.
--
Burhan Khalid
phplist[at]meidomus[dot]com
http://www.meidomus.com
---
Documentation is like sex: when it is good,
it is very, very good; and when it is bad,
it is better than nothing.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit
on the MySQL list.
--
Burhan Khalid
phplist[at]meidomus[dot]com
http://www.meidomus.com
---
Documentation is like sex: when it is good,
it is very, very good; and when it is bad,
it is better than nothing.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit
not too sure about that. There are probably better
ways to do the same on other systems, but this is the quick example I
could think of.
--
Burhan Khalid
phplist[at]meidomus[dot]com
http://www.meidomus.com
---
Documentation is like sex: when it is good,
it is very, very good
are on IIS, you need to set the script read/write permissions,
iirc. If you are on Apache, I don't think permissions come into play.
--
Burhan Khalid
phplist[at]meidomus[dot]com
http://www.meidomus.com
---
Documentation is like sex: when it is good,
it is very, very good
)
--
Burhan Khalid
phplist[at]meidomus[dot]com
http://www.meidomus.com
---
Documentation is like sex: when it is good,
it is very, very good; and when it is bad,
it is better than nothing.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net
how i can find?
http://pear.php.net/package/HTML_Progress
--
Burhan Khalid
phplist[at]meidomus[dot]com
http://www.meidomus.com
---
Documentation is like sex: when it is good,
it is very, very good; and when it is bad,
it is better than nothing.
--
PHP General Mailing List (http
[] = $letters[$char[$i]];
$ran_num[] = $digits[$num[$i]];
}
//build our password
$password = array_unique(array_merge($ran_char, $ran_num));
//randomize it
shuffle($password);
return join(,$password);
}
echo passgen();
?
--
Burhan Khalid
phplist[at]meidomus[dot]com
http
before posts. VB has this option.
--
Burhan Khalid
phplist[at]meidomus[dot]com
http://www.meidomus.com
---
Documentation is like sex: when it is good,
it is very, very good; and when it is bad,
it is better than nothing.
--
PHP General Mailing List (http://www.php.net
Steve Vernon wrote:
Hello,
I have search google, and PHP but I cannot find properly how to set the
maximum post upload size as 200Kb?
Amazing what you can find in the manual these days
http://www.php.net/manual/en/configuration.directives.php#ini.post-max-size
--
Burhan Khalid
phplist[at]meidomus
(as far as uploads go).
--
Burhan Khalid
phplist[at]meidomus[dot]com
http://www.meidomus.com
---
Documentation is like sex: when it is good,
it is very, very good; and when it is bad,
it is better than nothing.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe
with an index without declaring it
as an array.
$string = foo;
echo $string{0}; //outputs f
http://www.php.net/substr (has an example)
Maybe this will solve your problem without using preg_split?
--
Burhan Khalid
phplist[at]meidomus[dot]com
http://www.meidomus.com
Nick Wilson wrote:
Hi all,
under 4.3 is there any way to work with XSLT and XML that *does not*
require additional modules etc to be installed? Perhaps a set of classes
or somesuch?
Many thanks...
http://pear.php.net
http://www.phpclasses.org
--
Burhan Khalid
phplist[at]meidomus[dot]com
http
Development related
feeds (you can then use the URLs in your own reader).
am basically trying to get a feed from around 4 sites for around 5 links
each...
http://www.zend.com/zend_rss.php is a good one to have
--
Burhan Khalid
phplist[at]meidomus[dot]com
http://www.meidomus.com
-Original Message-
From: Jeremy Russell [mailto:[EMAIL PROTECTED]
Sent: Tuesday, December 30, 2003 11:17 PM
To: [EMAIL PROTECTED]
Subject: [PHP] A hint...
Hello list..
I was needing a small hint on how to make a sort of status page...
What I have is a function that takes a few
Scott Taylor wrote:
What is the easiest way to access a page that is protected by HTTP basic
authentication through PHP? In other words, I have a PHP page that will
get the username and password off a database and will then login
through HTTP authentication to access a second page (say an
Jay Blanchard wrote:
[snip]
please can somebody help me. I am going nuts.
Really I am close to totally freaking out.
[/snip]
Sorry to hear that
[snip]
In the file page_dentona.class.php the first line says the following:
require_once('../design/page.class.php');
The following error message
Shawn McKenzie wrote:
Maybe a dumb question, but as good coding practice, should all functions
return something even if they don't need to???
Example:
function do_it()
{
echo hi;
}
--or--
function do_it()
{
return echo hi;
}
Also, if they do other things but really don't return anything,
bernard wrote:
Hi,
Thanks for the suggestions !
Problem is solved sofar.
But how can I open the link in a new window, I tried (with my limited php
knowlegde) a lot of things, but i'ts not working :-(
From the Newbie Guide :
6. PHP is a server side scripting language.
Whatever processing
Børge Strand wrote:
Hi,
In my php code, how can I fetch the input from another website and
parse its output without sending it to the client?
What I want to do is this:
My php program uses sends send some information to a .cgi file
possibly on a different site. That file uses GET to fetch the
Glenn Yonemitsu wrote:
I don't want to rely on PEAR, mainly because I don't know it too well to
use it fully. But most PHP installs come with base PEAR classes, so does
that take away my ability to name classes that PEAR already made? (ie.
class DB).
No.
--
PHP General Mailing List
Diana Castillo wrote:
why do I get this error?
Fatal error: Unsupported operand types in c:\program files\apache
group\apache\htdocs\web\usr\local\global\php\providers\interfaces\TouricoTes
tInterface.php on line 827
the code is as follows:
$price=0;
Here $price is an integer.
foreach
Greetings All :
Is there an application that can load php files and create a flow diagram for the
application? Something like Visio but for PHP applications only.
Thanks for any pointers,
Burhan | phplist[at]meidomus[dot]com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe,
Burhan Khalid wrote:
Marc A. Garrett wrote:
Has anyone installed phpCollab on a shared server? I have a php
account with MediaTemple and was hoping to find a few pointers. --
Marc A. Garrett since1968.com
I have installed it a few times on shared hosting accounts without
any problems
[EMAIL PROTECTED] wrote:
Hi all,
is there in PHP a function that create a new directory on server?
Regards,
Frank
www.automationsoft.biz
Don't send your messages high priority. They are not high-priority.
--
Burhan Khalid
phplist[at]meidomus[dot]com
--
PHP General Mailing List (http
them to type P)
is this possible?
thanks,
Matt
Yes. See
http://homepages.tesco.net/~J.deBoynePollard/FGA/questions-with-yes-or-no-an
swers.html
--
Burhan Khalid
phplist[at]meidomus[dot]com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net
to print the result in a human readable
way ?
Thx
http://www.php.net/date
--
Burhan Khalid
phplist[at]meidomus[dot]com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
/tut/authentication.php
--
Burhan Khalid
phplist[at]meidomus[dot]com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
]
--
Burhan Khalid
phplist[at]meidomus[dot]com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
( there are several links to toot-o-matic, but that should get you started )
--
Burhan Khalid
phplist[at]meidomus[dot]com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
to start?
How about starting at the manual? What a novel concept that is!
http://www.php.net/manual/en/function.basename.php
--
Burhan Khalid
phplist[at]meidomus[dot]com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Diana Castillo wrote:
does anyone know how to do an explode where the separator is a
linefeed?
You could try explode(\n, $stuff);, but if you are wanting to read
information from a file and store each line in an array, the file() function
does exactly that.
--
Burhan Khalid
phplist
Nick Wilson wrote:
* and then Burhan Khalid declared
Nick Wilson wrote:
I'm looking for a tool that will parse an xml doc into somthing like an
associative array for me. Basically somthing to make life simple when
dealing with Amazon XML docs.
I have been all thru hotscripts and even tried
Jakes wrote:
I got this out the manual:
?php
$email = '[EMAIL PROTECTED]';
$domain = strstr($email, '@');
print $domain; // prints @example.com
?
how do I get the user ranther than @example.comThanks
$bits = explode('@',$email);
echo $bits[0];
http://www.php.net/explode
--
PHP General Mailing
Bryan Henry wrote:
Chmod and file_exists report that the file does not exist,
even though I can view the files via the FTP client.
This is a permissions problem.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
[EMAIL PROTECTED] wrote:
I'm trying to create a PHP sequential random character generator that will output to a file database of some sort. The randomization needs to be using both capital letters and numbers. I need to output like 2 million records. Can someone point me in the right direction on
Axiom wrote:
Why is it that in the following code that $value comes back with just the
word ARRAY instead of the actual result?
if (($value = mysql_fetch_row($result)) AND ($value == $username)) {
echo You are authenticated;
} else {
echo Your username or password is
Vincent Bouret wrote:
Hi,
I was trying to figure out if there was any way I could run Apache in
Windows 2000 as a service which is allowed to interact with desktop and
which has network priviledges? I try to exec a an .exe from PHP which needs
network priviledges and which needs to interact with
Karl Timmermann wrote:
I'm looking for some code to get the latest weather and put it on my
webpage, and have it very customizable. What are your favorites?
http://weatherpixie.com/
Can't get any more customized than that ;)
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe,
[EMAIL PROTECTED] wrote:
Dear All,
Is there ( www.php.net ) RPM / SRPMS packages can be downloaded ?
www.rpmfind.net
Next time, google for it.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Ryan A wrote:
Hi,
I installed OSCommerce for a client quite some time back and everything was
running smoothly.
When the client needed to make changes she used to tell me and I used to do
it by ftping in, dl'ing the
files, making changes, uploading them.
Now she found that in the control panel
Bambero wrote:
Hi
I need to split a string by the: , (comma) separator, but when the comma
is beetwen
it should be skipped.
Ex:
test ts sasa, assas sasa,asaas dasdas, da
= test ts sasa
= assas sasa,asaas dasdas
= da
If this is a CSV file, you can try fgetcsv.
From http://www.php.net/fgetcsv
Pooya Eslami wrote:
Hi,
I want to write a php script for handling the username and password of users
on my website. What strategies are used for password protected pages? I
don't quite know where to start!
One strategy that I had in mind was to have a folder for each user and
access it via the
Kelly Hallman wrote:
Consider this method:
function xyz() {
return $this-data = unserialize($this-serial); }
Maybe I'm just being stupid, but wouldn't that simply return true if the
assignment was successful, and false otherwise?
[ trimmed ]
--
PHP General Mailing List
Henry Grech-Cini wrote:
Hi All,
I want to randomly select a desitniation page and use cookies to ensure that
refreshes and return visits on the same machine always return to that
desination (assuming the cookie is intact).
Imagine that we have an array of URL's
$url=array(1=dest1.html,
PHP wrote:
Thanks, that is what I figured.
I really don't get rpm's, it seems you are stuck with whatever the packager
felt like putting in the rpm.
Want to add a library? Like zlib for example? then you have to re-compile it
yourself anyways.
They seem completely useless to me for anything but a
301 - 400 of 509 matches
Mail list logo