This is an interesting one.
As someone learning PHP, I am still confused which route I should be going down?
Especially as I am looking to take on a dedicated server soon, I don't
know if PHP5 will become standard soon or are we going to see PHP6
first??!?
Please can some more experienced people le
i checked the line before 61...
it sends the image content type this is the code of image.php
|
| All rights reserved.|
+-+
| PLEASE REA
On Fri, 30 Sep 2005 01:19:01 -0400, wrote:
>Hello everyone. I'm basically building a PHP FTP client app. This app
>connects to an FTP server and allows the user to edit/delete
>files/permissions, etc. I've gotten to the point where I have started to
>create a file upload feature. The probl
xfedex wrote:
I did the "Rasmus' 30 second AJAX Tutorial" just for testing and everything
works fine, by the way... thanks Rasmus, for this and for all !!.
My little script have a single and for every keystroke (calling the
javascript function with onkeyup) the value of the input is parsed by
a
xfedex wrote:
Hi,
I did the "Rasmus' 30 second AJAX Tutorial" just for testing and everything
works fine, by the way... thanks Rasmus, for this and for all !!.
My little script have a single and for every keystroke (calling the
javascript function with onkeyup) the value of the input is parsed
I know a script (it's a webgallery) where you upload your images.zip
with any amount of images in it. After uploading the .zip get unzipped
and the images will be placed into the gallery.
How did they unzip (or better, how is it possible to unzip) the file
with php? and is it possible to extra
Hi Folks
Anyone here have any experience with integrating Filesystem documents
and Wikis?
One of our depts uses a wiki(phpwiki) for docs, whilst the other uses
a network drive. Anyone here have any experience in consolodating
something like this into one interface?
Thanks
Rory
--
PHP General M
Norbert Wenzel wrote:
I know a script (it's a webgallery) where you upload your images.zip
with any amount of images in it. After uploading the .zip get unzipped
and the images will be placed into the gallery.
How did they unzip (or better, how is it possible to unzip) the file
might I sugg
Greetings PHP community,
I have a CSV text file which I need to use to update existing DB
records.
So I have the following :
$array_file = file("path/to/file");
file() creates an array comprising each line of the file, but if each
line contains 20 or so CS values, how do I go about reading each
Jochem Maas wrote:
Norbert Wenzel wrote:
I know a script (it's a webgallery) where you upload your images.zip
with any amount of images in it. After uploading the .zip get unzipped
and the images will be placed into the gallery.
How did they unzip (or better, how is it possible to unzip) the
no one answered me so i'm answering myself
php.ini has a directive called allow_webdav_methods that is by default off.
changing this directive do not work on php 4.3.2 as written at
http://il.php.net/ini.core (didn't really understood what they ment
there by "This directive does not exist a
could be problem of apache configuration ?
is there directives like 'limit' in your apache config file?
On 9/30/05, Yedidia Klein <[EMAIL PROTECTED]> wrote:
> no one answered me so i'm answering myself
> php.ini has a directive called allow_webdav_methods that is by default off.
>
> changing t
Hi,
I'm new to this newsgroup and I'm psyched I found it. But, my newsreader
(Thunderbird), keeps returning a "Connection to server news.php... has
timed out" when ever I try to dload or refresh the messages.
Anyone have a suggestions on what I can do? I'm assuming it's just a
setting I need
Well, I would like to at least be able to upload a 10mb - 15mb file. I
don't need it to upload files that are HUGE, just a reasonable size.
"zzapper" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> On Fri, 30 Sep 2005 01:19:01 -0400, wrote:
>
>>Hello everyone. I'm basically bui
Months ago when I kept encountering that problem, it was due to this.
Suresh, in /home/gift1/public_html/home.php, do you have a space, an
empty line, etc. ? that file should start with
"I put double quotes to emphasize that there should be NOTHING before the
PHP script start.
-Mk
Sures
Like this?
Emil Novak, Slovenia, EU
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
That should work!
Emil Novak, Slovenia, EU
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
You can simply avoid that by buffering the output:
or (older versions of PHP):
Emil Novak, Slovenia, EU
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
I would do something like
$fp = fopen($file_location, 'r');
while (!$fp) {
$csv_line = fgetcsv($fp);
//insert line into database here after appropriate validation and cleaning
}
On Fri, 30 Sep 2005 06:29:11 -0400, Chris <[EMAIL PROTECTED]> wrote:
Greetings PHP community,
I have a CSV text fil
On Fri, 2005-09-30 at 15:33, Emil Novak wrote:
> $array_file = file("path/to/file");
> foreach($array_file as $line)
> {
> $e_array = explode(',',$line);
> {
> // do update on db for each line of array
> }
> }
> ?>
>
> Like this?
Hi Emil,
That`s exactly how I fig
Kevin Cloutier wrote:
Hi,
I'm new to this newsgroup and I'm psyched I found it. But, my newsreader
technically this is a mailing list ;-)
personally I just subscribe to the list with my email addr and get all the
posts sent to me ... I never really got the hang of the newsgroup concept.
htt
On 9/30/05, Norbert Wenzel <[EMAIL PROTECTED]> wrote:
>
> I know a script (it's a webgallery) where you upload your images.zip
> with any amount of images in it. After uploading the .zip get unzipped
> and the images will be placed into the gallery.
>
> How did they unzip (or better, how is it poss
On 9/30/05, Jochem Maas <[EMAIL PROTECTED]> wrote:
>
> I'm guessing that trhe onclick and onsumbit handlers you set are hanging
> on a 'submit' type input? .. if so the form is submitting - in whcih case
> the
> AJAX request will arrive back at your page - and the page won't be there
> (so
> to spe
Everyday I scratch my head.
In php.ini in the C:\WINNT it is said;
; Magic quotes for incoming GET/POST/Cookie data.
magic_quotes_gpc = Off
; Magic quotes for runtime-generated data, e.g. data from SQL, from exec(),
etc.
magic_quotes_runtime = Off
In phpinfo() it is said;
magic_quotes_
So is this the best/safest way within reason ?
//--
// 'Sending' PHP script:
require_once("/home/includes/encryption.inc");
$str
=encrypt(urlencode("movie=mymovie.mov&mask=mask.gif&drag=drag.gif"));
$urlString = $pathtoReceivingScript.$str ;
//---
Jay Blanchard wrote:
Everyday I scratch my head.
In php.ini in the C:\WINNT it is said;
; Magic quotes for incoming GET/POST/Cookie data.
magic_quotes_gpc = Off
; Magic quotes for runtime-generated data, e.g. data from SQL, from exec(),
etc.
magic_quotes_runtime = Off
In phpinfo() it
Hi,
I can use
if (count($somearray) > 0) to test for an empty array.
It is possible to have an array with null values which is effectively empty but
fails the above as
it's count (I belive is greater than 0).
Any ideas
--
zzapper
Success for Techies and Vim,Zsh tips
http://SuccessTheory.com/
On Fri, 30 Sep 2005 08:42:28 -0400, wrote:
>Well, I would like to at least be able to upload a 10mb - 15mb file. I
>don't need it to upload files that are HUGE, just a reasonable size.
>
>
>"zzapper" <[EMAIL PROTECTED]> wrote in message
>news:[EMAIL PROTECTED]
>> On Fri, 30 Sep 2005 01:19:01 -
Better use is empty(), which supports array as parameter:
$test = array();
if(empty($test)) // true
{
// code...
}
else // false
{
}
Emil Novak, Slovenia, EU
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Suppose that I'm in a child array and I wanna know how do I tell what key is
the parent's level, one level up...
For example,
--snip--
$arr['ABC']['DEF'];
--snip--
Let's say the child is "DEF" then the key name one level up would be "ABC".
How do I determine the one level up?
Thanks...
--
P
Let me reply with a question first :) how do you get *to* the child? ;)
post some code so we know. In 99.99% of the cases, the way you get to
the child includes a way to find out the parent key (usually you
foreach() to it, or something similair).
- tul
Scott Fletcher wrote:
Suppose that I'm
I'm trying to store an array of DOM XML objects
(http://www.php.net/manual/en/ref.dom.php) in a PHP5.0.3 $_SESSION array,
but when I load the session back (and yes, I've declared my class before the
session_start()), I get these errors:
Warning: XMLRule::getValue() [function.getValue]: Invalid Sta
Are you f'ing kidding me?!
http://www.php.net/manual/en/ref.session.php
"Some types of data can not be serialized thus stored in sessions. It
includes resource variables or objects with circular references (i.e.
objects which passes a reference to itself to another object). "
L A M E !!!
This i
if you don't have access to php.ini then use
ini_set("upload_max_filesize","10M").
At 06:29 p.m. 30/09/2005 +0100, zzapper wrote:
On Fri, 30 Sep 2005 08:42:28 -0400, wrote:
>Well, I would like to at least be able to upload a 10mb - 15mb file. I
>don't need it to upload files that are HU
What's the best approach to create a shopping cart.? Cookies? Submit
buttons passing _post values? Or create session values? I have a bit of
code to get that started. It won,t be a complicated site:
http://testesp.flsh.usherbrooke.ca/db/index.php - want to allow visitors
check off the titles th
35 matches
Mail list logo