Hi, I am very new in this language and I have some problems and I can`t handle it.
Maybe somebody can help me?
file_put_conten ts and fopen does not work for my and I don“t know what happen :S
Abstract:
1. I need read a random line in a txt hosted in a FTP
2. I need delete this randome line from that txt
3. Next I need put the extracted random line in another txt (not coded yet)
...
Search Result
Collapse
7 results in 0.0037 seconds.
Keywords
Members
Tags
-
file_put_contents problems
-
reference files from external server
Hi, im building my own CMS and wish to have my files hosted on 1 server for easy updating rather than sepperate uploads into different hosting packages etc.
My clients websites will all be hosted on different servers but i want them to access the CMS from one set of files so when i make updates they are applied to all clients.
I've tried using fopen/file_get_conten ts etc which works fine but my problems are with server... -
VS2010 giving me Debug Assertion Failure in C++
Hello, I am having a problem running my program with libcurl,
What puzzles me is that this program works on Visual Studio 2010 on my computer running Windows XP, however when I try to run the same program on my laptop which runs Windows 7, it gives me the following error message:
Debug Assertion Failed!
Program: C:\Project\libc url\VisualStudi o\project1\Debu g\project1.exe
File: f:\dd\vctools\c rt_bld\self_x86 \crt\src\fwrite .c... -
Unable to open a specific URL
I can open many urls with php and parse out the info I need, but not the ones on this domain (www.bobmoore.c om). I have tried many different ways of getting into it (fsockopen, curl, ...) with no luck. I normally grab the entire pages contents before parsing them but here is the most simplistic example of what I am trying to do and what the results are.
This one works with www.google.com
<?php
$in_url_stream = fopen("http://www.google.com" ,... -
getting Bad Request during opening a querystring file in CURL
my code is
Code:$URL:https://demo.firstach.com/https/TransRequest.asp?Login_ID=someit&Transaction_Key=somekey&Customer_ID=23&Customer_Name=Muhammad Naeem&Customer_Address=Address&Customer_City=city&Customer_State=HI&Customer_Zip=54000&Customer_Phone=--&Customer_Bank_ID=111111118&Customer_Bank_Account=12345678901234567890&Account_Type=Business Checking&Transaction_Type=Debit&Frequency=Once&Number_of_Payments=1&Effective_Date=12%2F05%2F2010&Amount_per_Transaction=10.00&Check_No=&Memo=&SECCType=WEB
-
Search through website source code using fopen
Hi!
I want to search for the following string through the source code of website 'mywebsite.com' with fopen; http://sub.example.com/example.php?id= **random id** but do not want to include let's say http://sub2.example.co m?id=**random id**.
Example:
Code:$openurl = fopen('http://www.mywebsite.com', "r"); while(! feof($openurl)) { //Which code do I need to use here?
-
loading xml from another site (not the same domain)
I would like to load xml from another site using fopen or simplexml_load_ file but I'm running into issues relating to the file being on a different domain.
so, from xx.com I want to load an xml file from yy.com. xx.com and yy.com are different sites and hosted at different servers.
Any assistance would be greatly appreciated.
Ken