Forum Array

Ubuntu :: Unable To Create Trashing Info File: Read-only File System

I plugged in my USb drive into my computer yesterday and tried to delete a folder. I was unable to do so and got the following message Cannot move file to trash, do you want to delete immediately? The file "my file" cannot be moved to the trash. Show Details Unable to create trashing info file: Read-only file system So when I click on delete I get another error message: Error while deleting. There was an error deleting Case Study Database. Show Details Error removing file: Read-only file system At this point I can only click on Skip, Skip All, or Cancel. I have not changed anything on the stick recently so I dont know what is causing the problem.

View Answers

Very Similar Questions

Implode - Read The Contents Of A File (servers) And Create A New File
phpbuilder.com
I am trying to read the contents of a file (servers) and create a new file off of it with more information line by line. You will see the logic soon. I know how to do this via a script but not php. The end result is servers2 should have (ssh root@$count 'echo $user|passwd --stdin root' ; done). The variable $count is the list of servers in the (servers) file, so it will have the line above for each server name. Code:

Links Files In Linux (file.txt For File.php)
www.webhostingtalk.com
Today I found some cstomer on the servers make a link for named it file.txt and link it to other customer php file. so that customer have the ability to show the other custoer file content when visiting the url because it is a text wile originally it is a php file. the php file was a config file, so now he know the database password , and because he is in the same server he can use that databse. the question , how to avoide this prolem in the future? notes , the SuExec is rnning and the open_basedir protection is enabled, but the problem still exists.

Read XML File And Write To A Array / File
stackoverflow.com
Possible Duplicate: Read XML file and write to a php array/file I need to update the country list of my website and I want to automate the process. Country list can be found here [URL] I tried it this way [URL] (PHP XML Expat Parser) However, this didn't seem to work well as I was confused where to actually 'get' the data and print it to my own array for later use. Now I want to try it using XML DOM [URL] Just want to check with everyone, if I had a simple XML file to read, that contained a country code and country name as follows: <Entry> <Country_name>AFGHANISTAN</Country_name> <Code_element>AF</Code_element> </Entry> I want to read this file (DOM method), and then feed the data into a separate file/array of mine that will be accessed by my website. What PHP xml functions would YOU use/recommend to do this simple task?

PHP/IIS: File Read/Write OK, File Unlink Denied
bytes.com
I've got PHP running fine on IIS (OS: Server 2003, SP1; IIS: 6.0; PHP: 4.3.11). In PHP, the user uploads a file, which is then processed and the contents are inserted into a new file, created in PHP, onto the server. This bit works fine, the new file created by PHP is correctly stored. Later, once the user confirms the upload and PHP inserts the contents of the file into the DB, the code tries to remove the file created in PHP moments earlier, via the unlink() function. What I see on screen is the following: Permission denied I have made sure that the permissions for the Internet account that created (and is trying to delete) the file have full permissions over this particular folder and the files within it. But the user must have permission anyway, because they are able to create this file in the first place. I've looked at the permissions for the file in PHP, which read: 0666. So everthing *appears* ok to me; I can't see where the permission issue is coming from.

Read A Video File Placed At Server - Video File's Name Includes Http Wrapper
stackoverflow.com
I am using the following code but there appears to be warning with fseek and returns -1 instead of 0. $file = fopen("http://www.example.com/public_html/data/video/temp.mov", "r") or exit("unable to open file"); fseek($file, -128, SEEK_END); The file gets opened definately but fseek doesn't work. Is there some other method to read video from server? Following is the error message Warning: filesize() [function.filesize]: stat failed for Warning: fseek() [function.fseek]: stream does not support seeking in

Output Current File Contents Without File Reading Functions?
stackoverflow.com
I have an interesting task here.. is it possible to read the current file contents without file reading functions? (without file_get_contents, fopen etc.) so if i have <? echo 'hi'; // function to output this file code ?> the output of the php file should be same as the code (BUT without the file reading functions)

Read File Contents Of Network Share File
stackoverflow.com
I'm looking for a way to read the file contents of a file located on a network share. I can use the IP Address of the share host and the share folder to get to the location but I don't know the correct command and syntax to do that file_get_contents? fopen? $text = fopen('//128.251.xxx.xxx/Common/sample.txt', 'r'); or something like that? UPDATE* I also cannot access the file through a browser window although I know the file is located in that exact directory...

