Description:
PHP, server side scripting.
|
|
|
Immediate Position:::Business Analyst With BI EXP::::At Houston, TX
|
| |
Hi,
This is Girish, - Recruitment and Resources from SancroSoft USA Inc.
We have an urgent requirement as follows:
Please respond with resumes in MS-Word Format with the following details to Gir...@sancrosoftusa.com Full Name :
Location :
Contact Number :
Email :
Availability :
Visa Status :... more »
|
|
mkdir no such file or directory
|
| |
I want to create a directory using mkdir. But I get "No such file or directory" error.
Below is the code I am using.
$filelocation = "/uploads/" . "/" . time();
Can some one please tell me what I am doing wrong?
I also tried manually creating the uploads folder. Still the same error. Any help will be much appreciated.... more »
|
|
Booleans compared to strings
|
| |
So, this is wierd:
$b = true;
var_dump($b);//boolean true
if(!$b)echo '!$b I wont echo, correctly so<BR>';
if($b)echo '$b I will echo, correctly so<BR>';
if($b == 'false')echo '$b == I will echo, which is wrong<BR>';
if($b === 'false')echo '$b === I wont echo, which is correct<BR>';... more »
|
|
isset not working with select
|
| |
[link]
$result = mysql_query("SELECT acover,bcover FROM A$year WHERE id =
$number");
if (!$result) { echo 'Could not run query: ' . mysql_error(); exit; }
$cov = mysql_fetch_row($result);
if (isset($cov[0]))
{echo "<img src='[link]".$cov[0]."'>";}... more »
|
|
bug in is_numeric
|
| |
Using PHP 5.3.6 on win7-74
if(is_numeric('x11.11c') returns TRUE
and variations eg: z1111x is also true
this does not seem right to me.
I've done a search but cant find mention in buglist.
Perhaps someone more knowledgable can deal with this.
I've tried to mention elsewhere but PHP.net seems to be going... more »
|
|
changing video source from youtube to my site
|
| |
I have a long long list of videos on my site all stored in a database.
The way I have it structured in the php code is for all the videos to be
played in the supplied youtube's <iframe> scheme.
But what if I want to have a video source on my site?
In BASIC, I could easily say if left$(x$,4)="this" then do this.... more »
|
|
Unique array of arrays - how can I do this?
|
| |
Hi,
While calculation I get a solution as an array of integers.
There're many solutions and I would like to keep them in an array.
Because of the algorithm there are different paths to get to
the same solution but I want to have it once only.
I know that I can use array_unique but that's too slow... more »
|
|
replacing spaces with newline
|
| |
Hi Guys,
I am new to PHP and I am trying to clean up some text, what I am looking to do is to create a new line at each space, I have tried the following but it still outputs with just spaces.
<?php
$file = file_get_contents("mytext.txt" );
$file = Str_replace(" ", "\r\n", $file);
echo $file;... more »
|
|
take two - fetch items from a row.
|
| |
This code may reside on a page in a line.
< a href="http:[link]">
Where I show id=$number, is that the way I want to show it or is there a
beter way?
I want to retrieve the row corresponding to the id number given in the
link.
<?php
$number=$_GET["number"];... more »
|
|
|