| |
thread by: mukeshrasm |
last post Nov 20 '07 by: code green
Hello Everyone!
I have a php page called smarks.php which calls a js page selectclass.js which in return calls getsubject.php. and this getsubject.php again calls getrollno.js which again calls getrollno.php.
so problem is that when when i browse getsubject.php it return the Roll No corresponding to Name. but when i browse the parent page...
|
thread by: Bob Bedford |
last post Nov 20 '07 by: Tim Roberts
Hi all,
I've to accept a file that is sent using a POST method.
The file will be sent using this URL:
http://username:pass@www.mysite.com/upload.php
How can I retrieve the username and passord and rename the file ? Should I
use substring using the URI ? Pseudocode below is the best way to do so ?
|
thread by: yawnmoth |
last post Nov 20 '07 by: yawnmoth
I'm trying to resize an image with the gd library and am having some
difficulty. Here's my code:
<?php
$img = 'http://upload.wikimedia.org/wikipedia/commons/e/e3/Kheops-
Pyramid.jpg';
list($width, $height) = getimagesize($img);
$img = imagecreatefromjpeg($img);
|
thread by: forcey |
last post Nov 20 '07 by: Forcey Li
Hi all,
I'm writing a SOAP server using the SOAP extension and I need to
return an array_map_name_balance, which is defined in a WSDL file like
this:
<xsd:complexType name="map_name_balance">
<xsd:sequence>
<xsd:element name="username" type="xsd:string"></xsd:element>
<xsd:element name="balance" type="xsd:float"></xsd:element>
|
thread by: Matthew |
last post Nov 19 '07 by: Matthew
Hi,
!!I'm A Newbie Alert!!
My server runs PHP version 4.4.3.
I'm successfully creating a session and can set and retrieve my own
session variables.
As far as I can tell the $_SESSION variable should be created
|
thread by: stevefigueras |
last post Nov 19 '07 by: stevefigueras
Hello
I'm Steve Figuéras and i search for some pepople able to help me to
put in php a website to help an organisation working in Cameroun but
crated in France.
This works will be free but you have the possibility to make
something
for a beautiful goal with you knowledge in php language
|
thread by: bill |
last post Nov 19 '07 by: Rik Wasmus
I want to extract the name of the photo uploaded.
print_r of $_FILES yields:
Files: Array ( =Array ( =>
DSC_1802-saoirse-riona.jpg =image/jpeg =>
/tmp/phpJTspHZ =0 =76096 ) )
so we have an array with one element, picture, that contains an
array with an index, name, with a value of DSC_1802-saoirse-riona.jpg
|
| |
thread by: FrEaKmAn |
last post Nov 19 '07 by: FrEaKmAn
Hi
I'm trying to build a website, but right now I'm just thinking how to start. I know how PHP works but I'm wondering which is the best way so I need your advice.
I OO programm as much as I can, but sometimes I get confused. Now for example
if(something){
//some text
} else {
//some text
|
thread by: mukeshrasm |
last post Nov 19 '07 by: code green
hello everyone
How can i use this code in php. please help me with php syntex of the correponding code.
<tr id=\"TR" + @Text(@DocumentUniqueID) + "\">"
"<td><input name=\"Document\" type=\"checkbox\" onclick=\"highlight(this);\" value=\"" + @Text(@DocumentUniqueID) + "\" /></td>"
<tr id="TR"+ @Text
|
thread by: karthickRAJKUMAR |
last post Nov 19 '07 by: MarkoKlacar
it i declare the define() in php file could i use it through all the files which is under the same folder fir example i have folder name karthick under that i have 3 php file ,in first file i used the define("hai", "Hello world.");
could i use the hai definition in rest of two files
|
thread by: Andy2500 |
last post Nov 19 '07 by: Erwin Moller
the reply doesn't work, I much post a new one , sorry !!!!!
Hi ! Thank you for the reply
$tmp_file=C:\WINNT\TEMP\php1C.tmp
--------------------------------------------------------------------------------
$target=upload/Guitarre.jpg
|
thread by: pradnya |
last post Nov 19 '07 by: Toby A Inkster
How to share/use a variable between PHP and HTML on the same page ?
( i.e. without using GET/ POST etc.... )
Is it possible ?
And what about same with PHP and JavaScript ?
|
thread by: Jankie |
last post Nov 19 '07 by: Jankie
Hi and wish all moderators and members are doing well i
Back with a question after a long while,hope to find the valuable typical support from thescripts people and members.
My host does not offer foreign key feature on tables,so what I did is stick the corresponding submission id in the member's uploaded file when renaming the file.
Each...
|
thread by: farukcse |
last post Nov 19 '07 by: olddocks
Dear Sir,
i need to convert a .php file to a .pdf format file. the php file is coded in unicode format because it has some arabic text and some english text.
so can anyone tell me how can i do this?
Thanks in advance.
Regards,
Faruk Chowdhury
|
thread by: shailajaAdiga |
last post Nov 19 '07 by: shailajaAdiga
Hi All..
images are stored in database(imagecontent and image type is stored).Currently i have displayed the image in popup window (no size limits to window). I would like to get the image size and display accordingly.
is it possible to get image size if i retireve imagecontent from databse?
Please anyone help me out.
Thanks..
|
| |
thread by: ratcateme |
last post Nov 19 '07 by: ratcateme
Hi i am using php 5.2.3 on Ubuntu 7.10 and apache 2.2.4.
i have just switched from windows 2000 and have encountered a problem with my log viewer script unlike windows i cannot just open the apache log file with php as it is always being used by apache. now i can copy using command line:
cp /var/log/apache2/access.log...
|
thread by: The1corrupted |
last post Nov 18 '07 by: The1corrupted
Is there a method in PHP to have an entirely automatic update of a mySQL database at midnight of each day?
|
thread by: phill.luckhurst |
last post Nov 18 '07 by: =?ISO-8859-15?Q?Iv=E1n_S=E1nchez_Ortega?=
I haven't a clue with PHP so please spoon feed me.
In the middle of a script that I have been looking at there is this
code which I have extracted to run on it's own
<?php
include "flashthumb.php";
?>
<script type="text/javascript" src="mootools.js"></script>
|
thread by: firewoodtim |
last post Nov 18 '07 by: Jerry Stuckle
I need some help in furthering my education in OOP. I have developed
a set of PHP scripts that I use in a fairly sophisticated database
driven website, but I am not proud of the rather amateurish
programming that I used to create the functionality. Although I use
classes and objects to organize my data and their related functions,
it seems...
|
thread by: stepterr |
last post Nov 18 '07 by: stepterr
Hi Everyone,
I'm new to PHP and have been working on an existing from that had been in Coldfusion but needed to be converted to PHP. I have most of it working except I ran into a problem when trying to email the form, the values are showing up blank. I believe it has to do with the flow and how the last step before the email process doesn't...
|
thread by: beary |
last post Nov 18 '07 by: The1corrupted
I have a website hosted on my server at work. I am thinking of setting up a fairly simple wiki on the site. However, I'd like to make it so that each of around 100 people (students in a school) can login and create their own wiki. So technically I guess it wouldn't be a wiki, as I only really want each student to contribute to their own wiki. But...
|
thread by: Thomas Mlynarczyk |
last post Nov 18 '07 by: Thomas Mlynarczyk
Hello,
I have two arrays like this:
$aSearch = array( 'A', 'B', 'C.D', 'E', 'F' );
$aSubject = array( 'A' =0, 'A.B' =1, 'X' =2, 'C.D.E' =3, 'A.B.C' =>
4 );
Now I want to search $aSubject for the longest key that consists of the
first x elements of $aSearch concatenated by "." (where x = 1...count(
|
thread by: julie18881 |
last post Nov 18 '07 by: julie18881
I may be being really stupid here, i have spent the last 3 hours looking round your site and some other for answers to my problem, but have not had much luck (possibly cuase my brain just isn't working today)
I have EasyPHP2.0b1 Apache/MySQL server installed on my Windows XP(SP2) machine. This runs Apache 2.2.3, MySQL 5.0.27 and PHP 5.2.0
I...
|
| |
thread by: Stop & Go |
last post Nov 17 '07 by: Ulf Kadner
Hi at all
I have a javascript array to pass to PHP:
var
javascript_array={{"1","Elisabeth","London"},{"2","Antony","Paris"},{"3","Augusto","Roma"},{"4","Tom","Miami"}}
I transform it into a string
|
thread by: traineeirishprogrammer |
last post Nov 17 '07 by: traineeirishprogrammer
I am starting to develop applications in the form of 3 tier really (4 tier) architecture at the moment.
I am still learning and at the moment I am developing a simple guest book.
With the power of this tiering system however I hope to increase the functionality of it soon quickly and easily.
Anyway I am sort of getting confused with my...
|