Read A Text File Then Find Keywords In That File
phpbuilder.com
how do i make php read a text file then find keywords in that file and only display the results of what it found (i'm going to use wildcards with the keywords so i can sort data to different text files)that way it can only display the part of the text it found and write it to a new text file. i was wondering if anybody could give me an example of that or tell me what commands?

Perl Read File - Refresh When File Updated
stackoverflow.com
I've looked all over for how to do this, and I've seen it done in WHM with Jquery and PHP, but how can I have a PHP or Perl script read a log file (logfile.log for example) on a webpage, and refresh as the log file is updated (while staying to the bottom of the log file)?

Read A File List In .torrent File
stackoverflow.com
I want to extract file names listed in .torrent files. How to do this with php? I need this to get file extensions of those files.

How To Create Files In Internet Temp Files
forums.asp.net
I need to create temp file on the clint side So, i read that files can be created on the folder of internet temp file. how I can do that?how I can get the path of the temp folder?I need VB code

Read A CSV File And Load Its Values Into Variables And Then Read Them
stackoverflow.com
I am trying to read a CSV file in PHP and load its values into variables and then read them. I've not been able to find out a proper tutorial for this.

Read File - Limit The Number Of Lines To Read
www.webmasterworld.com
How can I open a file and then limit the number of lines I want to read? say I have a text file and I only want to read line one to get the title of the text within?

Flush File Read Buffer As Its Being Read
www.phpfreaks.com
I have a file which is being continuously being written by another program running in background. What I require is to display the file contents as its being read. Normally, php would read the whole file and output it at once. What I want it, flush the file read buffer after every 50kb read or after a specific time interval or something like that.

Read File With No Read Access?
stackoverflow.com
In php, I need to read a file that has no read access (the file permissions are -rw-r-----). Changing the file's permissions isn't possible. The file sits on a local server. Various methods I've tried in PHP don't work (file_get_contents, fopen, and curl) and maybe that's to be expected if that last read bit isn't set. Is that because the web server is being blocked access? If that's the case then why is it that Firefox can read the file directly (using file://) as does curl from a shell? About to write an external python script that can read the file... what am I missing here?

Read A .dat File As "rb" Read Binary?
stackoverflow.com
I have a folder folder above the webroot that contains .php, .inc, .dat filesthe .php can access the .inc no problembut when the .inc tries to access the .dat using fopen('mydat.dat', "rb"); it gives an error that it can't find mydat.dat inside foldermyinc.inc Of course it can't find it since .inc is a file not a folder. Why is php treating it as such?Any ideas why php is trying to find the .dat inside the .inc?or any other alternatives to fopen($filename, "rb")?

1.com/file.php, 2.com/file.php Where File.php Is Hosted On Main.com/file.php
www.webhostingtalk.com
Say I have 2 websites and they all use file.php which is located on mainserver.com/file.php. I want to use the file like this: website1.com/file.php website2.com/file.php

Write To Text File - Output The Result To A Text File
www.codingforums.com
What i would like is to output the result to a text file Code:

Warning: File_get_contents() [function.file-get-contents]: URL File-access Is Disabled In The Se...
stackoverflow.com
i got an error message when i try to do file_get_contents() function Warning: file_get_contents()[function.file-get-contents]: URL file-access is disabled in the server configuration in /data/20/1/112/111/1927437/user/2100551/htdocs/cti-dev/admin/my path My site is https.

Write To File Sometimes Deletes EVERYTHING, Leaving Empty File
www.phpfreaks.com
I've used PHP to save raw data from Flash to an XML in the past. Load the XML into flash, update a couple variables, then send it to PHP to completely overwrite the old .xml file. This works great most of time, but sometimes after a few days, I'll check the .xml and it will be empty (0 bytes). Not sure if this is caused by a user who aborted during the writing process, or simultaneous connections, etc. Been thinking about doing a backup every day using CRON, but that's a mission and I'd like for it not to happen full stop. Any suggestions?

Web Forms :: How To Link .cs(class File) With .aspx.cs File
forums.asp.net
i have created basic .aspx files .one is login.aspx and registration.aspx...Now in my solution explorer i also added class file i.e StudentInfo.cs and wrote some properties in it...now my question is 1. i want to connect Studentinfo.cs class to my login.aspx.cs...So that i can call the methods in Studentinfo.cs..how to do it?

File/Command To Change Number Of Open Files In Linux
www.sitepoint.com
I can't seem to remember, but what's that command or file used in Linux so that you can view/adjust the number of open files and others in the system?

Ffmpeg :: Cannot Open Shared Object File: No Such File Or Directory In Unknown On Line 0
www.webhostingtalk.com
Rapidly growing error logs showing the same message $ug-non-zts-20020429/ffmpeg.so' - /usr/local/lib/php/extensions/no-debug-non-zts-20020429//usr/local/lib/php/extensions/no-debug-non-zts-20020429/ffmpeg.so: cannot open shared object file: No such file or directory in Unknown on line 0 root@server [~]# ls /usr/local/lib/php/extensions/no-debug-non-zts-20020429 ./ ../ eaccelerator.so* root@server [~]# ls /usr/local/lib/php/extensions/no-debug-non-zts-20020429 ./ ../ eaccelerator.so* Using cpanel 11 / centos 4

How Can I Show Hidden File In Cpanel File Management Tool
www.webhostingtalk.com
i have a server with centos, i need to edit the hidden file .htaccess from the file management tool of cpanel, but the hidden files not shown, ow can i modify the setting and let the files shown in the file management tool of cpanel?

File Upload With HttpWebRequest Doesn't Post The File
stackoverflow.com
Here is my code to post the file. I use asp fileupload control to get the file stream. HttpWebRequest requestToSender = (HttpWebRequest)WebRequest.Create [URL] requestToSender.Method = "POST"; requestToSender.ContentType = "multipart/form-data"; requestToSender.KeepAlive = true; requestToSender.Credentials = System.Net.CredentialCache.DefaultCredentials; requestToSender.ContentLength = BtnUpload.PostedFile.ContentLength; BinaryReader binaryReader = new BinaryReader(BtnUpload.PostedFile.InputStream); byte[] binData = binaryReader.ReadBytes(BtnUpload.PostedFile.ContentLength); Stream requestStream = requestToSender.GetRequestStream(); requestStream.Write(binData, 0, binData.Length); requestStream.Close(); HttpWebResponse responseFromSender = (HttpWebResponse)requestToSender.GetResponse(); string fromSender = string.Empty; using (StreamReader responseReader = new StreamReader(responseFromSender.GetResponseStream())) { fromSender = responseReader.ReadToEnd(); } XMLString.Text = fromSender; In the page load of CrossPage.aspx i have the following code NameValueCollection postPageCollection = Request.Form; foreach (string name in postPageCollection.AllKeys) { Response.Write(name + " " + postPageCollection[name]); } HttpFileCollection postCollection = Request.Files; foreach (string name in postCollection.AllKeys) { HttpPostedFile aFile = postCollection[name]; aFile.SaveAs(Server.MapPath(".") + "/" + Path.GetFileName(aFile.FileName)); } string strxml = "sample"; Response.Clear(); Response.Write(strxml); I don't get the file in Request.Files. The byte array is created. What was wrong with my HttpWebRequest?

Create A Function That Will Use The File Read Function But Not Read The Codes Inside That File
www.phpfreaks.com
What I want to do: What I want to do is create a function that will use the file read function but not read the php codes inside that file. e.g. <?php print "hello"; ?> would just send out the word hello, php codes that get information from a database would do the same, it would print out the information being written by the php code. Example of the database php codes: <?php $sql = "SELECT * FROM TABLE"; $res = mysql_query($sql); if($mysql_num_rows($res)){ while($row = mysql_fetch_array($res)){ print $row["table_data"]; } } ?> Lets say $row["table_data"] equals the name "Bob", that php code will send out the name Bob plus other names that could be printed from that php code and leave the php coding out so it does not get printed after  being put through the ReadFile function. [Code].... All the function above does is reads the file and that means the text between the <? & ?> tags also get read, what I want to know is how I could make a function that calls the page as it is ment to be shown. E.G. - If I wanted to get the current year and on the "footer.inc" page I write <?=date('Y');?> what fopen does is read that as it is but what I need it to do is to run the code as it would normaly do and for example it would print out "2010" and thats what fopen would read. So <?=date('Y');?> on the footer.inc file will print out 2010 after going through the ReadFile function.

Ubuntu Networking :: Samba File - Access Shared Folder - Error: Failed To Retrieve Share List From S...
ubuntuforums.org
I have been having off and on issues with my samba file shares. I am sharing a NTFS formated hard drive where the mount point is in my home directory, as well as a printer connected via USB. I am to the point where printing works (using it as an ipp print share, samba is configured for it, but I don't know if it works or not), and I can access the shared folder from Windows, but I can't access the shared folder from any Ubuntu machine. I get the error: [Code]....

Sony :: Unable To Download Files From Internet Explorer
forum.notebookreview.com
I have the Sony Vaio VGN-FZ21Z with Vista Home Premium. Recently whenever i try to download files from the internet it brings up a box saying do you want to open, save or cancel. I have tried both open and save, it does sometimes ask me if i want to run it and i press run. It then act as though its tryng to download the file, it then goes off once downloaded and never does anything else. Its sending me nuts as i have tried everything. I tried a system restore as i thought id done something i shouldnt have, ive tried deleting all temporary files and ive just got to the point now where i have ran out.

Unable To Upload Files On Shared Hosting Server
www.webhostingtalk.com
When i try to upload a image files to the linux based shared hosting server application with java and .Jsp files (using apache common file upload) the following exception is getting...! java.security.AccessControlException: access denied (java.io.FilePermission /var/chroot/home/content/h/e/r/heritageameric/html/heritageshopping/abc.txt write) Hosting people suggesting me that i need .htaccess file to solve and get write permission..! But iam completely new to this .htaccess file concept..!

File Info
www.webhostingtalk.com
any idea on this error,? my fiend is having pb with fileinfo after his installation Warning: finfo_open() [function.finfo-open]: Failed to load magic database at '/usr/share/file/magic.mime'. in /home/tomita/public_html/ff/fileinfo.php on line 2 Warning: finfo_file(): supplied argument is not a valid file_info resource in /home/tomita/public_html/ff/fileinfo.php on line 3 Warning: finfo_close(): supplied argument is not a valid file_info resource in /home/tomita/public_html/ff/fileinfo.php on line 4 these are the errors he see when he use the following code <pre><?php $finfo=finfo_open(FILEINFO_MIME); $FT=finfo_file($finfo,'windows2008.png'); finfo_close($finfo); print_r($FT); ?> ~

Web Forms :: Browser System Info / Get Browser Operating System Name And Version
forums.asp.net
How to get browser operating system name and version in asp.net2.0 (c#)

Web Forms :: Unable To Upload Large Files?
forums.asp.net
I am unable to upload even 75MB file ... it seems MS for some good sake is putting a limit of the file. how can I overcome this issue.

Read And Write File
phpbuilder.com
I have a file like this: name city 435 I want to increase only the last row (example: 435 +1) and leave the others rows.

Read Write File?
stackoverflow.com
I have the following code to edit my configuration file in the browser. The file content is retrieved and displayed in a text box. Then the edits are saved back into the file. Everything works fine on my development machine but in my hosting account it does not work.When I save the file, all single quotes are over written adding a backslash in front of them.How can I change my code to prevent this? // button javascript $save_changes_js = "return confirm('Do you want to SAVE the CHANGE(S)?');"; // oen web config [code]...

Read And Write To The Same File?
stackoverflow.com
Im trying to read and write to/from the same file, is this possible?Here is what I am getting negative results with: <?php $file = fopen("filename.csv", "r") or exit("Unable to open file!"); while (!feof($file)) { [code]...

Read/write An ODF File?
stackoverflow.com
Is there any quick way to read/write an ODF file from PHP? I needed this for an ODS(spreadsheet) file[URL].. seems to be unmaintained so i didn't even bother.[URL].. (ods-php) gives an fatal error(tries to allocate more than 512Mb) when opening the file[URL].. if for writing documents only from what i saw(i need to read from spreadsheets also)[URL] (PHP ODF templates) is pre-alpha so again did not try it

Read And Write An XML File?
stackoverflow.com
I have 2 text boxes and a radio button. When the user clicks submit I it to generate a XML file with the fallowing format. <object> <string1>$string1</string1> <string2>$string2</string2> <bool>$myBoolean</bool> </object> After that I want to be able to read through the file and display it.

Text File Read / Write
forums.devshed.com
im trying to make a poll that uses a text file for storing totals, and...well its not working. I have a text file with 5 values seperated by semicolons, like 1;2;3;4;5, and that file is poll1.txt. If I supply the script with an option, it will succesfuly read and show the contents of the file, but when I try to change one of the values and put it back, it fails. It writes to the file with loads of black squares and more semicolons than are in the $newresults variable. Follows is the incorrect code:

Read And Write To A Text File
bytes.com
San someone supply me with a PHP script to read and write to a text file on the server

Config File, Read And Write?
www.phpfreaks.com
Does anyone know a function, class or library to easy edit configuration file? Like the XML functions but than for configuration files. Or should I write my own class for this?

Read And Write To Text File
www.phpfreaks.com
I am trying to do a simple thing: read a line from a text file and write this line to another text file. The problem is: when I write the text into the new file there is an empty space between each characters. EG my original line is abcdef and the result is: a b c d e f  &#8299;. I tried and tried, searched google, but I am stuck... How can I read line n from one file and write it to another file exactly the same?

Config File Read And Write?
stackoverflow.com
Possible Duplicate Reading and Writing Configuration Files I have a config file, which contains some information that I would like the user to be able to change. I've already thought about holding the information in a MySQL table but this isn't a good idea as I've got my Database class included AFTER my configuration variables and this would mess up my code structure. Any idea how to read/write variables/specific lines of a file? Here's my global config file.> error_reporting(E_ALL); /* The parameters used site-wide First set are Datbase parameters And second set are the salts used to generate strings */ $params['db']['host'] = 'localhost';..............

Read PDF And Write Into A TEXT File?
www.dreamincode.net
How can I read PDF and write into a TEXT file. library or source which is doing the same thing.

Read And Write Variables To A File?
www.daniweb.com
I don't make this too clear, what I'm doing is creating a text based adventure game in PHP, a lot like Colossal Cave. I do not want to recreate my databases for every user so I hoping to write all the user date into a file and read variables from it when I require.For example the file would be like this: HP: 100 Room: 4 Item: torch [code]....

Write And Read File Using Zend?
www.dreamincode.net
how to write and read .txt file with zend framework 1.9?

Read And Write Image File?
www.phpfreaks.com
ead image file and write in to word document file using php. Actually i am developing shopping cart site. for that i have created barcode image. i need to take print outs. for example if i click print means same barcode should be generate 64 times in word document. how i do it? [cod]...........

Read/Write Text File Manipulation
www.phpfreaks.com
I have a script that writes a hit to a text file, but lately I have been noticing that the text file number is decreasing, instead of increasing or stay the same. Could some one be doing this and if so what is a good security measure to put into place to prevent this from occuring? I would prefer not to register the hits in a database; I would rather stick to a text file storage medium for this case.

Use To Read Or Write To A File That Is In Aother / Different Foder
phpbuilder.com
I am learning how to write to a file....Pretty awesome...I understand how it works, but I need to know if I can run my script in this location ( home/folderA ) and edit a text file in this location ( home/folderB ).....I know the file is being read, but the file will not change or update. Code:

Read/Write Text File At The Same Time?
www.phpfreaks.com
I very new to php and all I am simply trying to do is read the contents of a text file and echo it out on the screen. I have tried many things to see what I am doing wrong but it just simply isnt working for me. I know the server I am using has php enabled as well because I have tried a simple echo and it works fine. This is the code I am currently using. <?php $file = fopen(file.txt", 'r'); [code]... I have a file.txt on the server I am using in the same directory as index.php, I feel like this should be working but I get no result!Alls I have in the text file is a statement that says "hello world".

Read / Write To Text File With Method?
www.sitepoint.com
I remember I used to have a code for a poll script that updated via an external text file. The contents of the text file was something like this: [code]... I know how to use the fopen(); fread(); fwrite(); functions, I just can not figure out how I changed (for example) the number 15 in that string. Was this something to do with an array?

Shared File Synchronization ( Read / Write )?
stackoverflow.com
I wrote in PHP code that it will "fopen" a file(lets call it TXT) and write there the chosen checkbox, then later another process(lets call it PROC1- in c code) needs to read the file(TXT). I need to synchronized it, I mean to block the process(PROC1) from reading, while the PHP writes into the shared resource (TXT). does fopen take care of it? I think that the diffident between it and the open() method..or maybe to use pipe(), but as I've seen it runs only commands and not opening a file..

Http - Asynchronous Multiple File Write And Read
stackoverflow.com
I am using a cURL based php application to make requests to another webserver that does asynchronous requests. So what I am doing is creating files with the name as .req with the info I will need on the return and as the identification in the request. The requests are done using HTTP-XML-POST. The file is written using: - file_get_contents(reqs/<databaseid>.req, FILE_APPEND); What happens is that while the requests are being generated in bulk (about 1500 per second), the responses start coming back from the webserver. The response is caught by a another script which received the from the response and opens the request file based on it using: - $aResponse = file(reqs/<databaseid>.req); Now what happens is that in about 15% of requests, the file() request fails and generates a log entry in apache log like this: - file(reqs/<databaseid>.req): failed to open stream: No such file or directory in <scriptname> on line <xyz> It has been verified using a cleaner script that runs later that the file did exist.

Changing $_FILES[] Local File Read To Remote File Read?
www.phpbuilder.com
I have a function that resizes an image file that you pick locally and it acquire on post with the follwoing method: $image = $_FILES[$inputName]; I am trying to edit the function so that it accepts an image file that is located on the web (i.e. [URL]How do I get the file into a variable in the same formate as the $_FILES method above? $image = file($inputName); $image = file_get_contents($inputName); $image = fopen($inputName, "r"); [code]...

Read Array From Text File Screen Scrape?
www.phpfreaks.com
I have created a small scraper which saves content to html and links from the scrape in an array within a text file. I want to have the script run for each link that is in the text document.the text document looks like this: Array ( =>  id="cnn_switchEdition_intl" href="http://edition.cnn.com/?cnn_shwEDDH=1" title="CNN INTERNATIONAL"[1] [code]....

Read And Write Rich Text Files From TinyMCE?
stackoverflow.com
A file uploader and editer in php using TinyMCE rich text editor.which all files/types can be edited in TinyMCE.a server file in TinyMCE.save to file edited in TinyMCe and what format should save.tinymce is not right editor, open source rich text editor.

Database Query Or File Read
forums.devshed.com
Specifically, is it faster to store template source in a database (MySQL) and run a query or in a file and use the file functions to get the contents? Advantages/Disadvantages of both other than the speed difference?

Read And Display Japanese Text From Text File
bytes.com
I posted a question regarding reading japanese text from a text file. Well, since I solved the problem, I thought I'd post my solution for the benefit of other people with the same problem. The plan was to make a script to read and display japanese text. I will use it for making a japanese proverb script and for a japanese language study script. Method : I wrote a simple kanji text file (saved with UTF-8 encoding) I wrote a simple PHP script to display the file contents (saved with UTF-8 encoding) I specified the content-type header for the HTML page : <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> *** All files have the same encoding. *** UTF-8 supports japanese characters. and it works! this is my PHP (and HTML) script : <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <title>PHP : Japanese Text File Read : Exercise 1</title> </head> <body> <?php $filename="japanese.txt"; //open file $fp = fopen($filename,'r'); //loop through each line in the file while($line=fgets($fp)) { //output current text file line print $line."<br>"; } //close file handle fclose($fp); ?> </body> </html> I know it's a very simple script, for testing purposes only. It displays the contents of the japanese text file line by line. The key was to save all files in the same encoding (I used UTF-8) and to specify the encoding / charset in the HTML header (<meta http-equiv="Content-Type" content="text/html; charset=utf-8">)

Read A Config File
www.phpbuilder.com
I am using the following code to read a config file that is numbered 1-10 but I would like it to be unlimited... so here is what I use now.. Code: <?php for($i= 0;$i <=9;$i++){ if( !empty($filename[$i])){ echo "<a href='$path/$filename[$i]'> <br />$title[$i] <br /> $time[$i]"; } } ?> Will this work? I have been trying to get it working with no luck... [Code]....

Read Config.ini To Array With File()?
stackoverflow.com
My config file looks like this: title = myTitle; otherTitle = myOtherTitle; when I read the file with file(), it creates this array [0] => title = myTitle; [1] => otherTitle = myOtherTitle; [code]..........

Variables Not Being Read When Included In File
phpbuilder.com
I have a file that just has the database connection variables. If I use include to bring the file in I cannot connect to the database, but if I manualy put the variables in the file that is doing the connecting it works fine. Any idea why? Code:

Read Variables From A Text File.
phpbuilder.com
this is a simple question, but it has such a major importance on how my script will turn out. I am trying to make a hub, in which website names are stored in text files (1 - unlimited numbers). I am trying to see if there is a way that PHP can read the variables stored in a text file. For example. in a text file I have the varable $site = "http://google.com"; and in my php script it would open up the text file and then read the variable $x from there it would echo Site is http://google.com is all of this just wishful thinking, or is there such a way to make this really exist.

Read An Excel File Using Zend Framework?
stackoverflow.com
How can I read an Excel file using Zend framework?

Read Value From File Method With JavaScript
www.webmasterworld.com
I'm trying to display contents read from a file by php with a JavaScript function. I'm not sure what I'm doing wrong. function showMsg() { <?php $lines = file("text.txt"); ?> alert("<?php echo $lines[0];?>"); }

Read/write Access To All The Files
www.webmasterworld.com
I recently made a php app for a company that spiders through a server and finds all files of a specified type (html, etc) and then opens the files and does specified things to them. So, the tool needs to be placed on the server and then it needs read/write access to all the files. It works fine on my local server, but the client says that it fails (message is "failed to write to file" and then it stops). I told him to try it with ALL files and folders set to 777 just for testing purposes and he says that it's still not working. I have no idea what to suggest.

Can I Use Php To Read From/write To Other Files On Server
www.webmasterworld.com
I've got a news section on my page and I want people in the company to be able to fill out an online form to add new news stories so that the website looks constantly updated. all the news stories and scrolling abilities are currently in a javascript file which are written out to the page when a user loads the page. So preferably I'm looking to take in information from a form and write that information into my javascript file if that's possible. r if I can't do the above I want to take in information from my form and write to a database or new file then read that from my javascript file with php.

Read / Write Xml Files Using Drupal 6?
stackoverflow.com
I would like to know how can I parse XML files and perform read write operations using Drupal 6.

Read First 10 Lines From A File
bytes.com
I have an ASCII file with each data record on a separateline. Each field is delimited with a TAB (ASCII 9) character. Now i want to read the first 10 lines and show them on my site. This is what i already have reading the first line: $fname = "http://www.somedomain.com/file.txt"; $fd = fopen($fname, "r"); if ($fd) { if (!feof ($fd)) { $buffer = fgets($fd, 4096); $field = split(chr(9), trim($buffer)); $field0 = "$field[0]"; $field1 = "$field[1]"; } fclose($fd); } echo ("$field0 - $field1"); How can i do this voor the first 10 lines?

How To Read Big File By 100 Lines
stackoverflow.com
I have a rather big .txt file (~220Mb) and I need to read it by 100 lines (symbol) chunks (for example). How can I do it using php?

Read The Last 10 Lines On A File?
www.daniweb.com
how to read the last 10 lines on a file using php. Sample Entry: Samp1 Samp2 [code]...........

Security Read Write Files And Folders
www.phpfreaks.com
when i upload files to my webspace i set permission to my files and folders. Im wondering how im unsafe if i grand a folder or file with write permissions to all/everybody. In fact I have the intelligence to understand that ones can places files to my webspace and then execute them. But I dont have the knowledge how to implement it. How can i write to that folder and files?

How Did He Make 10 Lines Read Only From File
forums.devshed.com
How did he make 10 lines read only from file.

How To Read Only Some Lines From A Large File
forums.devshed.com
I want to read only some lines from a large text file, say lines 27 through 45. So far, I used PHP Code:

Numbered Lines To Read File?
www.sitepoint.com
How can I have numbered lines to read php file? Is there an easy program where I can cut and paste some code in and the lines get numbered so I know Line 1 from Line 2, etc.?

Using PHPExcel Library To Read / Write Excel Files?
stackoverflow.com
I am using PHPExcel library to read/write excel files. Now I want to generate a chart, or add an image (chart generated with pChart ). I would like to know if there are other libraries that support dinamic image insertion (not template images) or chart generation based on written data.

Read A Text File Where Contents Are Going Over 2 Lines
forums.devshed.com
I have this code to read the contents of a text file: PHP Code:

Powerpoint - Read Write Edit Pptx / Docx / Xlsx Files?
stackoverflow.com
Is there a library extension available for efficiently handling pptx/docx/xlsx files using PHP? As of now I am more interested in PPTX files.

Read External Rss File - Failed To Load External Entity "rssfile"
stackoverflow.com
I should to display datas from a rss file from another server. When the rss file is on my server, I can read it, but when I try to read the same file on another server, I obtain this : Warning: simplexml_load_file(rssfile) [function.simplexml-load-file]: failed to open stream: Connection timed out in index.php on line 43 Warning: simplexml_load_file() [function.simplexml-load-file]: I/O warning : failed to load external entity "rssfile" in index.php on line 43 This is my code : $actus = simplexml_load_file('rssfile'); foreach ($actus->channel->item as $actu) { echo $actu->title; }

Read Tags From An Xml File
www.codingforums.com
i want a $variable to hold all text in an .xml file INCLUDING tags (<tag></tag>) but what ever function i use (file_get_contents, fread etc ) i dont get tags, I dont know how to solve this problem. In PHP documentation I found eregi().

Read ID3 Tags Without Downloading The Whole File?
stackoverflow.com
Is it possible to read ID3 tags (Duration, Artist, title...) of an MP3 file without having to download the whole file? I did a few tests and I was able to get the Artist and title tags with only downloading a few bytes of the MP3 file.. but I'm not sure if it's possible for Duration and other tags..

File(), Not Able To Read Http://....
phpbuilder.com
Running FC5 with and yumed with latest updates. I'm trying to read HTTP respons as file, using func file(). Tried example from Manual, and others. I can read local text file, but when changing aredress to http://localhost/ , it doesnt work. Tried fopen() as well, without any luck. the variable: allow_url_fopen , in PHP.INI says On.

HOW TO LINK VB TO FILE CREATED IN MICROSOFT ACCESS
www.vbcity.com
PLZ PLZ HELP ME!! IM DOING MY PROJECT BUT THE BIG PROBLEM IS I DNT REALLY KNW CLEARY HOW TO LIKE A FILE THAT I CREATED IN MICROSOFT ACCESS TO ADODB!!!THX A LOT

File Open - Read And Add To Mysql Database?
www.daniweb.com
I am beginner in PHP and MYSQL. Before using mysql i have created database in text files. Now I have to convert it into the table of mysql database. The things i want to do is first open the specific folder and into that open the sub folder and in each sub folder there are text files. Than open the text files, read the data and add into the sql table and add the folder name to the another field..

Read A Network Drive File?
www.phpbuilder.com
Is it at all possible to read a network drive file in PHP?it's not on the web sever but on the network.If not via PHP is there any other language or scripts that could allow this?

Read .txt File Contents From Network Drive
www.phpbuilder.com
I have a network drive mapped and am trying to read a txt file from it to no avail. I can read anything from my C drive but can't figure out how to read from another drive. Here's my code: $myFile = "O:path omyfileFile.txt"; $fh = fopen($myFile, 'r'); $theData = fread($fh, 5); fclose($fh); echo $theData;

Read File On Local Drive
forums.devshed.com
lets assume that the sysadmin granted to read those files, what php functions needed? can u give me ur ideas how to do it?

How To Process A Local File Rather Than Just Read It
bytes.com
I can read a local file with fopen("myFile.php"); However this gives me the source of the file (i.e. php code). I want to get the results of the file after it has been evaluated (i.e. HTML). The obvious way of doing this is include 'myfile.php' However, I want to process the evaluated result. For example: echo htmlentities( include 'myfile.php' ); This doesn't work because the result of the include statement is true or false rather than a string. I'm sure this is very simple, but I'm just learning.

Read Contents Of Remote File
www.codingforums.com
I'm currently using get_file_contents to read the contents of an html file on another server. Is this the best way or should i be using curl or something else.

Read A File From A Remote Server?
stackoverflow.com
i want to provide most possible flexibility for my script and so i need all possible ways in php and javascript to read the content(not sourcecode) of a php file from a remote server.so far i found curl, fopen and include for php and none for javascript, but i dont even know if this is possible with javascript.

Open/read A Remote Https File?
forums.devshed.com
How can I do this? cURL isn't available. I have tried Code: $filename = "https://friends.domain.com/file.aspx; $handle = fopen($filename, "r"); But $handle doesn't seems to exists Any suggestions??

Read Text File From Remote Server
www.phpfreaks.com
I want to read a text file that resides in a remote http server. Is it possible?

Reading A File From A Website???
www.xtremevbtalk.com
I need to open a file from a website, then compare the data in file with a text box in my program. Anyone know how to do this???I tried this but it didn't work........I didn't have much hope for it anyway Code:Dim Version As StringOpen "http://www.<WEB ADDRESS>/version.txt" For Input As #1Print #1, VersionClose #1If Form1.Text_Version.Text = Version Then'<MY PROCEDURE>End If

Reading A .txt File From A Website
www.vbforums.com
Hey!As im a visual basic newbie i was wondering if it is possible to read a text file from a website to retrieve infomation from it. As in it opens www.website.com/textfile.txt and can read what's in it as if it was opening a normal file off my harddrive. Anyway any help would be greatly appreciated, thanks

Professional :: Read Line And Parse For Txt File?
forums.adobe.com
question 1:I know I can use:var string = FLfile.read( fileURL);to get the content of a text file, but is there a way to read this text file line by linesuch as:var string1=fileReadLine( fileURL);var string2=fileReadLine( fileURL);question 2:Is there a way to parser(or tokenize) the above string?

Flex :: Create A Text File Via JSON?
stackoverflow.com
I'm using Flex 4 for building the communication to Arduino. There are three (3) main values coming from it (X,Y,Z). Here the Flex's code newText.text = magnetic.readUTFBytes(magnetic.bytesAvailable); d = JSON.decode(newText.text); MNx = d["x"]; MNy = d["y"]; MNz = d["z"]; Is there any example or codes (in Flex) that can I create and save these values as a TXT file (data.txt). These values as a structure should be like below. [ { "time":"1", [Code]....

XML :: Flex - Read File From Client And Parse To Server
stackoverflow.com
I'm trying to read a xml file from client. After search for it. I have got to upload the file to the server with this code. var imagesFilter:FileFilter = new FileFilter("*.jpg,*.gif,*.png", "*.jpg;*.gif;*.png;*.jpeg"); fileRef.browse([imagesFilter]); But what I want to do is to read the file from client and parse it without uploading it to the server.

Flex :: Reading Large CSV File Line By Line?
stackoverflow.com
I need to read a large CSV file (8-15 MB) and generate a LineChart in Flex AIR. Since Chart need data in structurd format like XML. When I read CSV and convert it to XML object 8 MB file size become 24 MB XML object and not able to graph. Best solution is to read Line by line and read only part of data. How can I acheive this in Flex AIR ? Is it possible to read line by line in Flex. Otherwise what are the best ways to draw a graph in FLEX using large data.

Web Forms :: How To Dynamically Create HTML File From The Code
forums.asp.net
Precisely and concisely, I have aspx page that has only one button "Generate". If the user clicked on this button, one HTML page should be created. The created HTML page should have title "Home" and the Body should contain "Hello World". 1) What is the code that should be written inside "Generate" button in order to accomplish this functionality? 2) Assuming the HTML page gets created, How to store it inside specific folder on the local drive? Or how to store it inside DB?

Creating A File Hosting Service
www.webhostingtalk.com
I hired a full time web designer to help me create the site but I'm wondering what else I'm missing. I'm guessing I'm going to need a high end dedicated server with an 100mb unmetered port? How much space should I be looking for? The file size is going to be limited to 150mb per download and if the files have not been downloaded in 2 weeks they will be deleted. What type of HDD space should I be looking for?

How To Read Xml File And Results In The Textboxes
forums.asp.net
how read data from xml file? And how to display that data in textboxes?

C# - Can Create A PDF Quotation File From Winform
stackoverflow.com
Assuming i have a winform that has a button called "Create a Quote". Once user clicks it, a PDF File gets created on desktop. The PDF File has a fixed design/structure e.g. the logo is at the top left corner, the headers are fixed, etc. However, the data it self is pulled from a database. As you see above, Quotation #, Description, Qty, U.P (USD), T.P (USD) records should be fetched from the db and dumped in the pdf template then create the pdf for user.