# Newbie question...sendAndLoad with PHP

**URL:** https://forum.kirupa.com/t/newbie-question-sendandload-with-php/109267
**Category:** Uncategorized
**Created:** [May 3, 2004, 11:19pm UTC](https://forum.kirupa.com/t/newbie-question-sendandload-with-php/109267 "2004-05-03T23:19:54Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![veraxoxo](https://avatars.discourse-cdn.com/v4/letter/v/f19dbf/32.png) [@veraxoxo](https://forum.kirupa.com/u/veraxoxo)
#### Post date: [May 3, 2004, 11:19pm UTC](https://forum.kirupa.com/t/newbie-question-sendandload-with-php/109267/1 "2004-05-03T23:19:54Z")

</div>

I’m trying to pass a username and password to a php script using sendAndLoad (Flash MX Professional 2004):

if (user != “” && pass != “”) {

```
	status = "Begin Login Process - Wait...";
	
	var c = new LoadVars();
	var d = new LoadVars();
	c.user = user;
	c.pass = pass;
	c.sendAndLoad("/Login/login_process.php",d);
	status = d.status;
	
}

```

the result is “undefined”. The username and password values do not seem to reach the php.

Any ideas on what I’m doing wrong?
