|
by: Michael T. Peterson |
last post by:
I am trying to get the file referenced by the following url:
http://waterdata.usgs.gov/wa/nwis/uv?dd_cd=01&dd_cd=02&format=rdb&period=1&site_no=12149000
I'm using parse_url to get the host, path, and query. My call to
fsockopen() works correctly. Unfortunately, I can find no documentation for
how to construct a request that will correctly instruct the server (i.e.,
waterdata.usgs.gov) to send me the file and all the combinations of...
|
by: Shaoyong Wang |
last post by:
Dear All,
I want to write a simple PHP code to verify whether a given list of
URLs is broken or not. The URLs given have various formats, for example,
http://www.afro.com/history/history.html
http://www.worldhistorycompass.com/index.htm
http://www.afup.org/article.php3?id_article=242
fsockopen(...) only accepts target format (like www.yahoo.com etc), so I
|
by: mrbog |
last post by:
1. In order to make an http (or https) request with PHP, I need to
recompile php with cURL.
2. In order to install CURL I have to upgrade my openssl rpm, even
though I'm runing a version of linux that's only like 3 months old
(fedora c2 stable), because curl needs libcrypto.so.4.
3. In order to install libcrypto.so.4 I have to upgrade my openssl
(took me forever to figure that out).
|
by: Yoko |
last post by:
So I am using php version 4.3.9 and lets say i have a file on the server
called tester.php
so i am using fsockopen to point to that file but it gives me a error below.
$fh = @fsockopen("http://www.mysite.com/teter.php", "80", $errno, $errstr,
180);
|
by: nothing1 |
last post by:
I'm getting some warning using the code below:
Error:
failed to open stream: Permission denied in
Code:
function wwwcopy($url,$dirname){
$file = fopen($url, "r");
if (!$file) {
echo"<font color=red>Failed to copy $url!</font><br>";
return false;
|
|
by: MikeofPet |
last post by:
I am trying to implement FTP in a PHP script but am unable to make the
connection to the remote server. The connection step times out at the
fsockopen function. I am not sure if it is relevant but PHP is
configured with "allow_url_fopen" ON. I am able to do an FTP connect
using an FTP client and using the same host/username/password
parameters.
Any ideas would be appreciated.
Thanks
|
by: stillnight |
last post by:
My web host has disabled fopen and now uses curl. I am a newbie to php so I am at a complete loss. I am trying to change the code in sendcard at sendcard.org to use curl.
The beginning login will not connect. The code for this is below.
<?php
require("prepend.php");
$error = "";
if($save){
if($cfg_admin_password1 != "" || $cfg_admin_password2 != "") {
if ($cfg_admin_password1 == $cfg_admin_password2) {
|
by: Erwin Moller |
last post by:
Hi all,
I want to create an URL to use with fopen($url).
The URL needs basic authentication, but I have no CURL on this
particular machine.
(I need to access an app that uses REST.)
I tried to use the URLwrappers for fopen, but to no avail.
Samplecode:
|
by: AutumnsDecay |
last post by:
Hey there.
I've been implimenting FCKEditor into my clients websites so they can update the text and pictures on their own.
The way it is currently setup is that you need to 'login' to gain access to the editor. Once the changes are made, the user will click submit and the editor will write (in HTML) what the user wrote out in rich text.
The way that I have the editor writing to the file is like this:
I use the PHP fopen command to...
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
|
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
|
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
|
|
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
|