| |
thread by: cplxphil |
last post Aug 18 '08 by: Michael Fesser
Hi,
Does anyone know if it's possible to post to a page without using a
form? For example, if I want to pass a variable to another page
without using a cookie, is there a way to pass it using post?
Thank you,
Phil
|
thread by: RJ_32 |
last post Sep 2 '08 by: I V
When there is no rDNS record on an IP address, then it might take a while for
the reverse lookup to timeout. I'm thinking of how on a tracert you can
observe the delay.
If so, then calling gethostbyaddr() can delay the serving of the web page,
right? Because gethostbyaddr() is not forked into a separate process. So I
suppose I'd need to...
|
thread by: psycho007 |
last post Nov 8 '08 by: psycho007
I was wondering if somebody could help me. this is driving me crazy.
I am trying to send an array from a mysql_fetch_assoc result from table total_orders to table orders_complete. I have the following code:
<?php include("config.php");$sql = "SELECT item, cost FROM orders_total";$result = mysql_query($sql) or die(mysql_error()); while($row...
|
thread by: tokcy |
last post May 11 '13 by: Dormilich
Hi everyone,
I want to connect two different database server using php/mysql.
Suppose i have some dat on www.xyz.com and i want to select that data on www.abc.com
How do i integrate two different database server please some body tell me...
Thanks in advance
|
thread by: Rob Tweed |
last post Jul 17 '05 by: Justin Wyer
Two inter-related questions:
If I'm in PHP page a.php, and I want to switch control to page b.php,
the only mechanism I've come across is to use header('Location:
someURL") ;
This has two drawbacks - it seems inefficient to me - you essentially
have to "bounce" a request/response off the browser to switch between
PHP pages - leaving and...
|
thread by: Justin Koivisto |
last post Jul 17 '05 by: Leythos
http://story.news.yahoo.com/news?tmpl=story&cid=74&e=8&u=/cmp/22103407
OK, for those of you that actually know me...
$regexp='I told (you|them) to (disable ActiveX|(stop using (IE|IIS)))
long ago.';
--
Justin Koivisto - spam@koivi.com
PHP POSTERS: Please use comp.lang.php for PHP related questions,
|
thread by: Dynamo |
last post Jul 17 '05 by: John Dunlop
Hi
The following script was taken from John Coggeshall's (PHP consultant) in his
article on Zends site at http://www.zend.com/zend/spotlight/ev12apr.php
// Get the email address to validate
$email = $_POST
// Use John Coggeshalls script to validate the email address
if(!eregi("^+(\.+)*@+(\.+)*(\.{2,3})$", $email) {
echo "The e-mail was...
|
| |
thread by: J.A. |
last post Jul 17 '05 by: J.A.
Hi, I'm new with PHP
I want to create a page to redirect links, for example:
http://www.php.net/link.php?link_id=2005
....and be redirect to a URL, from my databse (MySQL), like it follow:
http://www.php.net/pro/beta/etc/etc/index.php
I have this, but did not work, what can I do?
|
thread by: evanescent.lurker |
last post Jul 17 '05 by: Geoff Berrow
Hi there,
I was wondering is there a point in optimization in code style... I
have used to put parenthesis around some php keywords, but they are not
needed.
For example, I always use:
echo( "String..." );
but I could use
echo "String...";
|
thread by: Dave Turner |
last post Aug 20 '05 by: Chung Leong
I know that its impossible to completely prevent somebody from ripping a
site (or cracking software) if that person has the skills and the
time/patience, but there are tricks that can be employed in software which
slow crackers down, from things like self-decrypting code to anti-debug
tricks, and most people have a breaking point - if you can...
|
thread by: PRESENT321 |
last post Sep 19 '05 by: Default User
I just wanted to get some advice.
I've had a few years experience in web site design and server-side
programming and am fairly confident in my skills.
There is a local Credit Union wanting to add a few features to their
site (bill pay, transfer money between banks) and I am interested in
the job.
However, I've never worked for a bank...
|
thread by: wd |
last post Mar 1 '06 by: wd
I want my server to send a 404 header if a URL with a query string is
requested. So if a browser or spider requests something
like
www. my_site .com?p=chair
they would get a 404...
But if they request
www. my_site .com/chair.htm
everything would be normal.
|
thread by: frizzle |
last post Feb 12 '06 by: Jim Michaels
Hi there,
I have a mySQL system with a news publishing part in it:
Admins can create new items with text in it, and they have an option to
create 'fulltexts', so you'd get "read more ..." on the front page,
click it and read the fulltext.
Is there a possibility for mySQL (query) to check if 'fulltext' is
empty or not, and only return...
|
thread by: Colin McKinnon |
last post May 15 '06 by: C.
Hi all,
There's lots of DB abstraction layers out there, but a quick look around
them hasn't turned up anything which seems to met my requirements. Before I
go off and write one I thought I'd ask here if anyone knows of such a
beast...
I want some code where I present an array of data, and the corresponding
primary key and let the code...
|
thread by: Wim Cossement |
last post Sep 8 '06 by: Wim Cossement
Hello,
I was wondering if there are a few good pages and/or examples on how to
process form data correctly for putting it in a MySQL DB.
Since I'm not used to using PHP a lot, I already found out that
addslashes() can be used escape some characters, but I'm having some
more problems with for instance ä, å and µ (since the text is...
|
| |
thread by: crescent_au |
last post Nov 2 '06 by: Jerry Stuckle
Hi all,
I've written a login/logout code. It does what it's supposed to do but
the problem is when I logout and press browser's back button (in
Firefox), I get to the last login page. In IE, when I press back
button, I get to the page that says "Page has Expired" but Firefox does
not do this.
I think it's something to do with sessions...
|
thread by: Marcel |
last post Nov 13 '06 by: mannerboy
I have a person class adn i want to derive an object of that class on one
page and pass that object to a next page but that does not work for me and i
do not understand why.
Here is de code:
class.person.php
-----------------------------------
class person {
|
thread by: Tom |
last post Jan 5 '07 by: Mladen Gogala
I need to convert an integer to a unique code string consisting only of
capital letters and numbers.
I also need to be able to convert it back to an integer again.
Example:
10 =DFG56JKG4 =10
How do I accomplish that?
Googling has not helped.
|
thread by: Jonno |
last post Apr 29 '07 by: Vince Morgan
Hi
I am having a problem with session vars being propagated between pages
on this site:
http://www.meettheancestors.com/sessiontest/index.php
If you enter any user id and password and click Log In (no actual
validation is performed), and then move around the other pages and/or
keep refreshing the pages it will eventually display something...
|
thread by: Jon Slaughter |
last post Apr 30 '07 by: Jerry Stuckle
I have some code that loads up some php/html files and does a few things to
them and ultimately returns an html file with some php code in it. I then
pass that file onto the user by using echo. Of course then the file doesn't
get seen by the user.
Is there any command that essentially executes the code and then echo's it?
something that...
|
thread by: blessblessbless |
last post May 12 '07 by: -Lost
Hello friends,
I am trying to find something that must exist.
I am in Thailand right now and Internet is not very available in the
place I'm staying.
Is there a program that can emulate a server, apache, mysql without me
having to set up a server on my laptop.
I would imagine it to be like an archive where I just import the files
I want...
|
thread by: Piotr Nowak |
last post Aug 24 '07 by: Jerry Stuckle
Hi,
Say i have a server process which listens for some changes in database.
When a change occurs i want to refresh my page in browser by notyfinig it.
I do not want to refresh my page i.e. every 5 seconds, i just want to
refresh it ONLY on server change just like desktop applications do.
The problem is that refreshing evry n seconds has...
|
thread by: Gilles Ganault |
last post Nov 15 '07 by: Steve
Hello
I've been googling for a couple of hours, but still haven't found what
I need:
- really simple PHP-based image gallery software. Ideally, just a
single file that I just drop into a directory filled with JPG files
- uses eg. GD to generate thumbnails automagically, and saves them
into a sub-directory for the next time (I don't want...
|
| |
thread by: william.hooper |
last post Nov 4 '07 by: william.hooper
here is my form:
<html>
<head></head>
<body>
<FORM ACTION="code.php" method="post">
<INPUT TYPE=SUBMIT NAME="arty.jpg" VALUE="Action">
</FORM>
|
thread by: chazzy69 |
last post Jul 10 '08 by: chazzy69
is it possible to send information without having to use a php form i.e. say the information that you would put in the form is made as a sort of message that can be posted automatically without waiting for user input??
Note: this is not related to any other post by me
Thanks in advance, any help is appreciated
|