Ross Hulford wrote:
Is there a single bit of code for scrubbing all the cookies or do I have to
do setcookie (name, ) for all of them??
foreach($_COOKIE as $name = $value) {
setcookie($name, '', time() - 36000);
}
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit:
sunil wrote:
I have got a task of reading a .doc(word document) using php.
But while reading doc file, some meta character like boxes and some other characters also appears.
I will be highly obliged to you if you send me the code for reading a .doc file
using php.
Any help appriciated.
You can
Vin wrote:
I need to create a search that will search partial files names of images and
display the images. Basically, I have a folder on the internet that has
security camera images dumped into it with a file name like this:
MDcameraname20050109104846001N38B.jpg
MDcameranameMMDDHHMMSS001N38B
My guess cli binary is executed instead of cgi.
Claudio wrote:
Hi,
Im trying to use PHP4 and PHP5 at the same time. PHP4 as CGI and PHP5 as
module.
PHP5 ist actually not present and not installed
PHP4 runs find as module, when I try to use it as CGI I receive the error
message:
Premature end of
Claudio wrote:
Maybe... What is the diference?
In /usr/local/php-4.3.10/ I have 5 files after make install
(pear php php-config phpextdist phpsize)
What should I do? How can I make the cgi-executable?
Marek Kilimajer wrote:
My guess cli binary is executed instead of cgi.
Try
$ /usr/local/php
Richard Lynch wrote:
At the other hand i did find some huge mistake at my side... only the
download of the file require 28MB (god knows why! but i wont start to
bother
u folks about it now) the upload need 16MB so clearly u were correct but
im
sorry to admit that i didnt understand y its getting
Vin wrote:
Here is an example of what I'm talking about:
Filename looks like this: MDcameraname20050108124537001A.JPG
I would like the output to look like this: 01/08/2005 12:45:37
preg_match('/MDcameraname([0-9]{4})([0-9]{2})([0-9]{2})([0-9]{2})([0-9]{2})/',
$filename, $m);
$m[1] - year
$m[2] -
Daniel Bowett wrote:
Hi,
I have been reading up on the mcrypt function. Is it possible to use it
with a public and private key pair or just with a single key?
Cheers.
mcrypt supports only single key
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit:
Shaun wrote:
Hi guys,
Thanks for your replies but neither UNION or REGEXP can be used with SHOW
TABLES...
Any ideas?
It's time to change your table design. Use one pid table and add another
column that would hold the number.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe,
Ben-Nes Yonatan wrote:
Hi all,
I got a problem with uploading files which encounter the memory limit
when their size is not even close to the memory limit itself, let me
explain.
My server is as follows:
1. PHP 4.3.9
2. DB - Postgresql 7.4
3. Apache 1.3.26
Here is my code that i made for
M. Sokolewicz wrote:
shell_exec('pw useradd username -g groupname -d /home/username -m');
however, you'd need to be running as root, or atleast need to su to
root; which is quite a security hazard
I recomend sudo. You can set strict restrictions on the executed
commands and its arguments.
Umar
Dave wrote:
PHP General,
The Situation:
I am creating a form for users to enter text into a MySQL 3.23
database. The text is often in Japanese, encoded in utf-8 format.
The Problem:
When the utf-8 encoded text is inserted into the database, it becomes
random ASCII gibberish.
Graham Cossey wrote:
I have a problem uploading a file in IE6 or Firefox1.0 but it works
fine using Opera7.54.
The problem is that I want to ensure that the file being uploaded is a
CSV file, so I test the $_FILES['file']['type'] value.
In Firefox IE it is returned as application/octet-stream but
Rick Root wrote:
I have a little home made CMS that writes files... on the server I've
recently installed this CMS on, those files get written as apache:apache
...
that file uses include to include other files that are not owned by
apache, and this doesn't work.
Warning: main(): SAFE MODE
Tom wrote:
Hi
I have a very simple file upload form and script to handle it (copied
verbatim from the php manual, except for the file target location and
the script name).
However, it always fails, with an error code in the _FILE array or 6.
Does anyone know what this error is or what I am
Mirco Blitz wrote:
Hi,
I'm trying to upload a pic file by form (Using QuickForm, but this here also
happens in manually generates Forms).
Everything seems to work fine.
The $_FILES[formfile] shows everything about the file what is needed to
know.
For example: Array ( [formfile] = Array ( [name]
No
news.php.net wrote:
?
class A
{
var $name;
function A($str)
{
$this-name = $str;
}
}
$arr = array();
//Put to array to objects of class A,
// where their attribute A::a is assigned a different value
//objects are assigned to an array by reference
$a = new A(qaz);
$arr[0] = $a;
news.php.net wrote:
Just compare the output of print_r($arr) and foreach(...)... !!! Please,
explain, or my understanding of the php is gonna ruin.
Thanx, Mark.
?
$as = array();
$a10 = 10;
$a20 = 20;
$a = $a10;
$arr[] = $a;
$a = $a20;
$arr[] = $a;
print_r($arr);
foreach($arr as $a)
Kristian Hellquist wrote:
Hi!
I had a script for parsing text into html, similar to phpBB. Everything
has been working fine until now. Some of my 'pseudotags' like [b] are
still recognized (parsed into b) but some more advanced pattern
matching is not. I haven't changed the code, but the
John Nichel wrote:
Chris W. Parker wrote:
Hello,
I'm looking to make a simple scheduler for myself and I'd like to get
some feedback on how to handle the events and their being executed at
the right time.
The two options I've come up with both involve adding a job(s) to
crontab.
1. Individual jobs
Mike Milligan wrote:
I'm have a PHP created HTML form that I want a user to be able to enter data
into, then see it as the PHP/HTML will format it, then post it to an HTML file.
I've been trying all day to find something similar on your site, but to no
avail.
I am really new to PHP so I may not
Jochem Maas wrote:
Richard Lynch wrote:
James Guarriman wrote:
RewriteEngine on
RewriteOptions MaxRedirects=15
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^(.*)$ /$1.php
/Directory
/VirtualHost
...
I know its due to the way my Apache is setup (not rewrite
Jon wrote:
I'm running Fedora Core 1, all packages up to date. I want to add large
file support to php. I downloaded the source rpm. Added
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 to CFLAGS in the spec file,
rebuilt the rpm and installed it. Apache starts fine but I get
[notice] child pid
Michael Gale wrote:
Hello,
I am running php 4.3.7 with ncurses support. I want to create a
small app using php and ncurses but I will need to get some information
from the shell environment variables.
I have searched every where ...is this possible ?
Michael.
Zouari Fourat wrote:
Hello,
I need to verify if $x is between 1 and 20 and i need to do that with
regular expressions ?
anyone can help me outta there ?
thanks a lot
http://www.php.net/operators.comparison
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit:
Abdul-Wahid Paterson wrote:
I would agree with that. Is relatively easy to install and configure.
Although the templating is not perfect...I have seen better ways of
doing it.
It works well though in doing what it is meant to do.
What templating? There's no templating in osc :)
I would also
Harish Rao K wrote:
Hello,
While working with some CAPTCHA stuff I get the following error:
Fatal error: Call to undefined function imagettftext().
I have compiled with GD support and all the supporting libraries
(Freetype, TTF, jpeg, X11R6 etc).
What am I missing?
Below is the configure command
Zouari Fourat wrote:
here's the problem :
my user MUST input only digits between 1 and 20
doing a is_numeric and some comparaison can be bypassed by inputing :
.5
or
0.5
or
5.1
or
0.3
or
.01
...
...
so i thought that the smartest way is to use regex
if( $i = 1 $i = 20 $i == (int)$i) ...
--
PHP
Dave wrote:
PHP List,
The Situation:
I'm trying to make a page where users can upload an image. I've
located on the internet a script that is simple enough for me to use,
and I can build upon it to customize for my needs.
The script as it is on the web site I got it from is a stand
Supersky wrote:
Hello,
I'm using the following statements to connect to a database.
?php $conn = mysql_connect('localhost', 'root', '') or die (Can't Connect
To
Database);
$db = mysql_select_db(testDB, $conn) or die (Can't Select Database.
mysql_error()); ?
But I cannot, and I see Fatal error:
Wayne Zeller wrote:
My first attempt at posting this appears to have failed, so I'll try
again. My apologies if this is a duplicate...
I can't for the life of me figure out why this won't work. I am
downloading a file from a remote host via ftp, processing it and
modifying part of it, and
Zouari Fourat wrote:
to Marek Kilimajer :
$i='5.';
if (($i=1) ($i=20) ($i==(int)$i))
echo 'yes';
// yes
:'(
ok, then use regexp:
if (($i=1) ($i=20) regexp('^[0-9]+$', $i))
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http
Wayne Zeller wrote:
Marek Kilimajer wrote:
You must use ftp_fput() because you are using open file handle.
Check that tmpfile() did not fail. Then make sure you are in the right
directory after logging in the ftp server.
That's what I get for trying to put together code for my post during
John Coppens wrote:
Hi all.
I have simple page that generates a simple flash with some random images,
then publishes it - on the same page. If I do this, i regularly have
several kinds of problems, one of them, an error message like:
getimagesize(img/topmovie/toplogo.swf): failed to open stream:
Marek wrote:
Hello
Creating a three dimensional menu system is pretty easy with arrays, but
when you want to create a menu system that is 10 or 15 levels deep using
arrays the conventional method is not so simple.
I'm writing an application that shows a multi level (up to 30 levels) menu
which is
James Guarriman wrote:
Hi
I've just installed Apache 2.0.52, with:
./configure --prefix=/usr/local/httpd --enable-so
--enable-modules=all
My httpd.conf includes:
---
VirtualHost mydomain
ServerAdmin [EMAIL PROTECTED]
DocumentRoot /home/mydomain
ServerName mydomain
Shaun wrote:
Hi,
I have a query where I select all table names where the table name has PID_1
in i.e.
SHOW TABLES LIKE '%PID_1%';
However there may be cases where I need to search for tables where the table
name is PID_1 or PID_2. In MySQL this can't be done in one query, so how can
I do two
Tim Burgan wrote:
Hello,
Is there any way that I can do some image manipulation - resizing -
without the GD libraries?
Can you execute imagemagic's mogrify?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Marek wrote:
Hiya Marek K,
Thanks for the link, however on that page the links regarding a Modified
Preorder Tree Traversal Algorithm come up as 404.
Then see:
http://www.sitepoint.com/article/hierarchical-data-database/2
I would prefer not to use
recursion until the third stage (display of
Richard Lynch wrote:
RewriteRule ^(.*)$ /$1.php
You probably wanted more like:
RewriteRule ([^\.]) /$1.php
That probably ain't right, but your goal is to get only filenames with NO
'.' in them, and you need \ to esacpe the . so it doesn't mean any
character
Dot has no special meaning in a
v0id null wrote:
So, I have to handle data that is UTF-16 encoded. No ifs ands or buts.
Network messages on the service I'm communicating with sends and
recieves UTF-16 encoded strings only.
After taking a look at the Multibyte String functions, I don't know
how much they will help me, though
Joey wrote:
Hi Marek,
Me? I did not send you anything :)
Member variables in classes are NOT used this way:
$this-$hits
But this way:
$this-hits
I don't see anything in the docs located http://us3.php.net/fopen to help.
I changed it to w only but that made no difference.
Can you please provide
Matt wrote:
Ok,
Right now if I look at a session I see the following... this is on a
mail server.. so this is all mail variables and such... There are
currently 319 session files and 1.5MB... you know I'm also wondering
now if I didn't read things wrong.. .I wonder if it said 2.0MB not
GB
Richard Lynch wrote:
Marek Kilimajer wrote:
COKIES, I'm talking about COOKIES.
Anytime you talk about cookies or cookie files, you mean session and
session files, respectively. These are completely different things,
please don't intermingle them.
session_set_cookie_params()
^^^
You're
kids_pro wrote:
Hi there,
I want to create a script.
When user register I want to create a folder :
users\new_user_folder\images
The purpose is that I want to allow them to upload image to this image
folders.
What sort of permission should I give to each folder
Root: users, new_user_folders,
akshay wrote:
Hi all,
I hv problem while file upload.
I hv one server and multiple client.
I want to upload a file from Server to client.
how this is possible in PHP
This is usualy called download. Is this what you want?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit:
Richard Lynch wrote:
Marek Kilimajer wrote:
Jason Barnett wrote:
Valter Toffolo wrote:
ok i have one server with a single domain, each user have it's home
with a public_html so i get mydomain.com/~user1/ and
mydomain.com/~user2/ and so on. but each user might like to use
sessions so how can i
William Stokes wrote:
I'm trying to get the ini_set(error_reporting,E_ALL); work. No matter what
kind of errors I write I just get blank screen when the script fails. Do I
need to also echo the errors to screen? Or can the error reporting be
disabled by the server admin (my adsl operator)? so
Justin French wrote:
On 19/01/2005, at 5:36 PM, William Stokes wrote:
I would like to add some debugging/info code to my pages. In test
environment of course. Any ideas how to do this? I mean for example to
print
to a web page the line number when the script fails or something like
that.
It's a
M. Sokolewicz wrote:
didn't you read what wez said? they're gathering entropy... you *can't*
(and shouldn't want to) prevent that.
Or get some good entropy source
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Vladas Shukevichus wrote:
18.01.2005 18:06:31
Marek Kilimajer [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]
M. Sokolewicz wrote:
didn't you read what wez said? they're gathering entropy... you
*can't*
(and shouldn't want to) prevent that.
Or get some good entropy source
Can you explain
Bret Hughes wrote:
Having said all this, you might try moving the server mouse around
immediatly before and during the transaction to see if its faster.
Or hire a monkey :)
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Rob Adams wrote:
Marek Kilimajer [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Rob Adams wrote:
Jason Barnett [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Rob Adams wrote:
Ok - Let me restate some of this:
I am creating these images in PHP. I have a script right now
Rob Adams wrote:
Jason Barnett [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Rob Adams wrote:
Ok - Let me restate some of this:
I am creating these images in PHP. I have a script right now that
accepts two images. A main one, and the one that will be hidden. These
can be either
Jason Barnett wrote:
Valter Toffolo wrote:
ok i have one server with a single domain, each user have it's home
with a public_html so i get mydomain.com/~user1/ and
mydomain.com/~user2/ and so on. but each user might like to use
sessions so how can i make it work so that sessions would have each
Vladas Shukevichus wrote:
Thanks a lot for such a superb explanation!
It's clear now why OpenSSL gather entropy for such a long time, it
just doesn't
have any external source of it.
But I still need my scripts run as fast as possible :)
There are Windows 2003 + IIS6, so there are no any
Zouari Fourat wrote:
Hello !
My user can input values like this :
15.2
10-5
10 0
0x5
005
00
to be clear, i must extract two values from each line, each value is
between 1 and 20 and seaparated with a non numeric caracter, so with
lines 1,2,3 and 4 i will get :
Array([0]=15, [1]=2);
Array([0]=10,
N.Z. Bear wrote:
Folks:
I am experiencing a problem with httpd child processes suddenly
exploding in memory size and consuming all available memory. The
behavior is sudden, not gradual: within a few seconds or a minute the
process swells to several orders of magnitude larger than its usual
size.
Phillip S. Baker wrote:
Greetings all,
I am runnign into a strange problem.
I am working on a Linux box.
Running PHP 4.2.2
Apache 2.0
And it has MySQl installed on it (not sure of the version.
I ran a quick script to check to make sure the connection to the DB is
working fine as this is a very
Joseph E. Maxwell wrote:
Just upgraded to php 4.3.10
phpinfo() apparently stuck on
PHP Version 4.3.5
System FreeBSD xxx.com 4.9-STABLE FreeBSD 4.9-STABLE #0: Wed Nov
i386
Build Date Apr 11 2004 20:01:52
Command line ==
php -v
PHP 4.3.10 (cli) (built: Jan 15 2005 12:54:11)
Luke Barker wrote:
Hi,
This maybe a PHP problem, but is associated with Apache too - so my
apologies if it is slightly off topic. My web hosts use a CGI wrap
version of PHP 4.3.10
I have made a 404 custom error handler, using .htaccess in a directory
- it is usppoed to route all unfound pages to
Galen wrote:
I'm working on a web spider application where the server has
considerable latency in serving the information I require, but
simultaneous requests do not have a significant performance hit. I have
a nice little class that handles all the sessions, cookies, etc
perfectly. What's the
adwin wijaya wrote:
Hi...
I have an query for mysql that looks like:
SELECT group as type FROM mytable WHERE id =101010
UNION
SELECT individual as type FROM myothertable WHERE id=101010
The strange result if only one result displayed from myothertable, so
the type will become indiv instead of
Adam Hubscher wrote:
From within the application, I use one page to include
classes/variables and so on. Is there a way (I may have been missing it
in the documentation for PHP, however I didnt see anything related) to
prevent a user from directly accessing/executing *.php by the file
making
Jochem Maas wrote:
hi guys,
I always use curly braces around vars placed in double quoted strings, I
do this for 2 reasons:
1. I believe It helps the engine because the var delimitation is
explicit, and this means the interpolation is (should be?) faster.
2. it looks nice (easier to read!)
I
Jochem Maas wrote:
Marek Kilimajer wrote:
The difference happens at parse time, so if you want to measure any
difference execute php script in a loop, not loop inside php script.
DOH! nice one Marek, will make an attempt to 'bash' a script together
asap (I'm crap at shell scripting
Richard Lynch wrote:
I'll give you a simple case.
I have a GTK PHP MP3 ID3 editor application I'm working on.
When one opens a file in a directory, I provide next/prev buttons to
quickly page to the next/prev file in the directory.
Getting the next/prev to work is simple enough, but...
I've got
Mário Gamito wrote:
Hi,
A friend of mine told me that in Windows, PHP shows its warnings at the
bottom of the pages.
Actually, i've never had thought about this issue before.
Better still... i even didn't know PHP for Windows had this behaviour.
In Linux they're shown at the top and now i'm in
Please, don't hijack threads.
Brian Duke wrote:
This has been going on for about a week now. I have an oracle client
installed. I have php4 source installed all on a stripped down fedora
server. We get various errors. Like the infamous ld can find XXX in
-lclntsh.
Correct me if I'm wrong but we
Rory Browne wrote:
Apologies Marek if you recieved this twice, I mailed you instead of
the list first time around.
me.is_confused() == true;
What does it matter whether errors show at the top or bottom of the
page. They are probably different errors that show up, some of which
show at the top, and
Gerard Samuel wrote:
Im trying to simulate conditions, to see how flock works.
Can anyone verify with the example code below,
that data, never gets written to the file.
//1 //2 are supposed to be processes???
For me, the var_dump() reports -
int(7) bool(false)
Thanks
$fp = fopen('foo.txt', 'w');
Sebastian wrote:
i have an upload form which i would only like to allow compressed zip files
and rar files to be uploaded. currently i use
if ($_FILES['userfile']['type'] != 'application/x-zip-compressed')
which only seems to work in IE, doesn't work in mozila (haven't tried
others) what the best
[EMAIL PROTECTED] wrote:
Ok... thank you.
On Thu, 16 Dec 2004 19:02:37 +0100, Marek Kilimajer [EMAIL PROTECTED]
wrote:
GH wrote:
Hi All...
Got a problem... here is the error: Parse error: parse error,
expecting `T_STRING' or `T_VARIABLE' or `T_NUM_STRING' in
/var/www/html/ahrc_computerclub
Bruno Santos wrote:
Hello all.
i'm working with php for about 3 years and i must say: i cant get tired
of it !! :-)
since my first page, ive used php as a server side language, embebed in
html pages. now, i need to develop a small script to run as stand alone.
how can i do it ?
just like
Ian Firla wrote:
You're right. I think it will. Thanks.
I've got another issue now though which may indeed be a show-stopper.
It seems that while socket_recvfrom is binary safe, there's no way to
send data in any way other than a string... Is that right? Can I not
send data of other types?
no
Mecnun wrote:
I have a form and a php file. I enter some values from the form and click to submit button. The values that I enter can't be seen on the output. I'm using Php php-4.0.5 and my register_global is set to Off.
HTML file:
!DOCTYPE HTML PUBLIC -//W3C//DTD HTML 4.01 Transitional//EN
html
Afan Pasalic wrote:
you can't be signed - web site is still under constraction!
he/she posted this a little bit to early!
24 hours, and still under construction :)
:)
-afan
John Nichel wrote:
info wrote:
Dear php-general#64;lists.php.net,
Subj: Web Development Overnight!!!
Stuart Felenstein wrote:
--- Jason Wong [EMAIL PROTECTED] wrote:
I think will call it a day for this thread.
As I suspected a loop was needed to make this work.
In the event that there are other idiots, such as
myself, that don't immediately figure out the exact
logic I'll post the code:
//The
jpb wrote:
I am using the FTP_PUT command in conjunction with a form:
form action=upload.php method=post enctype=multipart/form-data
input type=file name=imagefile
input type=submit value=Submit
upload.php:
Everything seems to work except the put statement.
$upload = ftp_put($conn_id,
Sebastian wrote:
i apologize if its against the rules to post mysql questions here, though im
using php to query the db
so...
i have a table with three integers.
[table post]
postuserid | replyuserid | parentid
--
i do a left join on table user to get the username
Richard Lynch wrote:
Matt Palermo wrote:
I am allowing users to imput HTML code into a textarea. After they input
this, I wany to output their HTML to the browser. In order for the
document
to be safe, I need to close all open HTML tags that have been left open by
the user, along with any open
Ben C wrote:
I have a form which has a text box which then stores in MySQL. When I
write seperate paragraphs and try and then view what I wrote it lumps
it all together in one paragraph when I echo. I am sure I am doing
something simply wrong. Anyone have any ideas?
put pre tag around it. and
Jerry Swanson wrote:
I want to pass an array from one page to excell generation page. I
tried to pass through session($_SESSION['sql'] = $var). But value is
not set.
The array is actually $result = mysql_query($query);
did you call session_start() at the beginning of your scripts? Is the
query
Ryan A wrote:
Hey all,
Am a bit confused, from the time I learnt PHP (big thanks to this list for
helping me) I have used something like this
?php echo $something; ?
but when reading someone elses code I sometimes stumble accross this:
?php=something?
is this 100% valid php?
I have not found it in
Michael Minden wrote:
Hi,
I wrote a script for a webcam overview that downloads images form
different locations like this:
?php
$image = imagecreatefromjpeg($imgurl);
header(Content-Type: image/jpeg);
imagejpeg($image);
?
I call it a few times inside an html file like this:
img
Stuart Felenstein wrote:
I haven't try this yet but wondering if it's possible.
Can I do something like this:
select fieldone from table ;
$myvar = $fieldone ?
And more so could I do it with a where clause ?
i.e. select fieldone from table where fieldone = 3
$myvar = $fieldone ?
This is
Raditha Dissanayake wrote:
Marek Kilimajer wrote:
Jason Wong wrote:
On Saturday 04 December 2004 00:40, Marek Kilimajer wrote:
Raditha Dissanayake wrote:
Marek Kilimajer wrote:
This is an SQL question.
Marek, don't you know that this the mysql list? you are supposed to
answer questions like
Sagar C Nannapaneni wrote:
Hello friends,
I just wanna know is there any way out to know the name of the latest
created session. The issue i'm fixed up with is
I'm storing some variables in the session and the session expire is set
to some 24hrs. Now when i close the browser and when i again
Ryan A wrote:
Hey all,
Heres my problem, I have this written in email.fff
# Start file ##
Hi $firstname $lastname,
We have recieved your request for support.
We will get back to you shortly.
Regards,
$sitename
P.S below is the message you submitted:
$message
# End
M. Sokolewicz wrote:
Marek Kilimajer wrote:
Ryan A wrote:
Hey all,
Heres my problem, I have this written in email.fff
# Start file ##
Hi $firstname $lastname,
We have recieved your request for support.
We will get back to you shortly.
Regards,
$sitename
P.S below is the message
This is an SQL question.
James Nunnerley wrote:
I'm trying to create a table, and ultimately a graph, out of some syslog
data.
I have a mysql table with the following info in it:
Time (unixtime stamp), bytes rcvd and bytes sent
I want to create a sql statement that group the data over a
Tomar Rajeev (ext) wrote:
Hello All,
I am a new member of this group and in the world of PHP;-)
and I guess to mailing lists in general too. You should give a hint
about your problem in the subject.
In my company, around 12 web pages are there. So, I want to make a web
portal in PHP from
Raditha Dissanayake wrote:
Marek Kilimajer wrote:
This is an SQL question.
Marek, don't you know that this the mysql list? you are supposed to
answer questions like these. If you don't there will be self appointed
list moderators who will jump on you like what happened to me last week.
I
Jason Wong wrote:
On Saturday 04 December 2004 00:40, Marek Kilimajer wrote:
Raditha Dissanayake wrote:
Marek Kilimajer wrote:
This is an SQL question.
Marek, don't you know that this the mysql list? you are supposed to
answer questions like these. If you don't there will be self appointed
list
Richard Lynch wrote:
Scott Fletcher wrote:
Never mind that.. I found a different way to use it. It would be so cool
if there is such a feature as directory_exists() to check for partical
filepath...
http://php.net/file_exists
You'll need to use @ in front, because it generates an error message
Robert Sossomon wrote:
foreach ( $_POST as $key = $value )
{
while ($key != submit)
{
\$$key = $value;
$addtocart .= ,'\$$key';
}
}
The problem is that it seems to be hanging at the while loop. Is there
a cleaner way to write the foreach loop so that it will dump out the
submit key?
Nico Veenman wrote:
Hi,
When uploading 'large' files of (for example 6MB) I have a problem that
after uploading to the tmp folder on the server (so when the php script is
called), the tmp_name in the FILES global is empty. So this means I can't do
a move uploaded file because I don't know where
Stuart Felenstein wrote:
I thought this one was under my control. Apparently
not.
I'm getting a Warning: Invalid argument supplied for
foreach() in /home/mysite/public_html/mypage.php on
line 143
First, I have 3 form elements
school[]
school[]
school[]
Here is how I initialize the session
Ahmed Abdel-Aliem wrote:
Hi,
i have a tables in database which fields is
id - title - category
what i want to do is to display the categories entered in the
categories fields, without repeating any of them
for eample if the records is like follow
ID Title Cattegory
1
Dustin Krysak wrote:
Hi there - I was wondering if there was some kind of PHP function to
determine hte pixel size of a quicktime movie. Something like what
GetImageSize() is to images, but for quicktime.
Not in php. Search for programs that you can execute from command line
for your platform.
201 - 300 of 2207 matches
Mail list logo