[EMAIL PROTECTED] wrote:
I know this is going to be tough but I need a hosting company that supports
PHP5, has unlimited disk space and a good amount of bandwidth with a
decently fast connection for a decent price. I realize that this might be
rare, but is anyone offering such a package like this a
Sandip Bhattacharya wrote:
This stumped me badly in my present project. Is this a bug or a feature in
PHP? I am trying to split a string into two, where only one half (and the
delimiter) is present.
[ trim ]
IN PHP
===
[EMAIL PROTECTED] ~]$ cat s1.php
[EMAIL PROTECTED] sql]$ p
Zoran Lorkovic wrote:
Btw, where I can find patterns that are valid?
(something like (\w+), (\d+)+i etc.
http://www.php.net/manual/en/reference.pcre.pattern.syntax.php
http://www.php.net/manual/en/reference.pcre.pattern.modifiers.php
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe,
Barbara Picci wrote:
I've to extract data from a mysql db using two different queries and I
must have an unique output sorting them alphabetically.
For istance,
query1: select * from ads where guest='PK';
count the number of results, make the difference between a given number
and the number of
-Original Message-
From: Nick Wilson [mailto:[EMAIL PROTECTED]
Sent: Thursday, September 02, 2004 11:59 AM
Hi all,
yeah, i know, i did do quite a bit of searching but I just cant find it...
Does anyone have the regex to make sure an http address is full and without
error? like http://w
On Sun, 2004-09-05 at 19:39, Gerben wrote:
> my install-paths are still the same. the real problem (I think) is that I'm
> missing the php4apache dll for some peculiar reason ||:-|
> Thanks anyway. I'll try downloading the zip file and doing it manually.
I think the binary installer doesn't inclu
On Sun, 2004-09-05 at 19:29, Octavian Rasnita wrote:
> Does this list have a moderator?
>
> Teddy
Please learn to TRIM!! No need to post the entire message (spam no
less), again -- especially if all you are contributing is one line (to
which, I might add, the answer can be found by searching the
On Sun, 2004-09-05 at 05:41, [EMAIL PROTECTED] wrote:
> I want to build a music site, all copyrights intact, and I want users to be
> able to download mp3 or realplayer files using a one-click link. When they
> click on a link they will simply be given a typical download window to save
> that musi
On Mon, 2004-09-06 at 11:03, Jorge wrote:
> I have a problem when I do login for go to the page of administration on my web, Go
> back and can't entry this is the code that control this. Where is the problem?
Please read the Newbie Guide first before posting. WHat does your
subject tell us about
On Sun, 2004-09-05 at 17:32, Dre wrote:
> I really did
> and it behaves the same
>
> I tried isset() also but there is no good it still does not work !!!
"Does not work" <-- explain this part.
add error_reporting(E_ALL); as the first line of code, in addition to
all the other suggestions. Check
On Wed, 2004-08-25 at 14:34, Shaun wrote:
> I am writing a shopping cart and am using a session called
> $_SESSION["orderinfo"] to store the order information. I also have a
> function I use to clear the session when the payment has been authorized:
>
> function clear_orderinfo() {
> global $_SE
Grant wrote:
I'm running Gentoo Linux, and emerged (installed)
squirrelmail which automatically installed all of its
dependencies including PHP and (I think) mod_php. PHP
doesn't seem to be working though, as I always end up
looking at the raw PHP code in a browser. I do have
apache and apache2 i
John Holmes wrote:
Anyone know of a PHP english word password generator? Something that'll
produce easy to read and remember codes like "buffalo_candy" or
"shipment+plant", etc?
I had a look on phpclasses.org, but didn't find anything like this.
Or, as an alternative, I'll code it myself if anyo
-{ Rene Brehmer }- wrote:
hi gang
I'm trying to find a simple way to determine if a given date/time is with
DST for a given locale at any point in time ... the point is basically to
convert date strings into accurate GMT timestamps for storage in the
database...
http://www.php.net/date
I (capital i
Jay Blanchard wrote:
[snip]
Is there any function in PHP that changes html in a string from to ? (e.g. adding the double quotes)
[/snip]
Nah, but you could write a function to add quotes to attributes of any
tag that you would like.
Tidy [ http://tidy.sf.net ] can do this
"Tidy inserts quote mark
Matthew Runo wrote:
I am working on a project that requires Kerberos authentication,
however - we are unable to use the apache module that one would
normally use [sys admin.. *grumble*].
I searched the archives to find a script that would authenticate a user
against a Kerberos server, and found
Chris Shiflett wrote:
This news is a bit old, but I have made the workbook for my OSCON tutorial
freely available from this URL:
http://shiflett.org/php-security.pdf
It's a 55 page PDF that has a lot of information (more than the slides)
about some of the more important security topics.
Nice articl
pt2002 wrote:
Hi
I have a table like this
id, pid, name. When a item has no parent, pid = 0. There is no limit in
depth.
1, 0, Test 1
2, 1, Test 1.1
3, 1, Test 1.2
4, 2, Test 1.1.1
5, 1, Test 1.3
6, 3, Test 1.2.1
I need to read this table and return an array that represents the tree.
Maybe using a
Curt Zirzow wrote:
* Thus wrote Gerard Samuel:
On Friday 30 July 2004 01:32 pm, Gerard Samuel wrote:
A means that is not specifically tied to Apache functions.
Just looking for a way so that it works no matter the webserver.
Seems like the function stream_get_meta_data() will fill the job..
hmm..
Vern wrote:
I get:
# wget -O -q http://www.comp-wiz.com/index.html | lpr -P hp1300n
What I wrote was
wget -O -q - http://www.domain.com/file.php | lpr -P hp1300n
You forgot -
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Vern wrote:
One would think this should be really simple but it's not.
wget -O -q - http://www.domain.com/file.php | lpr -P hp1300n
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Albert Padley wrote:
I have been struggling with a javascript regex validation for U.S. phone
This is a PHP list.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Rosen wrote:
Yes, on Linux there is a command to get this info, but on windows I think
there'n no thath command.
Is there a module for PHP to do this ?
c:\>dir c:\test.txt
Volume in drive C is Primary
Volume Serial Number is 003E-6CEA
Directory of c:\
07/23/2004 01:43 PM11 test.
[php]Walter wrote:
Anyone know a blog (I think) that will let me create documentation and let
users add their comments to the tail of it, just like php.net can do??
Drupal's "collaborative book" feature is quite nice for this.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit:
Zhang Weiwu wrote:
Not to start flame. I have been writing php using just vim for some
time, it is a waste of time to put 'echo' statement everywhere to track
variable values. I wonder what do the experienced users on php.net use
for php development? Do you use IDE? Do you use Zend?
Is there an
Brian Dunning wrote:
I'm not sure if this is a complex SQL query or a PHP array sorting
thing, but what's the best way to take this data:
Tom
Greg
Brian
Tom
Brian
Tom
And return the following results, sorted by number of records:
Tom - 3
Brian - 2
Greg - 1
Any thoughts?
I'm not
Alex Hogan wrote:
Does anybody know of any peculiarities in the strtotime() function?
If I enter any date before 1 Jan 1970 I get a -1 returned.
Note: The valid range of a timestamp is typically from Fri, 13 Dec 1901
20:45:54 GMT to Tue, 19 Jan 2038 03:14:07 GMT. (These are the dates that
corr
Dave Carrera wrote:
Hi List,
Sorry for this question being slightly OT but its is to due with my Php
script in a way.
MySql has stopped adding rows since the db table hit 1mb...
Anyone know why ?
I have search mysql.com docs and other web resources but can not figure it
out.
Running FreeBSD 4.7 and
Christopher J. Mackie wrote:
I'm following the PEAR docs to use Mail/SMTP. Below is the code I use,
swiped directly from the docs--I've changed the authorization data to
protect privacy, but otherwise it's identical (and email sent from a client
on this same machine using the same settings works fi
Curt Zirzow wrote:
* Thus wrote Chris Jernigan ([EMAIL PROTECTED]):
Hi everyone,
What's the problem? I have one week to do this. Oh, and did I mention that I
know VERY little about PHP / mySQL. I know NOTHING about ColdFusion or
MSSQL. And to top it off, the site in question contains over 300 .c
Brian Dunning wrote:
How do I check for the presence of an optional $_GET param without
throwing a "Notice: Undefined index" when the param is not present?
Tried all three of these, they all produce the Notice when the param is
not passed:
if ($_GET['id'])
if ($_GET['id'] != "")
if (isset $_GET
Erik Meyer wrote:
Greetings,
I am fairly new at this and I am going to create my first web server. I
have installed PHP as the documentation says and the only question that I
have is whether or not PHP can be configured on a single directory only,
(example mydomain.com/php/). The server that I am
Simon Fredriksson wrote:
Is there any built-in function to find out if a file/directory is hidden
in Win32?
Not a function in PHP, but you just need to execute :
dir /a:h
to find all hidden files in a directory.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.ph
Jordi Canals wrote:
Hi all,
Cpanel is a control panel to manage accounts for ISP's (And espcially
ISP's resellers). I knnow there is some librarys to directly manage the
accounts from PHP-Scripts and I got some very small and undocummented
samples.
I'm working on some scripts to manage the acco
venkata ramana wrote:
Is the shared memory created with php comaptible with that created
with a C program? I mean to ask, can we access the data written into
shared memory by a C program from a php program?
I would hope not, as this would cause major security problems and system
instability.
I *b
Vans Hallden wrote:
Here is one way:
(probably not the best)
I was able to get almost everything working with your help. Thanks!!! :)
average ages for male/female respondents (database column 'age')
SELECT AVG(age) FROM tablename WHERE sex = 'male';
SELECT AVG(age) FROM tablename WHERE sex = 'fem
[EMAIL PROTECTED] wrote:
Burhan Khalid <[EMAIL PROTECTED]> schrieb am 18.05.2004, 10:48:29:
Torsten Roehr wrote:
Hi,
does anyone know a way of how to get the name of the class within a static
function? I can't use __CLASS__ as my PHP version is 4.2.3 and I can't
upgrade.
My
Torsten Roehr wrote:
Hi,
does anyone know a way of how to get the name of the class within a static
function? I can't use __CLASS__ as my PHP version is 4.2.3 and I can't
upgrade.
My code (simplified):
class Base {
function Factory() {
$classname = ???;
return new $classname;
Vans Hallden wrote:
Please try to endure my ignorance. I'm new to PHP4 and out to perform
just a single isolated task with it. :)
I would like to form some simple statistics from specific column data in
a mysql database and display those stats on a webpage.
I have collected a few demographics f
Boulytchev, Vasiliy wrote:
Ladies and Gents,
I am trying to install Pay Flow Pro on my server, and am running
into weird problems. I follow instructions from Verisign, and still cant
get the thing to function.
I get the error below:
Fatal error: Call to undefined function: pfpro_in
Jeff Schmidt wrote:
Hello,
Say I have object A, with method getObjectB(), which returns a
reference to object2.
Is there a way to do something like $A->getObjectB()->methodFromObjectB();
Don't know if this would work, but you could give it it a try :
call_user_func(array(get_class($A->getObject
Jianping Zhu wrote:
Hi, thank you for your respinse.
It the /etc/php.ini i have something like:
;
; extension=modulename.extension
;
; For example:
;
extension=mysql.so
if you go to
http://coopunit.forestry.uga.edu:8080/test.php
you will find mysql is not installed as an extension.
but i do
Sascha Meyer wrote:
Hi again,
I need to download a remote file (e.g. some linked pdf document on another
server) and send this file to a defined user.
I don't know if there is a way to attach a remote file to an email (I
don't want to send a link to the above mentioned file, but the file
itself
Matt Grimm wrote:
I apologize if this message is a repeat; I've had trouble posting with
Thunderbird.
I'm interested in how you folks would approach the following issue:
You have a list of data, in a user-defined sequence. For instance, a list
of song titles that can be rearranged on a web pa
Pete wrote:
Hello Rob,
What is your local environment? (OS, PHP version, etc.)
If you're running windows, most likely all you will have to do is change
your php.ini.
The OS used is Windows XP.
Open your php.ini file, set your extension_dir variable to where the
extensions directory is. If
david david wrote:
Hello,
Does anyone know of an open source "user/group" based
permission system built with php/MySQL?
That is, the effective rights for any user on a
specific secured object are computed from various
permit/deny permissions assigned to the user or any of
the groups he/she belongs
Bing Du wrote:
I need to code kerberos authentication in PHP. Like in Perl, it has
Authen::Krb5 module. How the similar tasks are done in PHP? I've
searched (all site) 'kerberos' on www.php.net but did not find any
information that I need.
http://www.faqts.com/knowledge_base/view.phtml/aid/777
-
Dave Carrera wrote:
Hi List,
I have worked out how to highlight all search words in a string. I hope its
useful to some one. Please make it better if you can so we can all share it.
But what I want to know is how can I treat each string with this
highlighting routine individually so that my output
Anton Krall wrote:
Guys.
Im doing a small php auth system and I was wondering, how can avoid having
to do a form to pass the user and pw to the php scripts and just use the
popup auth windows on IE and NS? do you remember the names of the vars that
get passed thru that popup or how can I invoke
Phpu wrote:
I want to interogate the database and the results to be placed into array.
For now i have:
$query = "SELECT product_id, brand_name, model_name FROM products WHERE
product_id='$product_id'";
$result = mysql_query($query) or die("error in query - $query - ".mysql_error());
$results =
Craig Gardner wrote:
I'm working on a script that will automatically download and burn an ISO
to a CD, when passed the filename of the ISO and I want to use some sort
of progress bar to show how much of the download/burn is complete. I
was originally going to use wget to download the file, but
Todd Cary wrote:
My client is using GroupWise to relay *without* having relay turned on
and it needs/uses an authenication that is different from the regular
SMTP. Here is a trace of a message that went through:
[ snipped POP before SMTP authentication ]
Does anyone know of a class that can p
Patagonia Hosting Development Group wrote:
That may be the exact problem. I was not figuring that one out. Thi is my
fopen and XML parser code:
$xml_parser = xml_parser_create();
xml_set_element_handler($xml_parser, "startElement", "endElement");
xml_set_character_data_handler($xml_parser, "charac
Tim Traver wrote:
Hi all,
ok, this may be a dumb question, but I have a page that has server side
includes that include a php script like this :
Please send a new message if you have a new question, and do not reply
to a thread and change the subject. It breaks the conversation flow.
Where is
Travis Low wrote:
Michal Migurski wrote:
Don't take the database down for backups.
I can think of no logical reason why you'd want to kill the DB to back
it up, since it's just a big "read" operation.
Referential integrity might be a reason.
Good point, though if this is a concern, the OP w
Torsten Roehr wrote:
Well, it does some sorting, but not quite what I'm after :(
I've managed to get the list so that all the (sub) entries are sorted in
the correct order. Now its just a matter of finding the highest expire
date for /each/ domain, and delete the other entries for that domain.
S
Torsten Roehr wrote:
"Burhan Khalid" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
Torsten Roehr wrote:
"Burhan Khalid" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
Greetings everyone :
Having a hard time with this one. I have a m
Torsten Roehr wrote:
"Burhan Khalid" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
Greetings everyone :
Having a hard time with this one. I have a multi-dim array
$foo[$x][$y]['key'], where $x and $y are numeric. Here is some sample data
[ snipped ]
I
Greetings everyone :
Having a hard time with this one. I have a multi-dim array
$foo[$x][$y]['key'], where $x and $y are numeric. Here is some sample data :
Array
(
[$x] => Array
(
[0] => Array
(
[invoiceid] => 11842
[
Jeff Ostapchuk wrote:
Ok, I have no clue what version of PHP I have installed, 4.??.??, and I have
like the newest version of MySQL insatlled, and PHP and MySQL work fine
together, excpet when I use mysql_fetch_row($query) then I have problems,
mysql_fetch_array($query) works fine, but not mysql
Victor Spång Arthursson wrote:
2004-04-14 kl. 09.57 skrev Hawkes, Richard:
PhpMyAdmin (www.phpmyadmin.net) is a great MySQL admin tool, and
utilises the MySQL backup functions.
Yes, and it is the same functionability I want. But I want a
php-function to implement in various scripts I hav
Strogg wrote:
Hi,
Am working through a PHP Book (I am a noob), and it appears to fall over on
the first tutorial.
Any ideas where I can get help?
Try the book/author/publisher website?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
[ snippity snip snip ]
Have you verified that lynx, grep, and head are in PHP's path? Check the
output of `which lynx` or phpinfo() to figure out what your path is, and
whether it includes lynx. Alternatively, use a full path to lynx to avoid
confusion.
Could be that the apache process has no righ
Brian L. Ollom wrote:
lynx --source http://weather.noaa.gov/weather/current/KTOL.html |grep -v
'41-35-19N' |grep TOL | head -n 1
I need to get the output of the above command for a web site I'm
working on. I've tried exec(), system() and neither seems to
work.
You know, it might be easier if you
Vicente Werner wrote:
I've already a php function that outputs a file from a folder outside the www
path to a page, but I can't find a way to do this and then close the window
where it was outed. Any 1 can point me in the right direction?
You cannot close the window from within PHP. You have to u
Alireza Balouch wrote:
It's easy...
Al you have to do is call the php script like: php4 mydesktopscript.php
and use other languages like TCL/TK to have some GUI on your script..
but i would rather learn my self C instead of using php for Desktop app.
<[EMAIL PROTECTED]> wrote in message
news:[EMA
T UmaShankari wrote:
Hello,
Is there possible to place a list box over one many background picture
using php anyways ?
No, this is not possible with PHP. PHP is not a client-side language.
You need to solve this problem with HTML.
--
PHP General Mailing List (http://www.php.net/)
To unsubscrib
Russell P Jones wrote:
Basically there is a php page... lets say
http://www.myserver.com/outputpage.php
that picks up some info from a database and echos it out as plain text to
the browser.
I want to use php in a different file to go pick up whatever is printed
out to that file and save it to a
Five wrote:
Windows 98 se
When using the dos window command line for mysql commands everything works fine except
if I try to use the paste function to paste
pre-typed commands, the window freezes. This is aaannnoooyyyiiinnnggg.
This is PHP -- MySQL is down the hall to the left.
--
PHP General Ma
Nitin Mehta wrote:
Hello,
Thanks for your reply. but what I'm looking for is, yes logoff the user, but
not making him/her click some link. I've this page and I want it to ask for
username & password whenever a user comes/comes back. Any suggestions?
I believe this is the default behavior, unless t
Robin 'Sparky' Kopetzky wrote:
Good afternoon.
I'm building a class and am having a bunch of trouble with the PHP
array_keys function. I keep getting these errors:
Warning: First argument to array_keys() should be an array in D:\Htf.php on
line 33
Warning: Wrong datatype for second argument in c
Merlin wrote:
Hi there,
I am just about to install a new server and I was wondering if php now
workes fine with apache2.x. I remember that there have been problems
some while ago. Is this fixed and is it good enough for production servers?
From http://www.php.net/manual/en/install.apache2.php :
Shawn Beard wrote:
I just upgraded to PHP 4.3.5 and now my email functionality does not work. I do have the SMTP setting in the php.ini set up and did restart Apache. We are running a Windows 2000 server and Apache 2.0.49. Any ideas?
A few ideas/suggestions :
Does your smtp server require authe
Bernhard Kraft wrote:
Hallo !
I run PHP 4.1.2.
I want to set the user_agent which gets sent
along when fetching file via the fopen(...) call.
Normally this is "PHP/VERISON" in my case "PHP/4.1.2"
I want to set a different user_agent.
I *believe* you can set this via header(), but its still early
Brent Clark wrote:
Hi all
does anyone know of a regex expression to get only the number number from after the Code 39
Kind Regards
Brent Clark
1 barcodes found Code 39->10005215
$barcodes = "Code 39->10005216";
$parts = explode(">",$barcodes);
echo "Number is ".$parts[1];
Might be faster.
--
PH
Mike R wrote:
I am getting this error:
Fatal error: Failed opening required
'/home/sites/site111/web/news/settings/newsletter.settings.inc.php'
(include_path='') in
/home/sites/site111/web/news/forms/sign_in_out_form.inc.php on line 7
From this piece of code:
require
("/home/sites/site111/web/n
Ciemny, Jessica wrote:
Hey every, I'm new to the group and to PHP (3 days now) and I would like to
ask a question. I purchased a book on PHP a day or so ago and as I'm going
through the book it comes to a point where it talks about passing html form
values to PHP. So I type up the examples from the
Ketvin wrote:
Dear all,
[ snip ]
Forgot a subject? :|
Your message was flagged as spam and sent to the trash bin because it
didn't contain a subject.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Quentin Bennett wrote:
Hi,
Is this possible, please?
What I want to do is, using an HTTP class,
$myComms = new Ihttp_base_class(&$httpParams);
$myComms->request = $some_document;
$myComms->requrl = "/mysite/myscript.php";
$myComms->Send();
"myscript.php" runs within the same Ap
Larry Pisani wrote:
Hi,
I need to do some text file manipulation of a text file from an html
interface. I have a file with multiple lines where each line has 2 fields
each (a mac address and an associated vlan). Here's an example of rht text
file:
/tmp/TEST:
a1b2.c3d4.e5cc V
Gimic wrote:
The entire script looks like this:
}
function GetVals() {
$db = mysql_connect("localhost", "root");
mysql_select_db("books",$db);
$result = mysql_query($sqlQry,$db);
echo mysql_errno($db);
echo mysql_error($db);
echo $result;
}
?>
GetVals() has no ide what is $sqlQry because it is ou
Jas wrote:
Not sure why I am not able to get this to work, but to make my stuff
easier to configure for different environments I am trying to re-code
some of my stuff to work with options from an array.
$cfg['hostname'] = "www.server.com"; // Server domain or ip address
$cfg['username'] = "user
Gimic wrote:
Hey y'all, I'm having problems trying to get the
MySql_Query() function to return the resource ID when using a $string as the
argument to pass to it. It returns when I hard code the argument but not the
string. Any ideas? here is what the function looks like:
function GetVals() {
$db
Matthew Oatham wrote:
Hi,
I have a TIME field type in mysql database I want to do a select and add all the times together to return a total time, can I do this using the select statement?
cheers
This is a PHP list, not MySQL.
http://www.mysql.com/doc/en/DATETIME.html
--
PHP General Mailing List
Jason Giangrande wrote:
[ snipped ]
Also, is it possible to download a package marked beta with PEAR, or
does it need to be downloaded manually?
Yes, you can do this, by running the following command:
$ pear config-set preferred_state beta
Then you can download beta packages.
--
PHP General Mai
php.net website.
Regards,
Burhan Khalid
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
QT wrote:
Dear Sirs,
I have a web site which is keeping user data in mysql. I am afraiding that
to collapse of existing server without my control.
I want to use another server to keep in standby and I want to set new server
DNS as a third and forth server.
As far as I know if primary and secondary
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
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", "dest2
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 (http://www
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 user
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/fg
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 you
[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
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, visi
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
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 in
[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
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
Jakes wrote:
I got this out the manual:
how do I get the "user" ranther than "@example.com"Thanks
$bits = explode('@',$email);
echo $bits[0];
http://www.php.net/explode
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
201 - 300 of 510 matches
Mail list logo