|
Displaying 1 - 50 of about 10189 Related Tutorials.
|
PHP Get Base Directory
PHP Get Base Directory
To know the base directory we may use $_SERVER['DOCUMENT_ROOT'];
Code:
<?php
//to know your base directory
print ($_SERVER['DOCUMENT_ROOT']);
?>
Output:
C:/wamp/www |
Create Directory in PHP
Create Directory in PHP Hi,
I want to create a small php program like how to create directory in PHP. I need the help of PHP programmer, who could....
Thanks,
Hi,
For creating Directory in PHP is not so tough task. I |
PHP dirname() Function, PHP dirname(), dirname php
In this example we will explain the use of dirname() function in PHP. The dirname() function is used to get the full directory path name of the file... of PHP dirmane()Function
String dirname ($path )
It returns the directory name |
|
|
$_get php example - PHP
$_get php example Explain the $_get method in php with a simple example. m a beginner |
Create a directory in php
Creating a directory in php
In this example, you will learn to create a form in HTML and call php action function of creating directory in HTML form... in the form to create a directory. In PHP, you can create a directory using mkdir |
|
|
get
get ( ) Method in PHP what is get method in PHP
Please visit the following link:
http://www.roseindia.net/php/php-Get-Post.shtml |
PHP Get Average - PHP
PHP Get Average I am writing a method to calculate the average rating of the posted answers? can anyone help me with the method to calculate rating in PHP. In my code, we are providing maximum four options to the user to rate |
Data base Connectivity
Data base Connectivity How to configure JDBC connection for Oracle data base.In configuring it is asking select Data server name and TNS.I typed... and Password as tiger). What is meant by TNS and how to resolve the problem and to get |
Java file get parent directory
Java file get parent directory
In this section, you will learn how to get the parent directory of the file.
Description of code:
The package java.io.... which of String type. This method returns the parent
directory of specified file |
PHP list contents of directory
Constents of Directory
<?php
$file=opendir("c:\apache-ant-1.7.1-bin...
Contents of a directory or a folder can be displayed one by one.
readdir() function returns the directory as well as file
name.
readdir() takes input |
Java get class directory
Java get class directory
 ... to fetch the class directory's path by the class name. To get the class
directory's... called the getClass() method and to get the path of that
class directory we |
Get Current Directory
Get Current Directory
 ... in
understanding Get Current Directory. For this we have a class name CurrentDir...-
get Canonical Path( )
This method return the path of the directory |
Java Example program to get the current working directory
Java Example program to get the current working
directory... illustrates to get the
current working directory (CWD). With the File class object we can get
two types of paths in java. These are as follows:
Canonical Path |
PHP list all files in directory
Using the readdir() and opendir() function all files of the
directory can be listed.
readdir() function uses the file handler of the readdir()
function.
It then returns the filename of the directory.
Example
<?php
  |
PHP MySQL on Centos 5.x
into php. If you have downloaded and installed Centos 5.x
then you won't get...-pear-File.noarch : Common file and
directory routines
php-pear-HTTP...:1.4.9-4.el5.1 base 356 k
php-xml i386 |
Open Source Directory
Open Source Directory
Open Source Java Directory
The Open Source Java Directory is maintained by Steve Mallett, creator of OSDir.com.
We welcome and encourage readers to add new product titles to the directory. All |
PHP file_get_contents() Function
PHP file_get_contents() Function Hi,
How do i read the content of file using PHP program? So kindly provide any example or online help reference for filegetcontents() Function in PHP. Please feel free to suggest.
Thanks |
Getting the Current Working Directory in Java
C:\nisha>javac GetCurrentDir.java
C:\nisha>java GetCurrentDir
Current Working Directory : C:\nisha
C:\nisha>
Download this example |
Java file new directory
the given code, you will
get the newly generated directory in the given path...Java file new directory
In this section, you will learn how to create a new directory.
Description of code:
This is a common task. The java.io.package |
php
.
the program is
whenever i execute it I get message as:Query failed... can learn php mysql connectivity examples from the given link:
PHP Mysql Connectivity |
how to browse folder and directory in jsp
how to browse folder and directory in jsp how to browse folder and directory in my jsp page.i have done my coding part for browsing directory but dont know how to get files after that.and also i want to show limited directories |
PHP Get Browser Information
PHP Get Browser Info
PHP provides us $_SERVER['HTTP_USER_AGENT'] function is used to display the browser information
Code for PHP Get Browser Info:
<?php
echo $_SERVER['HTTP_USER_AGENT'] . "\n\n";
?> |
Sitemap PHP Tutorial
variables 2 |
PHP Filter |
PHP Echo |
htmlentities
| PHP GET.... |
Create a directory in php |
Creating a File in the directory. |
Create...() |
Delete Cookie |
PHP
line break, PHP nl2br() function |
PHP
Get |
Creating a File in the directory.
a query form asking to to create a file in PHP. You will have to write the codes for HTML and PHP.
First create a HTML form, then call the action form of PHP code in the form.
for creating a file in PHP, first declare a file name |
Java count files in a directory
Java count files in a directory
In this section, you will learn how to count only files in a directory.
You have learnt various file operations. Here we are going to find out the
number of files from a directory. You can see |
PHP Get Absolute Path
This example shows you how you can get the absolute path of a file. We will use the dirname() function and then with the help of realpath() function we can get the absolute path of the file.
Code:
<?php//to know your |
get and post
get and post what is php and get
PHP get and post method |
PHP Get Browser IP Address
PHP Get Browser IP Address
PHP provides us $_SERVER['REMOTE_ADDR'] function is used to display the Browser IP address
PHP Get IP Address Code:
<?php
echo "My Browser IP is :". $_SERVER['REMOTE_ADDR'];
?> |
Find Current Temp Directory
;
as key to get the current temp directory into getProperty() method... directory.
We are using getProperty(String
key) method to find the current temp directory. The getProperty(String
key) is defined into System class |
Find User Home Directory
"
as key to get the user define home directory...;
In this
example we are find user home directory.
We are using System class
to get the information about system. System |
Getting Current Directory from java - Java Beginners
Getting Current Directory from java I'm designing an application in linux where i need to get the current directory of my java file...
I'm using.../Softwares/apache-tomcat-5.5.27/logs
How to get the directory of my current |
PHP Polymorphism Function
:
<?php
class A{
function
Disp(){
echo
"Inside the Base class<...PHP Polymorphism Function:
The PHP Polymorphism Method is one of the feature of OOP language. Generally we get polymorphism in two ways:
Compile time |
How to Using timezone_location_get() PHP
How to Using timezone_location_get() PHP Hi,
I am trying to create an application using the timezonelocationget() in PHP to retrieve the data of country code & latitude/longitude. I need the help of PHP developer who can |
PHP duplicate file - PHP
PHP duplicate file i wanted to duplicate a PHP file resides in different directory on submission |
PHP GD Get System IP
<?php
$image = imagecreatetruecolor(150,70);
$ip = "$_SERVER[REMOTE_ADDR]";
imagestring($image,
10, 20,
36, $ip,
0x00ff00);
header... running the program you will get the following output |
how to read files of directory objective c
how to read files of directory objective c how to read files of directory in objective c?
[[NSFileManager defaultManager... objective c, you need to first get the path and load then load that content |
The $_GET Function
The $_GET Function
The $_GET function in PHP is used to gather data of form... of submitted form in a PHP page using $_GET method as
follows :
Your Name :<?php echo $_GET["name"]; ?>.<br />
Address :<?php echo $_GET |
PHP Get Array Length
PHP Get Array Length
To count the array length we use count method, it can be use to count the no. of properties of an object.
The structure of count... for multidimensional array.Default value for this mode is 0.
Code:
<?php |
PHP GD get image dimensions
<?php
if($img
= @GetImageSize("images.jpg"))
{
echo "image exists ,
here is some info<br>";
echo "width = $img... the program you will get the following output
OUTPUT :image exists , here is some |
PHP get character from String
PHP Get Character From String
To get sub string from a String we can use..., int $initial [, int $len] )
In the above example we want to get a sub... and the length is given by $len, which is optional. If we don't mention the length PHP |
PHP Get Cookie
PHP Get Cookie
The Cookies can be used to store identifiable information about... started. To get the information of Cookie you can use the following.../software-tutorials/detail/16640):
Code:
<?php
//Calculate 60 days |
PHP GD get gd information
<?php
echo '<pre> ';
print_r(gd_info());
echo '</pre> ';
?>
After running the program you will get the following output
Array
(
[GD Version] => bundled (2.0.34 compatible)
[FreeType Support |
PHP basename() function, PHP basename function example
In this section we will learn about the basename() function of php
This example of basename() function in PHP
Description about PHP basename():
syntax for PHP basename()Function
string basename ( string |
php $_GET and $_POST functions
php $_GET and $_POST functions:
PHP provides two special functions called $_GET & $_POST, this functions...;
phpGet.php
<?php
$name=$_GET['name'];
$age=$_GET['age'];
echo
"Howdy
$name |
getting int values from form and insert it in data base in jsp
getting int values from form and insert it in data base in jsp how can i get form input such as id
convert it to int
insert it into database
Hi,
You can get the parameter from the request object:
String s |
POST or GET
POST or GET hello,
Which will execute faster on php POST or GET?
hii,
The POST metod is much more faster then GET ..because in GET... to ULR that's why POST is faster then GET method |
absolute path in php - PHP
absolute path in php how to get absolute path in php |
Java Get Example
the class directory's path by the class name. To get the class
directory's name... to get the current working directory
This example java program illustrates to get the
current working directory (CWD). With the File class object we can |
data base
data base how to connect coding in data base ?
The given code connects JSP page to database. You need to import the mysql connection jar file to jdk as well as to the lib of tomcat. Moreover you need to set classpath |
Pagination in PHP code - PHP
Pagination in PHP code 3.Pagination in PHP codeIs it possible to get the paging in PHP without database call? How will I show the image instead of numbering? any code that can help |