Ashley Sheridan wrote:
On Wed, 2010-01-13 at 09:25 -0500, Rahul S. Johari wrote:
Ave,
This is what I'm trying to do; I want to read a directory (eg: W:\Test
\) and take all the filenames found in the directory (eg: 1.vox,
2.wav, 3.txt) and store them in a simple mySQL table.
Can I do
Ashley Sheridan wrote:
On Mon, 2010-01-11 at 02:52 +0200, Kaya Saman wrote:
Hi,
I am hoping someone can help me??
I currently run Fedora 11 on an Apple PowerMac G4 and recently performed
an upgrade to it which rendered my site completely unsee able for a
while but then after re-saving
, but the
link you gave me is good enough for what I needed it for.
Again thank you!
Stut wrote:
> Kenneth Andresen wrote:
>
>> What I would like to know is if there are some lists of all these base
>> domains, or maybe some function already doing what I would like to do?
Hello all,
I am trying to extract base domains and sub domains from url's, and
expect there to exist something to do this already.
I used the parse_url($url) to get the host variable.
My thought is to use $domain_elements[]=array_reverse(explode('.',$url));
then simply check $domain_element[0]
Thanks Rob, that solved the problem for me!
Rob Richards wrote:
Kenneth Andresen wrote:
I am having problems with the following functions where my return
simply is "#text Joe #text Smith #text unknown", it should have read
firstname Joe lastname Smith address unknown
What am I d
Hello Jonathan,
You probably don't have php5 compiled with mbstrings enabled, if you
have complied php5 with iconv instead you can try
iconv('utf-8' , 'html', $string);
I don't know what to recommend if you don't have any of these complied
into php5.
Hello,
why not simply convert the text to html
mb_convert_encoding($string, 'html', 'utf-8');
Best regards,
Kenneth
jonathan wrote:
I'm inserting some info into a mysql table which has the charset set
to utf-8.
When I do a select via the command-line from
I am having problems with the following functions where my return simply
is "#text Joe #text Smith #text unknown", it should have read
firstname Joe lastname Smith address unknown
What am I doing wrong?
$xmlstring =
"JoeSmithunknown";
$domdoc = new DomDocument();
$domdoc->loadXML($xmlstring
Hello all,
I have been trying to get the Content-Encoding header from Curl, but
have yet to manage.
Using curl from command line I have no problems simply using:
curl --compress page_to_get -o local_page_copy -D dumpheader.txt
The data gets compressed and uncompressed also in PHP, I am just l
if you have any
questions/comments/etc.
Thanks!
Kenneth Schwartz -- [EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On 04-04-22 19:48 -0400, Matt Palermo wrote:
> That will work if there is only one word in the column I'm searching, but
> the columns I'm searching are in paragraph form, so the = will not work
> there if I want to just match one word from the whole paragraph...
>
http://dev.mysql.com/doc/mysql/
To all,
I have an Array ( [0] => 2 [1] => . [2] => 2 [3] => 0 [4] => 8 )
but i want to convert it into integer 2.208 in order to use it to plot
graphhow can i convert it?
thx,
Kenneth
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
.
I've tried to use fgets() and then convert them from string back into
array...but it seems doesn't work~
Thanks,
Kenneth
"Jason Wong" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> On Monday 08 March 2004 09:04, Kenneth wrote:
>
> > I have a
Hi all,
Does PHP support C++ language?
If yes, how can it be converted?
The case is, I've use C++ to make a function (to get data from file and
convert it from char type to int type), how can i import the
function/variables and use it in PHP?
Thanks,
Kenneth
--
PHP General Mailing List
Dear All,
I have a problem on getting content from a data file (data.txt).
I have many numbers in the file...all of them are about 2.XXX, and I need
them to plot a graph. But I just can't read them out as a integer.
I've used C++ program to read them before, but i don't know how to import
C++ pro
Dear all,
Thanks Kilimajer's help and I can finally build-in the GD library.
But when i use the imagecreate function for jpeg, don't know why there are
some unknown wordings appears. Sth like the following:
1oACEEEO¡ÑOUUaaceeeno
Don't know what's happening, I just use simple functi
hello everyone,
I've some question about using image function.
I've followed the instruction and downloaded the zlib and libjepeg-6b, but
how can i install them??
Some said that for new version of php, what i need to do is just uncommend
the ini-file, but i just find it still doesn't work.
Thanks,
dear all,
additional to the previous post, I was told that for later version of php,
there is already GD with it, and what should i do is just uncomment the
php_gd2.dll line...i've tried this also, but it still doesn't work, how can
i solve this and use the function imagethanks
--
PHP General
dear all,
I have a problem on using image function. I've download the zlib and lpng
file as it was told, but i still can't use the image function.
How can I install these files into php??
thanks
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
To all,
I have a problem on using the function "image".
I've downloaded the zlib and lpng files...but i don't know how to install
them.
Also, I've heard that for latter version PHP, there is already GD library,
what i have to do is just to uncomment the line"php_gd2.dll", i've followed
this but the
Hi everyone,
I would like to use the function 'image' in php~I know that I have to
install GD before using itI've downloaded the zlib and lpng files...but
how can I install them??
and may it ask for a simple testing function to test if the GD works?
Thanks,
Kenneth
--
PHP
How do I include external library files in PHP???
I would like to put the lines that are repeated in each php files, in a
separate file.
e.g.
$db_host = "localhost";
$db_port = "3306";
$db_name = "test";
...
?>
Kenneth
--
PHP General Mailing List (http://ww
How do i delete all file in a directory???
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Can anybody help me with file uploading, again...
I tried uploading a file through...
but, on project_save.php, the
$HTTP_POST_FILES["project_file"]["size"] is zero(0) , and
$HTTP_POST_FILES["project_file"]["tmp_name"] is an empty string.
i checked,
$HTTP_POST_FILES["project_files"]["error"
Hello everyone! =)
Can anybody help me with file uploading with PHP???
i tried uploading a file through...
but, in save_upload.php, there is no $HTTP_POST_VARS['userfile'], or
$HTTP_POST_VARS['userfile_name'], etc...
Can anybody help me with this...
--
PHP General Mailing List (http://
a bug in my configuration? What,
if anything, am I doing wrong?
Thanks,
Ken
Kenneth Lerman[EMAIL PROTECTED]
Systems Essentials Limited Fax: (203)426-9138
55 Main Street Voice: (203)426-4430
Newto
I would just read up on the CURL functions and either use them or get CURL
and use it externally.
"Chris Shiflett" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> --- Martin Thoma <[EMAIL PROTECTED]> wrote:
> > How can I get an https-page?
>
> I have never test
works perfectly, HOWEVER if I just enter data and hit return then
it messes up. That make no sence to me but maybe someone out there can put
it together.
thanks
"Chris Shiflett" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> --- Kenneth
I just changed my server to SSL, everything worked before that. now if I
have a form with an input box (named "searchstring" for example) with a
value of "TEST", when that form is posted (submitted) I get the following:
foreach($_POST as $key => $value) {
echo "[POST]Key: '$key'; Value: '$value'
t really mean to imply anything about people's honesty and so
> forth...
>
> I just wanted to say that validating (anything) on the client side is not
> normally a good (and reliable) idea. Of course, as always mentioned,
> validation on the server side is always better.
>
>
hi all.
i'm interested in creating a php game that generates a page of random (ish)
images, one of which is waldo (or the like). when the player clicks on
waldo, they're taken to the next, slightly harder level.
anyone think that sounds fun?
any pointers, tips, advice, criticisms?
--
->-> http:
STOOPID me >.< !!
I forgot to chmod the save path. That's why it didn't work! bah!
Let this be a lesson for all - chmod everything correctly :)
Best regards!
-Ken
Kenneth Chau wrote:
> So, it says in the manual that gc doesn't occur if the save path depth is
> more
Jason Whitaker wrote:
> OK, I need to know is there a place where i can find out how to pull
> information(TEXT) from a MySQL DB table and print where i place a variable
> in a php page?
I have NO idea what your question is... did you just want to echo something
from your MySQL db table inside
Is there any
way to change this (within a script, not php.ini - i have no rights to do
that!)
Thanks a bunch,
Ken
--
Kenneth Chau
Web Developer
http://www.gizzar.com
[EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hello all,
I'm having a problem setting cookies, when running code using the
explicit interpreter directive (#!\php\php.exe). The problem is that PHP
cant set cookies because bytes are sent back to the client before the
setcookie() (presumably \n or \r 's), but only when the interpreter
direc
'make' =>
array('Make','12','keyword','1:30','select','ChevroletGMCIsuzuOldsmobile','text'),
Can someone please give me some pointers. =)
Thanks.
Kenneth R Zink II [EMAIL PROTECTED]ICQ# 5095094
'
So far all I can get it to do is the default response. Can someone point out what I'm
doing wrong or tell me how to see what the contents of a resource id is please?
Old URL = http://www.s-series.org/htm/firestorm/firestorm.htm
urlcheck = Resource id #4
Fopen Did Not Work
New URL = http://www.s-
tp://www.warrenbowley.com","r") - Bad file descriptor in
/var/www2/html/members/datacopy.php on line 73
fp =
URL IS NOT VALID
New URL = http://
Kenneth R Zink II [EMAIL PROTECTED]ICQ# 5095094
'87 2.8L TBI GMC S-15 Ext. Cab (Hurricane) ...524 in the works !!!
http:/
How would I use FOPEN to validate a URL?
here is what I already have and it's not working properly.
$url=$row[url];
echo "Old URL = ".$url."";
$fp = @fopen($url,"r");
if ($fp){
echo "Valid URL";
}else{
echo "URL IS NOT VALID";
$url=&qu
How would I go about checking to see if a file exist from php?
I didn't find anything on php.net when I did a search for exist.
basically, I'm trying to accomplish this.
if $file exist {
do something;
}else{
echo "$file doesn't exist";
}
thanks in advance.
Ken
a look at the results, check out http://www2.ripcon.net/members/datacopy.php
I'm stumped. Can someone shed light on this?
Kenneth R Zink II [EMAIL PROTECTED]ICQ# 5095094
'87 2.8L TBI GMC S-15 Ext. Cab (Hurricane) ...524 in the works !!!
http://www.s-series.org/htm/windstorm/
Ok, I'm pretty sure I need to use the "addslashes" function, but I'm not
sure how to implement it.
The 2 variables that I would need to addslashes are $sire and $dam.
can someone please help me, this is new to me.
Thanks.
Kenneth R Zink II [EMAIL PROTECTED]ICQ#
d, it just accepted it.
Help!! I need to know A.S.A.P.
Kenneth R Zink II [EMAIL PROTECTED]ICQ# 5095094
'87 GMC S-15 Ext. Cab (Hurricane) ...BBC 524 being built !!!
http://www.s-series.org/htm/windstorm/project-windstorm.htm
'85 Chevy S-10 Blazer (FireStorm) ...Soon to be 3.4L
nd move the old data to the new site.
Thanks.
Kenneth R Zink II [EMAIL PROTECTED]ICQ# 5095094
'87 GMC S-15 Ext. Cab (Hurricane) ...BBC 524 being built !!!
http://www.s-series.org/htm/windstorm/project-windstorm.htm
'85 Chevy S-10 Blazer (FireStorm) ...Soon to be 3.4L SFI !
I was just reading at DevShed on how to use Regular Expressions, but now I'm even more
confused.
Can someone please explain how I would use a REGEX to determine in and uploaded file
is a .gif or .jpg file?
Thanks.
Kenneth R Zink II [EMAIL PROTECTED]ICQ# 5095094
'87 2.8L TB
I want to limit uploaded files to $250k. The incoming files should be images, so I
also want to limit the files to .gif or .jpg files.
How would I go about doing this?
Kenneth R Zink II [EMAIL PROTECTED]ICQ# 5095094
'87 2.8L TBI GMC S-15 Ext. Cab (Hurricane) ...524 in the
_array($result);
echo "id = ".$id."";
$pic1 = $id.$picture1_name;
$pic2 = $id.$upicture1_name;
echo "pic1";
if($picture1 == 'none'){
$pic1="na.gif";
}
echo $pic1."";
echo "pic2";
if($upicture1 == 'none'){
$pic2=
Can PHP execute a refresh to a new page?
If so, how?
Thanks.
Kenneth R Zink II [EMAIL PROTECTED]ICQ# 5095094
'87 2.8L TBI GMC S-15 Ext. Cab (Hurricane) ...524 in the works !!!
http://www.s-series.org/htm/windstorm/project-windstorm.htm
'85 3.4L Carbed Chevy S-10 Blazer
ce for any help.
Kenneth R Zink II [EMAIL PROTECTED]ICQ# 5095094
'87 2.8L TBI GMC S-15 Ext. Cab (Hurricane) ...524 in the works !!!
http://www.s-series.org/htm/windstorm/project-windstorm.htm
'85 3.4L Carbed Chevy S-10 Blazer (FireStorm) ...Soon to be 3.4L SFI DIS !!!
http://www.s
How would I go about pulling e-mail addresses from a database and sending
and e-mail using that list?
Kenneth R Zink II [EMAIL PROTECTED]ICQ# 5095094
'87 2.8L TBI GMC S-15 Ext. Cab (Hurricane) ...524 in the works !!!
http://www.s-series.org/htm/windstorm/project-windstorm.htm
How do I store a jpg within a table?
I want for a user to be able to pull a jpg from either their HD and store it
in a table with some other information for a classifieds section. That way
when the ad is deleted, the picture goes with it instead of remaining on my
HD.
Kenneth R Zink II
Hi everyone,
My name's Kenneth Zink and I'm a newbie here. I just started working with
PHP on Wednesday, but with the help of John Guynn, I think I'm getting the
hang of it pretty quickly.
I joined the list so that I have more resources available to me as I
continue learning ho
52 matches
Mail list logo