I cant my insert to work in php mysql?!?!?!?
I been working on this for some days. I cant get my insert to add these a record from user input into my mysql database
this is my validation.php
this is my insert.php
why is it not working
//validation.php
<html>
<head>
<link href="css/styles2.css" rel="stylesheet" type="text/css" media="screen">
</head>
<body background="images/swirl.jpeg">
<?php
$NameofOrganization = $_GET['NameofOrganization'];
$Tickets = $_GET['Tickets'];
$OriginalPrice = $_GET['originalprice'];
$DiscountedPrice = $_GET['DiscountedPrice'];
$Date = $_GET['Date'];
$Time = $_GET['Time'];
$Email = $_GET['Email'];
$Description = $_GET['Description'];
$Event_name = $_GET['event_name'];
$to = $Email;
$subject = "Statesboro Ticket Bank Confirmation";
$body = " Thank You " . $NameofOrganization . ". You have posted " . $Tickets . " tickets to the Statesboro Ticket Bank at a discounted price of $ " . $DiscountedPrice. "Thank You";
$from = "[email protected]";
?>
<div id = "Validationwrapper">
<h1> Are you sure the Information is correct ? </h1>
<form action= "insert.php" method="get">
<ol>
<li>
<label for="Name of Organization"> Name of Organization</label>
<input name="NameofOrganization" type="text" id="NameofOrganization" value="<?php echo htmlentities($NameofOrganization); ?>" readonly="true" />
</li>
<li>
<label for="Name of Event"> Event Name</label>
<input name="event_name" type="text" id="event_name" value="<?php echo htmlentities($Event_name); ?>" readonly="true" />
</li>
<li>
<label for="Tickets"> Number of Tickets being deposited</label>
<input name="Tickets" type="text" id="Tickets" name="Tickets" value="<?php echo htmlentities($Tickets); ?>" readonly="true"/>
</li>
<li>
<label for="orginalprice"> Original Price of the Tickets $</label>
<input name="originalprice" type="text" id="originalprice" name="originalprice" value="<?php echo htmlentities($OriginalPrice); ?>" readonly="true"/ >
</li>
<li>
<label for="DiscountedPrice"> Discounted Price for Approved Agencies</label>
$<input name="DiscountedPrice" type="text" id="DiscountedPrice" name="DiscountedPrice" value="<?php echo htmlentities($DiscountedPrice); ?>" readonly="true"/ >
<li>
<label for="Date"> Date of the Event</label>
<input name="Date" type="text" id="Date" name ="Date" value="<?php echo htmlentities($NameofOrganization); ?>" readonly="true"/ >
</li>
<li>
<label for="Time"> Time</label>
<input name="Time" type="text" id="Time" name="Time" value="<?php echo htmlentities($Time); ?>" readonly="true"/ >
</li>
<li>
<label for="Email"> Provide an Email we can Contact you </label>
<input name="Email" type= "text" id="Email" name"Email" value="<?php echo htmlentities($Email); ?>" readonly="true"/ >
<li>
<label for= " Description"> Description</label>
<input name= "Description" id="Description" name="Description" style="width:300px" value="<?php echo htmlentities($Description); ?>" readonly="true"/ >
</li>
<li>
<input name type="submit" class ="submit" name="submit" value="submit" >
</li>
</ol>
</form>
</div>
<div>
<a href="VEventForm.php">Go Back </a>
</div>
</body>
</html>
Similar Messages
-
Problem when displaying images when working with PHP, mysql and dreamweaver in a brower
Hey Guys
I am new to dynamic development but I already did some
research and tutorials about how to get a dynamic web site working
with PHP and Mysql in Dreamweaver. I set up a test page to view
some content on it directly from the mysql database and it worked
just fine in dreamweaver only when I pressed the
live data view.
When I tried to view the same page using the browser preview
with firefox and internet explorer, plain text from the database
was correctly displayed on the brower but the images were absent.
In the mysql database I used the varchar as my picture data
type field so that I will refer in dreamweaver in the data binding
panel in the img.src to the picture column of my database.
I anyone can tell me what am I doing wrong so that my
pictures are not displayed in the browser when i click the browser
preview facility in dreamweaver I would be very very and very
pleased ! :)The odds are that it is the way that you have referenced the
images rather
than an issue with the database. If you have the images root
relative like
this "/images" then they will work in preview, and on the
webserver, but
will not view when looking at the file via localhost.
If possible make the links page relative and then they should
work fine.
Paul Whitham
Certified Dreamweaver MX2004 Professional
Adobe Community Expert - Dreamweaver
Valleybiz Internet Design
www.valleybiz.net
"mariosal026" <[email protected]> wrote in
message
news:ea3nq2$9ol$[email protected]..
> Hey Guys
>
> I am new to dynamic development but I already did some
research and
> tutorials
> about how to get a dynamic web site working with PHP and
Mysql in
> Dreamweaver.
> I set up a test page to view some content on it directly
from the mysql
> database and it worked just fine in dreamweaver only
when I pressed the
>
live
> data view.
>
> When I tried to view the same page using the browser
preview with firefox
> and
> internet explorer, plain text from the database was
correctly displayed on
> the
> brower but the images were absent.
>
> In the mysql database I used the varchar as my picture
data type field so
> that
> I will refer in dreamweaver in the data binding panel in
the img.src to
> the
> picture column of my database.
>
> I anyone can tell me what am I doing wrong so that my
pictures are not
> displayed in the browser when i click the browser
preview facility in
> dreamweaver I would be very very and very pleased ! :)
> -
Creating a flash website to work with php & MYSQL for MMORPG
Hi i have a website which is a gangster MMORPG, it using PHP,
CSS, HTML and some javascript but however with the amount of game
similar to mine i want to make it unique so i bought "building
flash websites for dummies" i have read must of it and understand
most of it. but however don't really have a clue i it could
actually work with my website.
what i want to know is can it work with my current PHP &
MYSQL, so for example i want to create a logging page with flash to
replace my old PHP/HTML one this will be my first crack at it. but
will flash be able to check the MYSQL database and send error
messages back to the view etc.Yeah, this can work... My recommendations would be to read a
couple articles in the dev center on this topic, that should get
you started...
http://www.adobe.com/devnet/flash/articles/flash_databases.html
http://www.adobe.com/devnet/flash/articles/datawizards.html
http://www.adobe.com/devnet/flash/articles/ria_dataservices.html -
Insert not working in php to mysql
Ive been trying to enter information into mysql for the longerst. My guess is the sql statement. But if anybody can find anything wrong please tell me
Heres my database
and heres my code
please helpCan you try this in your insert.php (its mysqli rather than mysql)
<?php
$NameofOrganization = $_GET['NameofOrganization'];
$Tickets = $_GET['Tickets'];
$OriginalPrice = $_GET['originalprice'];
$DiscountedPrice = $_GET['DiscountedPrice'];
$Date = $_GET['Date'];
$Time = $_GET['Time'];
$Email = $_GET['Email'];
$Description = $_GET['Description'];
$Event_name = $_GET['event_name'];
$con=mysqli_connect("localhost", "root" , "", "user_registration");
// Check connection
if (mysqli_connect_errno()) {
echo "Failed to connect to MySQL: " . mysqli_connect_error();
mysqli_query($con,"INSERT INTO events (name_organization, event_name, number_of_tickets, orginal_price, discounted_price, date, time, email,description) VALUES('$NameofOrganization' , '$Event_name', '$Tickets', ' $OriginalPrice', '$DiscountedPrice', '$Date', '$Time', '$Email', '$Description' )");
?>
Below is the mysql version for insert.php:
<?php
$NameofOrganization = $_GET['NameofOrganization'];
$Tickets = $_GET['Tickets'];
$OriginalPrice = $_GET['originalprice'];
$DiscountedPrice = $_GET['DiscountedPrice'];
$Date = $_GET['Date'];
$Time = $_GET['Time'];
$Email = $_GET['Email'];
$Description = $_GET['Description'];
$Event_name = $_GET['event_name'];
?>
<?php
// Make a MySQL Connection
mysql_connect("localhost", "root", "") or die(mysql_error());
mysql_select_db("user_registration") or die(mysql_error());
// Insert a row of information into the table "events"
mysql_query("INSERT INTO events
(name_organization, event_name, number_of_tickets, orginal_price, discounted_price, date, time, email,description) VALUES('$NameofOrganization' , '$Event_name', '$Tickets', ' $OriginalPrice', '$DiscountedPrice', '$Date', '$Time', '$Email', '$Description') ")
or die(mysql_error());
?> -
Using php-mysql module and Apache2.2 provided with FMS4.5
Hi,
we've recently downloaded and upgraded FMS from 3 to 4.5 on a server that has this configuration (before upgrading):
- Centos 5.5
- Apache 2.2.3
- mysql 5.0.77
- php 5.3.3
- perl 5.8.8
Everything was fined before upgrading since 3 years.
We decided to upgrade FMS to provide HLS to our customers.
Once we upgraded FMS and installed Apache that comes with the installer, we encountered lots of errors.
- no more php, all scripts were visible, so we had to reinstall php module; and by the way, how can't we have the logical directories for apache (like /etc/httpd/,...) instead of /opt/adobe/fms/Apache...
- no more perl, cgi script are also visible...
- and now, we are unable to connect to mysql database. Whatever we do, the following message appears:
Fatal error: Call to undefined function mysql_connect()
modules are in the right folders but no way....
If someone can help us,
regards,
Tonyi answer to myself:
I finally managed to do it.
The best way was this:
- backup the Apache folders from fms
- reinstall fms w/o apache
- reinstall properly the standard httpd ( i launched yum remove httpd before)
- copy modules from fms backup to /etc/httpd/modules so i havve specific modules
- update httpd.conf with adobe version (easy with Kompare)
restart httpd and fms
Now everything works well: php, mysql, cgi, ... -
I've got a multi page form that carries values across
multiple pages with the use of Hidden Fields and then on last page
inserts the record into a MySQL database (for this I used the built
in Insert Record function of dreamweaver). My problem is that it
works well when using Internet Explorer, values are carried forward
and everything is inserted successfully to the database.
But, when using Mozilla Firefox it looks as if it works, I
get the confirmation at the end, but the record is not being
inserted to the database. I've worked through this step by step and
the values are being carried across in the hidden fields but it
just will not insert anything to the database.
Has anyone got any ideas??
Thank you in advance.Cade06 wrote:
> Thanks alot for your reply, but I am completely new to
MySQL, and I am not
> quite sure how the syntax works. When you say " WHERE
landlord_username =
> 'whatever' "I'm not sure what needs to go in the
'whatever' portion of the
> code. Do I need to insert static text here or something
else? I am totally out
> of my element here, sorry :-/
It's probably not so much MySQL syntax that's the problem for
you, but a
lack of understanding how to work with Dreamweaver
recordsets, server
behaviors, and sessions. Building database-driven sites with
Dreamweaver
isn't difficult, but there are a lot of things involved.
The Log In User server behavior automatically creates a
session variable
called $_SESSION['MM_Username']. You can use this as a
parameter to pass
to the SQL query in the Advanced Recordset dialog box. In the
SQL area
you would type (I'm guessing the name of your table and the
username
column):
SELECT landlord_id FROM landlords
WHERE landlord_username = 'col1'
Then click the plus button above the Variables area, and
create a
Parameter with the following values:
Name: col1
Default value: 1
Runtime value: $_SESSION['MM_Username']
You can then extract the result of the recordset, and assign
it to a
session variable like this:
$_SESSION['landlord_id'] = $row_recordsetName['landlord_id'];
> Also, I understand that I need to do this on the login
page, but do I need to
> define the recordset again on the add_site page as well?
I guess I'm still not
> quite clear on how I specify the session variable as the
value that needs to be
> entered in the sites table as the landlord_ID.
As long as the session is still valid (which it would be if
you use
Restrict Access to Page), you will always have access to that
landlord's
id through $_SESSION['landlord_id'].
David Powers
Author, "Foundation PHP for Dreamweaver 8" (friends of ED)
Author, "Foundation PHP 5 for Flash" (friends of ED)
http://foundationphp.com/ -
PHP/mySQL Insert/Update Problems
I hope someone can help because I can't find anything online
that is helping me with this problem. I can't get the Dreamweaver
controls to work when coding a PHP insert or update record page. It
looks like it creates the code correctly but when I put them out on
my webserver and then fill out the form and click submit the page
submits and tries to use a URL string of (null)/admin/index.php
where index.php is the form page not the page I told it to redirect
to. I don't know why the (null) value keeps getting inserted into
the string either. The browser obviously can't find this URL so
gives a page cannot be displayed screen and nothing get's inserted
or updated in the mySQL database.
Any help would be greatly appreciated. This problem is
driving me crazy because I want to save time not having to hand
code things. Below is a User Authentication page using the
Dreamweaver controls that does the same thing when I try to
login.tobyd wrote:
> the page submits and tries to use a URL string of
(null)/admin/index.php
> where index.php is the form page not the page I told it
to redirect to. I don't
> know why the (null) value keeps getting inserted into
the string either.
The following two lines set the URL for login success and
failure.
> $MM_redirectLoginSuccess = "../admin_index.php";
> $MM_redirectLoginFailed = "../admin/index.php";
As you can see, they are relative paths, suggesting that the
login form
is in a different subfolder, but at the same level as
admin_index.php
and the admin folder. The (null) almost certainly comes from
the fact
that your login page is in the site root. If you're typing in
the
redirect filenames manually, use the Browse button instead.
Dreamweaver
should set the correct path for you.
David Powers, Adobe Community Expert
Author, "Foundation PHP for Dreamweaver 8" (friends of ED)
Author, "PHP Solutions" (friends of ED)
http://foundationphp.com/ -
Inserting a Recordset Kills PHP Processing
In Dreamweaver 11.0 (CS5) on both MAMP and a live server, I am experiencing a puzzling issue.
Inserting any Recordset kills PHP processing. For example, this document works perfectly:
<!DOCTYPE HTML>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Untitled Document</title>
</head>
<body><?php echo “Hello, world.” ?><?php phpinfo() ?></body>
</html>
As soon as I add any Recordset to the page, those two php statements simply stop working. In fact, the Recordsets return no data on the page. After I delete the Recordset code that Dreamweaver had inserted, and restore the page, php statements magically begin working again!
(During the creation of the Recordset, the Test button confirms all columns are present, and the two rows are fine.)
Any clue to what’s going on?I've solved part of this issue. It turns out that Dreamweaver copies to the testing server all new files and changes to files EXCEPT... the Connections folder it creates and that folder's contents. The user needs to do that manually.
However, after I copied the Connections folder, Dreamweaver refuses to Insert any Data Object.
For example, it won't insert a Repeat Region or a Dynamic Table. When I select
Insert->Data Objects->Dynamic Data->Dynamic Table
Dreamweaver returns this error:
While executing insertObject in DynamicTable.htm, a JavaScript error occurred.
Ditto the Repeat Region. -
Cant get facetime to work on mini ipad
Cant get FaceTime to work on new mini IPad....any suggestions? It keeps verifying but it will not work, it allows me to get apps. Triple checked that the Apple ID and password is correct, checked the settings to make sure they are turned on, able to get imessage, not sure what the problem could be?
Using FaceTime http://support.apple.com/kb/ht4319
Troubleshooting FaceTime http://support.apple.com/kb/TS3367
The Complete Guide to FaceTime + iMessage: Setup, Use, and Troubleshooting
http://tinyurl.com/a7odey8
Troubleshooting FaceTime and iMessage activation
http://support.apple.com/kb/TS4268
iOS: FaceTime is 'Unable to verify email because it is in use'
http://support.apple.com/kb/TS3510
Using FaceTime and iMessage behind a firewall
http://support.apple.com/kb/HT4245
iOS: About Messages
http://support.apple.com/kb/HT3529
Set up iMessage
http://www.apple.com/ca/ios/messages/
iOS 6 and OS X Mountain Lion: Link your phone number and Apple ID for use with FaceTime and iMessage
http://support.apple.com/kb/HT5538
How to Set Up & Use iMessage on iPhone, iPad, & iPod touch with iOS
http://osxdaily.com/2011/10/18/set-up-imessage-on-iphone-ipad-ipod-touch-with-io s-5/
Extra FaceTime IDs
http://tinyurl.com/k683gr4
Troubleshooting Messages
http://support.apple.com/kb/TS2755
Troubleshooting iMessage Issues: Some Useful Tips You Should Try
http://www.igeeksblog.com/troubleshooting-imessage-issues/
Setting Up Multiple iOS Devices for iMessage and Facetime
http://macmost.com/setting-up-multiple-ios-devices-for-messages-and-facetime.htm l
FaceTime and iMessage not accepting Apple ID password
http://www.ilounge.com/index.php/articles/comments/facetime-and-imessage-not-acc epting-apple-id-password/
Fix Can’t Sign Into FaceTime or iMessage iOS 7
http://ipadtutr.com/fix-login-facetime-imessage-ios-7/
FaceTime, Game Center, Messages: Troubleshooting sign in issues
http://support.apple.com/kb/TS3970
Unable to use FaceTime and iMessage with my apple ID
https://discussions.apple.com/thread/4649373?tstart=90
How to Block Someone on FaceTime
http://www.ehow.com/how_10033185_block-someone-facetime.html
My Facetime Doesn't Ring
https://discussions.apple.com/message/19087457
Send an iMessage as a Text Message Instead with a Quick Tap & Hold
http://osxdaily.com/2012/11/18/send-imessage-as-text-message/
To send messages to non-Apple devices, check out the TextFree app https://itunes.apple.com/us/app/text-free-textfree-sms-real/id399355755?mt=8
How to Send SMS from iPad
http://www.iskysoft.com/apple-ipad/send-sms-from-ipad.html
You can check the status of the FaceTime/iMessage servers at this link.
http://www.apple.com/support/systemstatus/
Cheers, Tom -
I singed into CC on my home computer, now I cant sign in at work? How can I sign in at work? Isn't there an option to sign out of all other devices?
If the IT dept. at your former employer knows what they're doing, they have already had access to everything on your work computer. As to transferring your data to your home computer, read here:
https://discussions.apple.com/docs/DOC-3141 -
My ipod touch 4g isnt letting me download apps now whenever i try to it says cannot connect to itunes, i cant find anything that works, i logged out of my apple account and tried to log back in but it wont let me! Can anyone help me
Likely Apple problem
iTunes Store - 20% of users are affected
Users are unable to make purchases.
http://www.apple.com/support/systemstatus/ -
My mail forms created by muse 2014.0.1.30 do not work. PHP 5.4 is enabled by my hoster, so they should work. Can anyone help me, for these forms are crucial for my business. The forms confirm delivery, but the mails are not recieved. No spam filters enabled.
Meanwhile, I was able to narrow the problem down: PHP seems not to accept a re-directed mail address as sender of the mail in some cases. So, it has nothing to do with the mail form itself.Hi Ingo,
Please refer to this document, Troubleshooting Muse Form Widgets Used on Third-Party Servers
Last section, "I've uploaded my new Muse form, and tried submitting it in the browser, but I never receive an email with the form data. What's wrong?"
- Abhishek Maurya -
I cant get itunes to work on my new Sony Vaio. Im running Windows 8.1.
i cant get itunes to work on my new Sony Vaio. Im running Windows 8.1. Anyone have a fix?
Hello philtapevans,
The following article provides information and steps that can help get iTunes installed on your computer.
Issues installing iTunes or QuickTime for Windows
http://support.apple.com/kb/HT1926
Cheers,
Allen -
set up ipod touch to cox email, ive tried everything and cant get it to work. thanks!
Here's an answer from the net:
Go to Settings/Mail,contacts,calendars/Add account choose other, choose Add Mail Account. Fill in name, email address, password and description on the screen that comes up. Save those.
One the next screen tat comes up click om POP in the first line then fil in the host name as
spop.west.cox.net or spop.east.cox.net or the one to go with your region.
Note that is not a misprint, that is spop (secure pop)
Fill in your username one more time (the password should have carried over from previously)
Fill in your outgoing mail server like smtp.west.cox.net (change for your region) and click Save.
When all the settings are verified a checkmark will appear next to them all and you are good to go.
If it says something like "can't connect via SSL would you like to ..." then you probably missed the step about selecting POP on the second screen and are trying IMAP so go back and try over with POP. Or perhaps mistyped soemthing.
Once everything is working you can go back into the settings and see that it has automatically connected on port 995 and that SSL is on
Note that you probably won't be able to send email from a wifi in a cafe or similar as cox won't let you connect to their smtp from outside their network.
I haven't tried receiving mail from a non cox connected wifi yet but I suspect it will work just fine. Anyway these settings work for me using my ipod to my home wifi router connected to cox.
I could not find a definitive guide when I searched so I hope this helps other folks trying to configure this.
I got the spop from "Mail for Mac OS X 10.5 configure SSL / POP" here:
http://support.cox.com/sdccommon/asp...c-7f95e8bcaf39 -
FileReference doesn't work with PHP Globals
<help>,
Ok so this is my problem. I have a flash movie that allows
users to uploads two images to a server. What I'm trying to do is
have the uploaded images go directly to their user's directory. I
need the upload.php file to figure out which person is uploading an
image. The php page that handles the file uploads will not read in
any global variables (i.e. POST, GET, SESSION, COOKIE). Also
FileReference.upload() doesn't allow you to send any GET / POST
vars along with it (as far as I have tested and read about). I've
been working on this for four days now and have concluded it's
something to do with the Flash FileReference calling the php page.
I believe for some reason when FileReference calls the php page the
web server doesn't like/allow/understand how the page is called so
it denies any global var requests. I know its flash because it
works if I use an html front end with the same php uploader page.
So the goal for you 'out of the box' thinkers is to get one
single darn global variable pulled into the php upload page. The
ONLY way I can think of doing this is when every time a user
creates an account and their folder is created, it copies the php
upload file their directory. Then in flash when a user needs to
upload its calls the upload file in each persons upload directory.
Needless to say I do not want to do it this way but I'm running out
of ideas.
P.S. someone has suggested uploading the images to a temp
file name and then immediatly move the image to the users folder
but I I'm tentive to do it that way since you could get two people
uploading at the same time and one person would get the second
person's image and the second person would get an error.
<!--- actionscript code
this._fileRef.upload("upload.php"); <---- works
this._fileRef.upload("upload.php?user_id=4"); <---- does
not work
//-->
<?php
session_start();
$user_id = $_SESSION['user_id']; // Does not work
$user_id = $_COOKIE['user_id']; // Does not work
$user_id = $_GET['user_id']; // Does not work
$user_id = $_POST['user_id']; // Can't do with FileReference
class
?>
</help>This may help. You can pass some URL encoded data with the
FileReference
upload method.
file_fr.upload("upload.php?testvar=Hello World " +Date());
Then this is a demo on how you can see that data, which you
would need to
rework to use to set the path.
<?php
if ($_FILES['Filedata']['name']) {
$uploadDir = "images/";
$uploadFile = $uploadDir .
basename($_FILES['Filedata']['name']);
move_uploaded_file($_FILES['Filedata']['tmp_name'],
$uploadFile);
$filename = "output.txt";
$fp = fopen( $filename,"w+");
fwrite ( $fp, "Test" );
fwrite ( $fp, $_REQUEST['testvar'] );
fclose( $fp );
?>
Lon Hosford
www.lonhosford.com
Flash, Actionscript and Flash Media Server examples:
http://flashexamples.hosfordusa.com
May many happy bits flow your way!
"Webmaster Pete" <[email protected]> wrote
in message
news:[email protected]...
> <help>,
>
> Ok so this is my problem. I have a flash movie that
allows users to
> uploads
> two images to a server. What I'm trying to do is have
the uploaded images
> go
> directly to their user's directory. I need the
upload.php file to figure
> out
> which person is uploading an image. The php page that
handles the file
> uploads
> will not read in any global variables (i.e. POST, GET,
SESSION, COOKIE).
> Also
> FileReference.upload() doesn't allow you to send any GET
/ POST vars
> along
> with it (as far as I have tested and read about). I've
been working on
> this for
> four days now and have concluded it's something to do
with the Flash
> FileReference calling the php page. I believe for some
reason when
> FileReference calls the php page the web server doesn't
> like/allow/understand
> how the page is called so it denies any global var
requests. I know its
> flash
> because it works if I use an html front end with the
same php uploader
> page.
>
> So the goal for you 'out of the box' thinkers is to get
one single darn
> global variable pulled into the php upload page. The
ONLY way I can think
> of
> doing this is when every time a user creates an account
and their folder
> is
> created, it copies the php upload file their directory.
Then in flash when
> a
> user needs to upload its calls the upload file in each
persons upload
> directory. Needless to say I do not want to do it this
way but I'm running
> out
> of ideas.
>
> P.S. someone has suggested uploading the images to a
temp file name and
> then
> immediatly move the image to the users folder but I I'm
tentive to do it
> that
> way since you could get two people uploading at the same
time and one
> person
> would get the second person's image and the second
person would get an
> error.
>
> <!--- actionscript code
> this._fileRef.upload("upload.php"); <---- works
> this._fileRef.upload("upload.php?user_id=4"); <----
does not work
> //-->
>
> <?php
> session_start();
> $user_id = $_SESSION['user_id']; // Does not work
> $user_id = $_COOKIE['user_id']; // Does not work
> $user_id = $_GET['user_id']; // Does not work
> $user_id = $_POST['user_id']; // Can't do with
FileReference
> class
> ?>
>
> </help>
>
Maybe you are looking for
-
How to view temporary storage areas while loading from DTP?
I am loading loading to Infocube using DTP.The following error occurs "Error while updating to target C_0APO_C (type INFOCUBE)" . I want to view temporary storage area to see data after transformation.How to do that and why this error is occuring.
-
'The logged-on user does not have permission to use this object'
Hello everyone, I am getting the message 'The logged-on user does not have permission to use this object' while saving the Sales Order. I am logging in as a CRM user. There is an addon also running on the server, that saves some data into a user defi
-
How to restore TicketKeystore View???
Hello, I just wanted to delete an entry in the TicketKeystore View, but accidentally I deleted the whole Ticket Keystore View in CE 7.1. Please can anyone tell me how to rebuild this view? Best Regards, Iris
-
How to mark a 'winning' opportunity competitor
When using opportunity competitors, anyone got a way to mark the winning competitor? There are notes there sure, but how can I mark the winner, so we can get some reports of who we are losing to. I can add a new field to the opportunity header, but t
-
Hello experts: I am looking for job as CRA and want to enhance my bio informatics skills at the same time, was looking for some advice on SAS training, I am familiar with oracle. Came across a forum website which has some outstanding discussions and