Hi,
It probably did because I added the line,
AddDefaultCharset UTF-8
to my .htaccess a few moments ago. :-)
"Michiel Sikma" wrote in message
news:o2p6cda1ded1004240726l272f04fbmdd2fb996e2580...@mail.gmail.com...
> On 24 April 2010 16:07, Parham Doustdar wrote:
>
>>
shley Sheridan" wrote in message
news:1272117941.20937.164.ca...@localhost...
> On Sat, 2010-04-24 at 18:37 +0430, Parham Doustdar wrote:
>
>> Hi Ashley and Michiel,
>>
>> It appears it is something in Apache or my server program on Windows (I
>> am
>> using Uni
y Sheridan"
Newsgroups: php.general
To: "Michiel Sikma"
Cc: "Parham Doustdar" ;
Sent: Saturday, April 24, 2010 6:16 PM
Subject: Re: [PHP] Question: Farsi characters showing as jibberish
> On Sat, 2010-04-24 at 15:38 +0200, Michiel Sikma wrote:
>
>> On 24 April
Hi,
I have created a PHP file, and wrote a string of Farsi letters in it. In the
head section of the HTML, I put:
There appears to be something wrong with Apache, or something, because no
matter whether I put that string in an echo statement or just in an HTML
with a php extention, the page
tween the apostrophes is given.
And, I found out what the problem was; I should have put:
if (mysql_num_rows($result))
rather than just
if ($result)
Thanks!
- Original Message -
From: "Andre Polykanine"
To: "Parham Doustdar"
Cc:
Sent: Wednesday, March 31, 2010
Hi there,
Here is a snippet of code... that doesn't work for some reason. Please note
that I have put some
@mysql_query($query) or die(mysql_error());
statements, to see if MySQL gives an error. I receive nothing other than the
file starting to download. This is supposed to be a file download c
Hello there,
A friend called me today and was wondering what happens if the ID colomn of
an MYSQL database, set to autoinc reaches the int limit. Will it return and
begin choosing the ID's that have been deleted, or... what?
Thanks!
--
PHP General Mailing List (http://www.php.net/)
To unsubs
Hello there,
I wonder how I can stream MP3/OGG files with PHP? I'm running UniServer
on a Windows machine, if that helps.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Thank you, everyone. All fixed.
"metastable" wrote in message
news:4b260641.80...@metastable-services.net...
> Parham Doustdar wrote:
>> Hi there,
>> Does it differ? I thought when in quotations, variables like that would
>> be
>> automatically interp
; $sql = "INSERT INTO BOOK(bookname, authorsname, ISBN) VALUES
> ('".$_POST[bookname]."', '".$_POST[authorsname]."', '".$_POST[ISBN]."')";
>
>
> best regards
> Jochen
>
>
> Parham Doustdar schrieb:
>> He
Hello there,
Here's a short PHP script a friend has written, and given to me to test.
However, I am getting a MySQL error saying that the syntax error, on the
line that contains mysql_connect(); is wrong, near '')'
(note that it is not a PHP error, but a MySQL error.)
Here's the code:
[code]
[/co
Hello there,
I have asked on the mailing lists that have blind users and no one seems to
know about this technology (that is ironically created to help us blind folks).
I was wondering if anyone here has the experience of implementing Wai-aria.
Since my question is rather about Wai-aria than PHP
Hello there,
I'm guessing that when a row in a MySQL table is removed, the ID colomns of the
rows which come after that row are not changed. For example:
1
2
3
4
Now, if I want to remove the third rows, the ID colomn would be something like:
1
2
4
I was wondering if there was a way to fix it thr
ail.com
Twitter: PD90
email: parham90 at GMail dot com
"Jim Lucas" wrote in message
news:4aadec1e.60...@cmsws.com...
> Parham Doustdar wrote:
>> Hello there,
>> I've been asked to create something like the tables you usually see,
>> where the headers a
Hello there,
I've been asked to create something like the tables you usually see, where the
headers are actually links and when you click the links, the table gets sorted
based on the header. Are there any classes that you know of that would do the
job? My current idea is to return an array of t
Hi there,
I've heard of frameworks, but I don't quite know what they are used for. I've
done a little search on the internet, but even though I've been able to find
different PHP frameworks, I'm not quite sure what they offer, or in what they
differ, or why I shouldn't just use PHP as it is.
Can
Your if-statement should be like this:
[code]
if(isset($_REQUEST['firstname']) && !empty($_REQUEST['firstname'])) {
...
}
[/code]
--
---
Contact info:
Skype: parham-d
MSN: fire_lizard16 at hotmail dot com
email: parham90 at GMail dot com
"Allen McCabe" wrote in message
news:657acef20908031008nc
Dear Richard,
I don't quite know how I can write a bite into a file. I also looked into a
manual and couldn't find a mention of FLock-ing in the explaination for
FOpen parameters.
Thanks a lot for your help.
--
---
Contact info:
Skype: parham-d
MSN: fire_lizard16 at hotmail dot com
email: parha
;
flock($fp, LOCK_UN);
fclose($fp);
Thanks a lot again for your help.
--
---
Contact info:
Skype: parham-d
MSN: fire_lizard16 at hotmail dot com
email: parham90 at GMail dot com
"Ollisso" wrote in message
news:op.ux03zprl48v...@ol-n.kyla.fi...
> On Sun, 02 Aug 2009 07:11:27 +
ock($fw, LOCK_UN);
fclose($fw);
[/code]
Am I doing anything wrong here?
Thanks!
--
---
Contact info:
Skype: parham-d
MSN: fire_lizard16 at hotmail dot com
email: parham90 at GMail dot com
"Ollisso" wrote in message
news:op.uxy29woc48v...@ol-n.kyla.fi...
> On Sat, 01 Aug 2009 08:20
Hi there,
I've written a counter for my blog, which keeps the count of visitors in a
file. However, when the visitors get too many, it resets to zero. Why?
Here's the piece of code:
[code]
$f = $dir . '/view_counter' .EXT;
$fp = fopen($f, "r");
$count =fgets($fp, 1024);
fclose($fp);
$fw = fopen(
Hi there everyone,
First of all, let me thank you for your always-present help in this list; I (as
a newbie) appreciate it very much! :)
However, pardon me for I need to trouble you with another piece of text that
doesn't do what it should do:
I need to parse the raw-listing of an FTP into it's p
Hi there Shawn,
Thank you for your help. That works.
--
---
Contact info:
Skype: parham-d
MSN: fire_lizard16 at hotmail dot com
email: parham90 at GMail dot com
"Shawn McKenzie" wrote in message
news:ee.3d.36467.c0261...@pb1.pair.com...
> Parham Doustdar wrote:
>> Hi there
Hi there,
I am writing a PHP FTP client for my project. I want to put a "download" option
and an "upload"" option, but I don't know how. My problem is this:
How can I make the server the PHP script is on delete the file after uploading
it to the SFTP, or after the user has finished downloading it
t a refresh kind of btn, or your
> app will have to implement a refresh process, which will then
> fetch new/updated data from your files..
> etc...
>
>
>
>
>
>
> -Original Message-
> From: richard.he...@gmail.com [mailto:richard.he...@gmail.com]on Behalf
>
Hi there,
I'm going to create a small chat script with PHP. The messages you want others
to see will be added to a flat file (I.E. TXT file), and read and displayed by
PHP. However, I want this reading and displaying to be periodic. This means
that I want PHP to check the file for new lines ever
3k9c502e07d66c4...@mail.gmail.com...
2009/6/12 Parham Doustdar :
> Hi there,
> I need to create a PHP script that will connect to an FTP, get a listing
> of files/directories from it, and displays them in a table. Now, there is
> only one problem here.
> I tried connecting with opendi
Hi there,
I need to create a PHP script that will connect to an FTP, get a listing of
files/directories from it, and displays them in a table. Now, there is only one
problem here.
I tried connecting with opendir(), like this:
opendir("ftp://...";);
but it seems it doesn't work with FTP. Now, is
28 matches
Mail list logo