| |
thread by: maingroup |
last post Dec 7 '07 by: clai83
Hello,
I am using PHP 5, Apache on WinXP.
Here is the first php named 1.php
<?php
session_start();
$_SESSION = 22 ;
echo $_SESSION;
|
thread by: furfey |
last post Dec 7 '07 by: The Natural Philosopher
Is it possible to take an if contruct like this:
if ($mmaaccess == "yes") {
print "<img src='images/mma.jpg'>";
} else {
print "<img src='images/oa.gif'>";
}
and turn the whole thing into a variable $accessimage
|
thread by: a10392 |
last post Dec 6 '07 by: rohypnol
Hi,
I'am triyng to create a form where i have 2 comboBox and 2 textbox, when the selection changes on the first combo , the content of second also changes. i have to use onchange=form.submit()
the problem is, i want to have a button to finish the selection and save all the data to a database, but if i have diferent forms, i will not get the...
|
thread by: Narya |
last post Dec 6 '07 by: rohypnol
Hello guys, I got a strange problem when using for loop.
For example, the following code
for ($j = 0.0; $j <= 2; $j+=0.2) {
print $j, " ";
}
gives
0 0.2 0.4 0.6 0.8 1 1.2 1.4 1.6 1.8 2 ,
|
thread by: chhawchharia |
last post Dec 6 '07 by: rohypnol
i have applied this code from tutorials php of this site
but its now working can i know why?
Sending E-Mail with PHP
By Blair Ireland
Senior Editor, TheScripts.com
Ok, time to teach you the mail function in PHP.
The basic syntax for the mail function is;
|
thread by: aarya |
last post Dec 6 '07 by: rohypnol
i have a problem in generating txt file from php. my prblem is After I add a news item etc. the script that updates the database would geneterate a text file. Then in my code instead of my 'include file show_news.php3' command, I would do a a include news.html that would be a pre-built html page. I think this would make the pages load faster. vs....
|
thread by: R.A.M. |
last post Dec 6 '07 by: R.A.M.
Hello,
I have little experience in PHP so I would like to ask a question. I use
PHP5 in Windows XP Professional, Apache 2.0.59.
I have created a website with index.php file. This file contains:
<ul>
<?php include('Menu/Association.inc'); ?>
</ul>
The file Menu/Association.inc starts with:
<li><a href="Association.php">Strona...
|
| |
thread by: JackpipE |
last post Dec 6 '07 by: Rik Wasmus
I need to rename a generic image to the name of the product that's
being viewed on the page:
/theme/images/fullProfile.gif to - /theme/images/
productxxx.jpg
The productxxx.jpg image doesn't physically exist so I just need to
rename the generic one and still display the same image under
different name.
|
thread by: olddocks |
last post Dec 6 '07 by: Markus
is it safe to allow users using a html text editor? i got open source java script based HTML editor and i am using it to allow people to type their blog and forum?
is it safe?
|
thread by: Mikhail Kovalev |
last post Dec 6 '07 by: Mikhail Kovalev
Hi.
I work with recursive array trees of 10-20 levels in PHP. So far I
have been using serialize() to store the arrays, generating files 5+
MB large, which take 10-15 seconds to unserialize and about tenfold of
RAM! I've been adviced to use MySQL (relational db's), but are there
any other options beside that and var_export/include?...
|
thread by: nil81 |
last post Dec 6 '07 by: Markus
Hello Friends,
I want to create a blog for the user that register to my site(for example www.test.com) after that I want to redirect user to www.user.test.com.
That is just like in blogger.com. How can I perform this task is I did to create a subdomain for every user that register my site or just to create a page and redirect...
|
thread by: arunj82 |
last post Dec 6 '07 by: MarkoKlacar
Hi,
I have two tables channels and subscribers. Channels has fields like channelid, channelname,userid,added_time etc. The subscriber table has id,channelid,subscriber_id.
Now i want to pick the channels which has userid=1 and subscriber_id from tbl_subscribers where subscriber_id=1.
I have tried the following query.
...
|
thread by: 2005.ravikumar |
last post Dec 6 '07 by: Joe Scylla
Hello sir
How to create Oscommerce admin login? Please give me sample code.
|
thread by: Gunivortus Goos |
last post Dec 6 '07 by: Toby A Inkster
Hi,
at my website I've several thousands of zipped texts.
Is there a script to make it visitors possible to open a ZIP file and
read the text inside?
Regards,
Gunivortus
|
thread by: mishrarajesh44 |
last post Dec 6 '07 by: Markus
hii all,
is it not possible to include a file which is outside the folder which contains the script file(where include( ) is used).
my problem is:
the file add.php uses the
include'../addressbook/image_upload.php' ;
and add.php has path like
addressbook/admin/add.php
by doing...
|
| |
thread by: raghuvar |
last post Dec 6 '07 by: debasisdas
i want to insert data through php form in mysql database so.how establish connection with mysql please tell me urgently.
thanks.
|
thread by: assgar |
last post Dec 6 '07 by: MarkoKlacar
Hi
I am having problem with my loping.
I don't know if I have chosen the correct approach.
GOAL:
I need to insert into a table event types for a specific date range.
The calendar the event type is displayed on is divided into
15 minutes time intervals
|
thread by: eastcoastguyz |
last post Dec 6 '07 by: eastcoastguyz
I'm very new to RSS. I was given a URL that starts with "feed:". I
want to be able to open this and read in its content into a PHP
program to produce a report. I'm not interested in converting it to
HTML.
Question: Is a URL that starts with feed: output XML?
Question: How do I open a feed: URL in PHP and parse it?
Thanks!
|
thread by: Ciaran |
last post Dec 6 '07 by: Jerry Stuckle
Hi Can someone please give me a hand adapting this expression? I need
it to add a space into all words longer than 14 characters that are
not contained within
$result = preg_replace("/({14})/","$1 ",$result);
It currently adds a space into all words that are longer than 14
characters but this is breaking another function I'm using which...
|
thread by: Mike |
last post Dec 5 '07 by: Mike
Uloop.com is a funded startup with offices in Burlingame, Chicago and
Nashville. We are a college-based online classifieds system, with the
sole focus of serving the needs of students at universities and
colleges nationwide.
With financial backing and a dozen employees in three offices (as well
as over a hundred college students working for...
|
thread by: Rajni123 |
last post Dec 5 '07 by: ak1dnar
Internet shopping is one of the biggest hits around the globe, and customers wanting to shop online are increasing exponentially. For this reason, if we want your business to remain competitive, then we will need to have a website that will cater to our customers’ shopping needs.
There are Companies which provides Shopping Cart <LINK REMOVED > ...
|
thread by: Bre-x |
last post Dec 5 '07 by: John Murtari
Is there a way to transfer data from a ODBC connection to MySQL
without having to create a file?
Regards,
Bre-x
|
thread by: UKuser |
last post Dec 5 '07 by: AnrDaemon
Hi,
I have the following script which I'm using to verify that websites
exist. However in either FF or IE it only runs for about 60 seconds.
I've changed what ini settings I think affect it, but to no avail. Can
you tell me how to make it run for longer. I could have quite a few
hundred sites and I simply want to make sure they return OK.
...
|
| |
thread by: jodleren |
last post Dec 5 '07 by: AnrDaemon
Hi all!
I have this problem, that I need to check the user (using session data
and some checks (included files)), then when ok, I can send a file to
the user.... meaning (simplified):
header("Pragma: no-cache");
header("Expires: -1");
session_start();
|
thread by: serena9131 |
last post Dec 5 '07 by: numberwhun
I tried to send email by php mail function, I have problem sending chinese subject. Can anyone what is the script for encode the subject to send chinese subject?
Thanks
|